> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blink.store/llms.txt
> Use this file to discover all available pages before exploring further.

# Recover an Abandoned Cart

> This endpoint triggers a recovery email for an abandoned cart specified by the `id` path parameter. It verifies the cart belongs to the store using the `x-store-id` header. If the cart has already been recovered, it returns an error. Otherwise, it generates a recovery URL and sends a recovery email. The recovery email attempts are incremented regardless of email success.



## OpenAPI

````yaml /api-reference/growth-api.json post /abandoned-carts/{id}/recover
openapi: 3.0.0
info:
  title: Growth API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
paths:
  /abandoned-carts/{id}/recover:
    post:
      tags:
        - Abandoned Carts
      summary: Recover an Abandoned Cart
      description: >-
        This endpoint triggers a recovery email for an abandoned cart specified
        by the `id` path parameter. It verifies the cart belongs to the store
        using the `x-store-id` header. If the cart has already been recovered,
        it returns an error. Otherwise, it generates a recovery URL and sends a
        recovery email. The recovery email attempts are incremented regardless
        of email success.
      parameters:
        - name: id
          in: path
          required: true
          description: ID of the abandoned cart.
          schema:
            type: string
      responses:
        '201':
          description: Recovery email successfully triggered.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CartRecoveryResponse'
      security:
        - storeIdHeader: []
components:
  schemas:
    CartRecoveryResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            cart_id:
              type: string
            customer_email:
              type: string
            recovery_emails_sent:
              type: integer
            recovery_url:
              type: string
            email_sent:
              type: boolean
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````