Skip to content

The Abandoned Cart entity at YouCan.

A cart is flagged as abandoned 10 minutes after the customer's last activity, when it still has items and was created in the last 24 hours. Carts with no activity for 30 days are deleted.

Attribute NameTypeDescription
idstringIdentifier (UUID)
reminders_countintegerNumber of reminder emails sent for this cart
is_recoveredbooleanWhether the cart was converted to an order after a reminder
recovered_order_idstring, nullOrder the cart was recovered into
recovered_atinteger, nullRecovery date (Unix timestamp)
extra_fieldsobject, nullCheckout fields the customer filled in
created_atintegerCreation date (Unix timestamp)
updated_atintegerLast update date (Unix timestamp)
itemsarrayCart items, see below
customerCustomerThe customer, [] when the cart has none
shipping_addressAddressShipping address, [] when not set
billing_addressAddressBilling address, [] when not set

Cart item ​

Attribute NameTypeDescription
idstringIdentifier (UUID)
product_variant_idstringProduct variant in the cart
pricefloatUnit price when the item was added
quantityintegerQuantity
extra_fieldsobject, nullExtra fields sent with the item
created_atintegerCreation date (Unix timestamp)
updated_atintegerLast update date (Unix timestamp)
variantobjectThe product variant: id, product_id, variations, price, compare_at_price, sku, barcode, inventory, image