Logo
ActiveCampaign Developer Relations API Documentation

Update an Order

PUT {{yourAccountUrl}}/api/3/ecomOrders/:ecomOrderId

https://developers.activecampaign.com/reference/update-order

 

Body PARAM

Key Datatype Required Description 



HEADERS

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




RESPONSES

status





Curl
curl -X PUT '/api/3/ecomOrders/:ecomOrderId' -H 'Api-Token: yourApiKey' -d '{"ecomOrder":{"externalid":"3246315237","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}],"externalUpdatedDate":"2016-09-15T17:41:39-04:00","shippingMethod":"UPS Ground","totalPrice":9111,"shippingAmount":200,"taxAmount":500,"discountAmount":100,"currency":"USD","orderNumber":"12345-1"}}'

ENDPOINTS