Yampi

Abandoned carts

GET
/v1/yampi/abandoned-carts

One row per cart the shopper started and did not finish (latest version): step where it was abandoned, totals, discounts, shipping, coupon, payment attempts, recovery e-mails and UTM attribution. A cart whose id is the cart_id of an order of the same store was recovered. customer_email is an organization-scoped pseudonym, empty for visitors and for anonymized customers. Dates are UTC.

dateFrom and dateTo filter by created_at (inclusive days, YYYY-MM-DD). Rows are sorted by id, store_key, inserted_at and paginated with page/limit; meta.hasNextPage says whether another page exists. Responses are cached for 30 minutes.

Authorization

ClientIdAuthClientSecretAuth
headerx-client-id<token>

Client ID

headerx-client-secret<token>

Client secret

Query Parameters

organizationId*string

Organization that owns the connected accounts.

Formatuuid
integrationId?string

One connected account of this integration (integration_id of the rows). Omit it to read every account of the organization.

Lengthlength <= 255
dateFrom?string

First day (inclusive) of created_at, YYYY-MM-DD.

Formatdate
dateTo?string

Last day (inclusive) of created_at, YYYY-MM-DD. Must not be before dateFrom.

Formatdate
page?integer

Page number, starting at 1.

Range1 <= value <= 1000000
Default1
limit?integer

Rows per page (max 5000).

Range1 <= value <= 5000
Default500

Response Body

One page of rows

application/json
  1. response
data*array<>
meta*
curl -X GET "https://example.com/v1/yampi/abandoned-carts?organizationId=3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b&dateFrom=2026-10-01&dateTo=2026-10-31"
{  "data": [    {      "id": "123456",      "merchant_id": "123456",      "customer_id": "123456",      "customer_email": "name@example.com",      "abandoned_step": "example",      "payment_alias": "example",      "total_transactions": 10,      "last_transaction_status": "example",      "has_refused_payment": true,      "recovery_mails_sent": 10,      "shipment_service_id": "123456",      "shipment_service": "example",      "promocode_id": "123456",      "promocode_code": "example",      "has_recommendation": true,      "is_upsell": true,      "items_count": 10,      "total_items": "125.50",      "value_subtotal": "125.50",      "value_discount": "125.50",      "value_shipment": "125.50",      "value_shipment_original": "125.50",      "value_shipment_discount": "125.50",      "value_promocode_discount": "125.50",      "value_progressive_discount": "125.50",      "value_combos_discount": "125.50",      "value_total": "125.50",      "source_platform": "example",      "utm_source": "example",      "utm_medium": "example",      "utm_campaign": "example",      "utm_term": "example",      "utm_content": "example",      "created_at": "2026-10-01T12:00:00.000Z",      "updated_at": "2026-10-01T12:00:00.000Z",      "store_key": "example",      "store_domain": "example",      "integration_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",      "organization_id": "3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b",      "organization_id_legacy": "example",      "user_id": "123456",      "document_id": "123456",      "inserted_at": "2026-10-01T12:00:00.000Z",      "integration_name": "example"    }  ],  "meta": {    "page": 1,    "limit": 500,    "hasNextPage": false,    "hasPreviousPage": false  }}