E-Commerce abandoned cart resources represent abandoned carts in an external e-commerce service such as Shopify. The API allows you to create abandoned cart resources. Before you can create any abandoned carts, you must have created a connection resource for the e-commerce service and a customer resource for the customer who abandoned the cart.
The automation start Abandons cart will only trigger if the E-Commerce order source is from a realtime webhook
ecomOrder.source = 1
. For more information please read this article.
To create an abandoned cart, use the same API as creating an order, but rather than include an externalid
, include an externalcheckoutid
and abandoned_date
.
To mark an existing abandoned cart as recovered, update the existing cart and include an externalid
.