Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Carts
  • Start Here ๐Ÿš€
  • Overview to Zid Apps
  • Authorization
  • Responses
  • Webhooks
  • Rate Limiting
  • APIs
    • Orders
      • Update Order by ID
      • Get Order Credit Notes
      • Get Order by ID
      • List of Orders
    • Reverse Orders
      • Reverse Order Reasons
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
    • Carts
      • Get Abandoned Cart Details
        GET
      • List Abandoned Carts
        GET
    • Products
      • Managing Products
        • Get a Product by ID
        • Retrieve a list of products
        • Create a new product
        • Update an existing product.
        • Bulk update of products using their IDs or SKUs
        • Delete a product.
        • Product Setting
      • Digital Vouchers
        • Product Vouchers
        • Order Voucher
        • Add Product Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Product Voucher
        • Remove Product Voucher
      • Product Categories
        • Get Single Category Details
        • Get all categories
        • Create Store Category
        • Update a Store Category
        • Add a product to a certain category
        • Publish/Unpublish a Category
        • Detach Category from All Products
        • Remove Category from Product
      • Product Badge
        • Product Badge
      • Product Attributes
        • Get Product Attributes
        • Get Product Attributes
        • Retrieve a product attribute
        • Add a New Product Attribute
        • Add a New Product Attribute
        • Update a product attribute
        • Delete a product attribute
      • Product Attribute Presets
        • Get attribute presets
        • Create Attribute Preset
        • Update Attribute Preset
        • Delete an attribute preset
      • Product Customizations
        • Add Product Variants
        • Insert Custom Options to a Product
        • Insert Custom User-Input Fields to a Product
      • Product Manual Sorting
        • Set Custom Product Order
        • Reset the manual sorting of all products
      • Product Images
        • Get List of images of a product.
        • Add an image to a product
        • Update a product Image Order
        • Delete a product image
      • Product Notifications
        • Availability Notification Stats
        • Availability Notifications Settings
        • List Availability Notifications
        • Add Availability Notification
        • Save Availability Notifications Settings
        • Manually Send Availability Notification Email
        • Export Availability Notifications
      • Product Import
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock (Multi-Inventory)
        • Get Product Stock by ID
        • List Product Stocks
        • Add Product Stock
        • Update Single Product Stock
        • Bulk Update Product Stocks
      • Product Questions & Answers
        • Get Question
        • Get Answer
        • Get All Questions
        • List Question Answers
        • Create Question
        • Create Answer
        • Update Question
        • Update Answer
        • Delete Question
        • Delete Answer
      • Product Reviews
        • List Reviews
        • New Reviews Total
      • Digital Products
        • Create Downloadable Product
        • Generate an Upload URL
        • Upload File to S3
        • Create Product Downloadables
        • Get Product Downloadables
        • Delete Product Downloadables
        • Get Store Downloadables
        • Create Store Downloadables
        • Delete Store Downloadables
    • Inventories
      • Get Store Location by ID
      • List Store Locations
      • Add a New Location
      • Update a Location by ID
      • Update Products Stock by Location ID
    • Shipping
      • List Store Delivery Options
      • Add Shipping Option
    • Marketing
      • Gift Cards
        • Get Store Settings
        • Add gift card to the cart
        • Update Store Settings
        • Upload gift card designs
        • Remove gift card from the cart
      • Coupons
        • Create a New Coupon
        • List Coupons
        • Get Coupon Details
        • Update Coupon
        • Delete Coupon
      • Bundle Offers
        • Retrieve all Bundle Offers
      • Loyalty Program
        • Loyalty Program Points per Order
        • Store Loyalty Status
        • Info Page
        • Loyalty Program Activation
        • Loyalty Status
        • Set Points Expiration
        • Cashback Rule Method Update
        • Cashback Rule Method Update Status
        • Add Points Redemption Method
        • Update Points Redemption Method
        • Delete Points Redemption Method
        • Toggle Redemption Method Status
        • Show Loyalty Points Info for Specific Customer
        • Customer Profile
        • List Data
        • Customer Points History
        • Info Page - Managers
        • Update Info Page
        • Adjust Customer Points
    • Customers
      • List of Customers
      • Get Customer by ID
    • Store Settings
      • ๐Ÿ“„ User Roles and Permissions
      • Get Manager's Profile
      • Get VAT Settings
      • List of Payment Method
    • Countries and Cities
      • Retrieve Store Operating Countries
      • Retrieve Cities by Country ID
      • Countries List
    • Webhook
      • List of Webhooks
      • Create a Webhook
      • Delete a Webhook by OriginalId
      • Delete a Webhook by Subscriber
  • Store Events
    • Order
    • Product
    • Abandoned Cart
    • Customer
    • Product Category
  1. Carts

