Logo
ActiveCampaign Developer Relations API Documentation

Create Abandoned Cart

POST {{yourAccountUrl}}/api/3/ecomOrders

https://developers.activecampaign.com/reference/e-commerce-abandoned-carts

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Api-Token
string Your ActiveCampaign API Token




RESPONSES

status





Curl
curl -X POST '/api/3/ecomOrders' -H 'Api-Token: yourApiKey' -d '{"ecomOrder":{"externalcheckoutid":"3246315233","abandoned_date":"2016-09-15T17:41:39-04:00","source":"1","email":"alice@example.com","orderProducts":[{"externalid":"PROD12345","name":"Pogo Stick","price":4900,"quantity":1,"category":"Toys","sku":"POGO-12","description":"lorem ipsum...","imageUrl":"https://example.com/product.jpg","productUrl":"https://store.example.com/product12345"},{"externalid":"PROD23456","name":"Skateboard","price":3000,"quantity":1,"category":"Toys","sku":"SK8BOARD145","description":"lorem ipsum...","imageUrl":"https://example.com/product.jpg","productUrl":"https://store.example.com/product45678"}],"orderDiscounts":[{"name":"1OFF","type":"order","discountAmount":100}],"externalCreatedDate":"2016-09-13T17:41:39-04:00","externalUpdatedDate":"2016-09-14T17:41:39-04:00","shippingMethod":"UPS Ground","totalPrice":9111,"shippingAmount":200,"taxAmount":500,"discountAmount":100,"currency":"USD","orderNumber":"myorder-123","connectionid":"1","customerid":"1"}}'

ENDPOINTS