Place a new order from the abandoned cart
Last updated
Was this helpful?
Last updated
Was this helpful?
If you already have an abandoned cart left by a client, you can place it as an order with an API call:
Such orders cannot be paid online, so we recommend using this method for pickup orders with in-store payment (offline payment methods) only.
To place an order from the cart left by a customer, you need to find the abandoned cart ID.
If you know the customer's email, use the following example:
Change STOREID
with your store ID, EMAIL
with the customer's email, and the secret_token
with the secret access token of your app.
In response, you'll receive a JSON with matching cart IDs and dateimes:
If you can't identify a specific cart by the datetime, add more fields to responseFields
list or remove the param to get full cart details.
Upon receiving the cartId
, use it to place the abandoned cart as an order with the following API call:
Change STOREID
with your store ID, CARTID
with the abandoned cart ID received in the previous request, and the secret_token
with the secret access token of your app.
In response, you'll receive the ID of the new order:
where:
id
– Order ID visible to the store owner and customers in Ecwid admin and notifications.
orderNumber
and vendorOrderNumber
– Deprecated fields for old applications. Use id
field instead.
Find all supported query params for searching abandoned carts in the .