List Abandoned Carts

GET
https://api.zid.sa/v1/managers/store/abandoned-carts
Abandoned Carts
Retrieves a list of abandoned carts for a given store.
Each entry in the list provides a brief overview of the abandoned cart,
including essential details such as the cart ID, customer information, total value, and a unique URL for retargeting.
Abandoned carts are identified when a user adds products to their online shopping cart but
does not proceed to checkout and complete the purchase within 10 minutes of inactivity.
For retargeting purposes, each abandoned cart object includes a url field, which is the direct link
to the specific abandoned cart. This URL, along with customer name and contact details provided in the response,
facilitates effective retargeting strategies by merchants.
You can filter the list by date, phase, and the total number of carts.
For a detailed view of a specific cart, including product details
and additional customer information, refer to the
Get Abandoned Cart Details
endpoint using the cart's unique ID.
๐Ÿ”‘Scopes
abandoned_carts.read - Abandoned Carts Read

Request

Query Params
page
numberย 
required
pagination, number of page for every call.
Example:
5
page_size
numberย 
required
number of records for every page with max 100 records.
Example:
10
phase
enum<string>ย 
optional
The ordering phase in which the cart was abandoned.
Allowed values:
newloginshipping_addressshipping_methodpayment_methodverificationcompleted
Example:
new
search_term
stringย 
optional
products_count
numberย 
optional
date_from
stringย 
optional
example: '2021-01-01'
date_to
stringย 
optional
example: '2021-01-01'
cart_total
numberย 
optional
Header Params
Authorization
stringย 
required
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.
Example:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxMTciLCJqdGkiOiJhMTg5ZTg3MmYxMzhkMWVhYjU5MjVkMDkyMGE5NmI0YjliNjg0Y2E2ZTdmM2M2MjljZWYxNmQ4NDJjMmJlYmVhMjI4YTdmMTA0ZWQ4NWE5NCIsImlhdCI6MTY3OTU3Njk5OS41NjY4NzcsIm5iZiI6MTY3OTU3Njk5OS41NjY4OCwiZXhwIjoxNzExMTk5Mzk5LjQ4NjE1Mywic3ViIjoiMTgyNDc1Iiwic2NvcGVzIjpbInRoaXJkLXBhcnRpZXMtYXBpcyJdfQ.i07ef09nVNXGZF-g-QXpNoS2vlFQK_zntAqAMS4Az2XD2EyMLhxLZZRL-QlR11zUPqMmXjMAl_4ooKa3M3zkfZQ6Ga6qStvamk8RnC_39VUx0lfN2A4k65ERZpqwrMy6-t3dE99zay3aicIdNvbgi0zeuMSE5Tn99u-2AtSRa8ffbfAcYPPXacHrhdmlYzdiZS_x_skovFEow1E-nDjdL1WHqO92XdZ7RfNLkiYFTjZlZmM_UruvioaR3q6TXJbqRK_ZrziivezL8ohIQ2SBosUp58I29rlKzvlw_R2j0rKKYZbdxYDaxAHOISmOFKAlO66k7dNevAHI3s4uGIjoGA6ZXHknccWPLLLiaAQ0r64HV8GowW5dg2rhZNurJGDTnLlBQ6F-ql42ptHzSAfzzi576CEoN3gMVpgXcbntUY3reETkFsTBPUjeSuMpANMioXAA0GRp3Ut-84fTnrWxqsCW1WVUIx33HvmfCGPXIdkaCCWoA6G6KXo04MtFbKXQmXkK9esQWI-rqdVnMD3zSR3g3yFHZSL1U-mZeNja03706Rav1ordsRNOtRwtLuoRRbk9KasbUpEwqq4Ao9lqZZwRIjdEw-pQtnUT8V53fhmuuRIefCLFO7eGEtGUnh9o6Uh_pgi6AB6uSlnN9GEMGgI1alqvMmTjxvC-HHt0V-Y
X-Manager-Token
stringย 
required
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.
Example:
eyJpdiI6Imh3L2dGbmJmRnVCOUY4WW5WQ2s3RFE9PSIsInZhbHVlIjoiZklpRnJyVGV1OWcrZUJBNk44bVp5SjZzSS92V3czcTJjbnJ2dFYvenZ3SFBtWHNSMFU3ZEMzZ0ZJNnpucVE4Ui9rNFdicUduOGpKUlg1VXdGOFFIaVUzZjZyUUZybWx3R0tNY3orUmxoUUUxQ29wSkEyVDZTVnVYb2dlUXJSVzBYVkdESjBpS0xiN05Hbndzc2wzV2N0YitGM1NEdkk4ckZZOTZsTFdEL1ZQRlJJTE5FQmttZng2elpwL1RCeXFRdUd1U3JTc0FHV1kySS80RFJaWlIyZ3gwM2FsQVRFbkt3VWtFOUQyKzdGOD0iLCJtYWMiOiJmZDQ0YzM4ODE0OWQxOWRhYWU0NDhhYmIzYzQ1MDAxMDAzODZjZGM3ZGM4NGJhMGNkMDEyYWZlM2UzYjAxMTI4IiwidGFnIjoiIn0=
Accept-Language
enum<string>ย 
optional
Preferred language for the response. Defaults to en if not specified.
Allowed values:
enar
Example:
en

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.zid.sa/v1/managers/store/abandoned-carts?page&page_size&phase&search_term&products_count&date_from&date_to&cart_total' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxMTciLCJqdGkiOiJhMTg5ZTg3MmYxMzhkMWVhYjU5MjVkMDkyMGE5NmI0YjliNjg0Y2E2ZTdmM2M2MjljZWYxNmQ4NDJjMmJlYmVhMjI4YTdmMTA0ZWQ4NWE5NCIsImlhdCI6MTY3OTU3Njk5OS41NjY4NzcsIm5iZiI6MTY3OTU3Njk5OS41NjY4OCwiZXhwIjoxNzExMTk5Mzk5LjQ4NjE1Mywic3ViIjoiMTgyNDc1Iiwic2NvcGVzIjpbInRoaXJkLXBhcnRpZXMtYXBpcyJdfQ.i07ef09nVNXGZF-g-QXpNoS2vlFQK_zntAqAMS4Az2XD2EyMLhxLZZRL-QlR11zUPqMmXjMAl_4ooKa3M3zkfZQ6Ga6qStvamk8RnC_39VUx0lfN2A4k65ERZpqwrMy6-t3dE99zay3aicIdNvbgi0zeuMSE5Tn99u-2AtSRa8ffbfAcYPPXacHrhdmlYzdiZS_x_skovFEow1E-nDjdL1WHqO92XdZ7RfNLkiYFTjZlZmM_UruvioaR3q6TXJbqRK_ZrziivezL8ohIQ2SBosUp58I29rlKzvlw_R2j0rKKYZbdxYDaxAHOISmOFKAlO66k7dNevAHI3s4uGIjoGA6ZXHknccWPLLLiaAQ0r64HV8GowW5dg2rhZNurJGDTnLlBQ6F-ql42ptHzSAfzzi576CEoN3gMVpgXcbntUY3reETkFsTBPUjeSuMpANMioXAA0GRp3Ut-84fTnrWxqsCW1WVUIx33HvmfCGPXIdkaCCWoA6G6KXo04MtFbKXQmXkK9esQWI-rqdVnMD3zSR3g3yFHZSL1U-mZeNja03706Rav1ordsRNOtRwtLuoRRbk9KasbUpEwqq4Ao9lqZZwRIjdEw-pQtnUT8V53fhmuuRIefCLFO7eGEtGUnh9o6Uh_pgi6AB6uSlnN9GEMGgI1alqvMmTjxvC-HHt0V-Y' \
--header 'X-Manager-Token: eyJpdiI6Imh3L2dGbmJmRnVCOUY4WW5WQ2s3RFE9PSIsInZhbHVlIjoiZklpRnJyVGV1OWcrZUJBNk44bVp5SjZzSS92V3czcTJjbnJ2dFYvenZ3SFBtWHNSMFU3ZEMzZ0ZJNnpucVE4Ui9rNFdicUduOGpKUlg1VXdGOFFIaVUzZjZyUUZybWx3R0tNY3orUmxoUUUxQ29wSkEyVDZTVnVYb2dlUXJSVzBYVkdESjBpS0xiN05Hbndzc2wzV2N0YitGM1NEdkk4ckZZOTZsTFdEL1ZQRlJJTE5FQmttZng2elpwL1RCeXFRdUd1U3JTc0FHV1kySS80RFJaWlIyZ3gwM2FsQVRFbkt3VWtFOUQyKzdGOD0iLCJtYWMiOiJmZDQ0YzM4ODE0OWQxOWRhYWU0NDhhYmIzYzQ1MDAxMDAzODZjZGM3ZGM4NGJhMGNkMDEyYWZlM2UzYjAxMTI4IiwidGFnIjoiIn0=' \
--header 'Accept-Language;'

