Get Abandoned Cart Details
GET
v1/managers/store/abandoned-carts/{cart-id}This endpoint fetches comprehensive details about an abandoned cart, identified
by its unique ID. An abandoned cart is a shopping cart to which items have been added
but is left incomplete by the customer. A cart is marked as abandoned after
10 minutes of inactivity.
Along with detailed information about the cart and its contents, this endpoint provides
the url
field, which is the direct link to the abandoned cart. This enables merchants
to easily retarget customers with a direct link to their uncompleted purchase,
enhancing the chances of converting these abandoned carts into completed transactions.
The response also includes the customer's name and contact details, providing additional context
for retargeting efforts and potential follow-up communications.
The response conforms to the Abandoned Cart schema, providing comprehensive details
of the cart, its associated customer, and the products within it.
abandoned_carts.read
- Abandoned Carts Read
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en
if not specified.
Request samples
Responses
The status of the request.
Details of the abandoned cart.
Unique identifier for the abandoned cart.
URL to access the abandoned cart and continue the checkout process. This is crucial for re-engaging customers.
Unique identifier for the store.
Name of the store.
URL of the store's logo.
URL of the store.
Number of products in the abandoned cart.
List of products in the abandoned cart.
History of actions related to the abandoned cart.
Indicates the current stage of the transaction or process.
A unique identifier for the customer.
The full name of the customer.
The email address of the customer.
The customer's mobile phone number.
The number of reminders sent to the customer regarding the transaction or payment.
The total cost of items in the cart, represented as a floating-point number.
The total cost of items in the cart, formatted as a string with the currency (e.g., "SAR").
Timestamp when the cart was created.
Timestamp when the cart was last updated.
Message related to the request status.
Type of the message.
Code associated with the message.
Name of the message.
Detailed description of the message.
{
"status": "object",
"abandoned_cart": {
"id": "0b130951b-5a6b-4420-beca-0b130951bff0",
"url": "https://storeurl.com/checkout/fromBasket/43515:0b130951bffb757bc51efbda",
"store_id": "83e0499c-85ec-440e-9200-6b94f7ab58c6",
"store_name": "store name",
"store_logo": "https://media.zid.store/83e0499c-85ec-440e-9200-6b94f7ab58c6/c1c2952f-a9b3-42d9-be8b-8e5e6ad68150-200x.png",
"store_url": "https://storeurl.com/",
"products_count": 1,
"products": [
{
"id": 900584062,
"product_id": "0b00ssx2ee9c3141c4cd0d955dce5deb8c",
"product_url": "https://storeurl.com/products/0b00ssx2ee9c3141c4cd0d955dce5deb8c",
"sku": "HJRMR0500R",
"name": "AlSamra honey ",
"custom_field": [],
"price": 239.000935,
"price_string": "239.00 SAR",
"additions_price": 0,
"additions_price_string": "0.00 SAR",
"quantity": 1,
"total": 239.000935,
"total_string": "239.00 SAR",
"images": [
{
"id": "147d0aea-b708-49f7-bdee-c1cd940f6f1d",
"origin": "https://media.zid.store/thumbs/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d-thumbnail-500x500-70.jpg",
"thumbs": {
"fullSize": "https://media.zid.store/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d.jpg",
"thumbnail": "https://media.zid.store/thumbs/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d-thumbnail-370x370-70.jpg",
"small": "https://media.zid.store/thumbs/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d-thumbnail-500x500-70.jpg",
"medium": "https://media.zid.store/thumbs/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d-thumbnail-770x770-70.jpg",
"large": "https://media.zid.store/thumbs/83e0499c-85ec-440e-9200-6b94f7ab58c6/147d0aea-b708-49f7-bdee-c1cd940f6f1d-thumbnail-1000x1000-70.jpg"
}
}
]
}
],
"city": {
"id": 71,
"national_id": 18,
"name": "Jeddah",
"priority": 9,
"country_id": 184,
"country_name": "Saudi Arabia",
"country_code": "SA",
"ar_name": "جدة",
"en_name": "Jeddah"
},
"order_id": null,
"history": [
{
"uuid": "becacc4a-5645-beca-925b-cda89beca5bf",
"abandoned_cart_id": "936beca-5a6b-4420-beca-0b144201bff0",
"type": "Created Successfully",
"created_at": "2025-01-13T06:20:24.000000Z",
"updated_at": "2025-01-13T06:20:24.000000Z"
},
{
"uuid": "becacc4a-5645-beca-925b-cda89beca5bf",
"abandoned_cart_id": "936beca-5a6b-4420-beca-0b144201bff0",
"type": "Created Successfully",
"created_at": "2025-01-13T06:17:34.000000Z",
"updated_at": "2025-01-13T06:17:34.000000Z"
},
{
"uuid": "becacc4a-5645-beca-925b-cda89beca5bf",
"abandoned_cart_id": "936beca-5a6b-4420-beca-0b144201bff0",
"type": "Created Successfully",
"created_at": "2025-01-13T06:14:51.000000Z",
"updated_at": "2025-01-13T06:14:51.000000Z"
},
{
"uuid": "becacc4a-5645-beca-925b-cda89beca5bf",
"abandoned_cart_id": "936beca-5a6b-4420-beca-0b144201bff0",
"type": "Created Successfully",
"created_at": "2025-01-13T06:19:24.000000Z",
"updated_at": "2025-01-13T06:19:24.000000Z"
},
{
"uuid": "becacc4a-5645-beca-925b-cda89beca5bf",
"abandoned_cart_id": "936beca-5a6b-4420-beca-0b144201bff0",
"type": "Created Successfully",
"created_at": "2025-01-13T06:18:34.000000Z",
"updated_at": "2025-01-13T06:18:34.000000Z"
}
],
"phase": "payment_method",
"customer_id": 000000000,
"customer_name": "test customer name",
"customer_email": "testemail@gmail.com",
"customer_mobile": "966555555555",
"reminders_count": 0,
"cart_total": 239.0009,
"cart_total_string": "239.00 SAR",
"created_at": "2025-01-13 06:10:48",
"updated_at": "2025-01-13 06:12:44"
},
"message": {
"type": "object",
"code": null,
"name": null,
"description": null
}
}