Responses

๐ŸŸข200List of Abandoned Carts with brief details.
application/json
Body
Brief representation of an abandoned cart as seen in the response to the [List Abandoned Carts](../reference/merchant-api.yaml/paths/~1managers~1store~1abandoned-carts/get) endpoint. This version provides a concise overview of the cart without all the detailed properties. To get a detailed version of a certain cart, use the [Get Abandoned Cart Details](../reference/merchant-api.yaml/paths/~1managers~1store~1abandoned-carts~1{cart-id}/get) endpoint.
id
stringย 
optional
Unique identifier for the abandoned cart.
Example:
18a40fc6-2381-4ab2-9f72-467e6c39a599
store_id
stringย 
optional
Unique identifier for the store.
Example:
3dfc16e6-ad19-4126-9c2a-5e4a7fb73051
session_id
stringย 
optional
Session identifier for the abandoned cart.
Example:
WS56eLg6j2J2KAFB6KkX0B3uJSs3oINu
url
stringย 
optional
URL to access the abandoned cart and continue the checkout process. This is crucial for re-engaging customers.
Example:
https://store.zidtest.com/checkout/fromBasket/WS56eLg6j2J2KAFB6KkX0B3uJSs3oINu
cart_id
stringย 
optional
Cart identifier.
Example:
237245
order_id
integerย 
optional
Unique identifier for the order associated with the abandoned cart, if any.
Example:
12675
phase
stringย 
optional
Current phase of the abandoned cart. This indicates the last step the customer reached before abandoning the cart.
The phases are as follows:
completed: The cart has been converted into an order.
shipping_address: The customer has provided a shipping address.
verification: The customer is in the verification process.
shipping_method: The customer has chosen a shipping method.
new: The cart has been recently created but no further action has been taken.
login: The customer is prompted to log in or register.
payment-method: The customer has selected a payment method but has not completed the purchase.
customer_id
integerย 
optional
Unique identifier for the customer.
Example:
6
customer_name
stringย 
optional
Name of the customer.
Example:
Abdul Rahman
customer_email
stringย 
optional
Email address of the customer.
Example:
abdulrahman3344@gmai.com
customer_mobile
stringย 
optional
Mobile number of the customer.
Example:
966500000005
city_id
integerย 
optional
Identifier for the city associated with the customer's address.
Example:
1
products_count
integerย 
optional
Number of products in the abandoned cart.
Example:
1
reminders_count
integerย 
optional
Number of reminders sent for the abandoned cart.
Example:
11
cart_total
numberย <float>
optional
Total value of the abandoned cart.
Example:
11.5
cart_total_string
stringย 
optional
Total value of the abandoned cart in string format with currency.
Example:
11.50 SAR
whatsapp_message
stringย 
optional
Custom message from the merchant to the customer regarding the abandoned cart items.
created_at
stringย <date-time>
optional
Timestamp when the cart was created.
Example:
2023-07-12 08:17:02
updated_at
stringย <date-time>
optional
Timestamp when the cart was last updated.
Example:
2023-07-19 09:01:18
source
stringย 
required
Indicating the source or channel of the order. This can be one of several predefined values:
catalog: Order was made through a product catalog or online storefront.
mobile_app: Order was made through the store's mobile application.
Example:
catalog
Example
{
  "id": "18a40fc6-2381-4ab2-9f72-467e6c39a599",
  "store_id": "3dfc16e6-ad19-4126-9c2a-5e4a7fb73051",
  "session_id": "WS56eLg6j2J2KAFB6KkX0B3uJSs3oINu",
  "url": "https://store.zidtest.com/checkout/fromBasket/WS56eLg6j2J2KAFB6KkX0B3uJSs3oINu",
  "cart_id": "237245",
  "order_id": 12675,
  "phase": "string",
  "customer_id": 6,
  "customer_name": "Abdul Rahman",
  "customer_email": "abdulrahman3344@gmai.com",
  "customer_mobile": "966500000005",
  "city_id": 1,
  "products_count": 1,
  "reminders_count": 11,
  "cart_total": 11.5,
  "cart_total_string": "11.50 SAR",
  "whatsapp_message": "string",
  "created_at": "2023-07-12 08:17:02",
  "updated_at": "2023-07-19 09:01:18",
  "source": "catalog"
}
Modified atย 2025-02-15 18:57:19
Previous
Get Abandoned Cart Details
Next
Products
Built with