Logo
ActiveCampaign Developer Relations API Documentation

Retrieve all Orders

GET {{yourAccountUrl}}/api/3/ecomOrders?filters[connectionid]&filters[externalid]&filters[externalcheckoutid]&filters[email]&filters[state]&filters[customerid]&filters[external_created_date]&orders[connectionid]&orders[externalid]&orders[externalcheckoutid]&orders[email]&orders[state]&orders[customerid]&orders[external_created_date]

https://developers.activecampaign.com/reference/list-all-orders

 

Body PARAM

Key Datatype Required Description 
filters[connectionid]
null Filter by the connection id. Must be greater than 0.
filters[externalid]
null Filter by the external id of the order.
filters[externalcheckoutid]
null Filter by the external checkout id
filters[email]
null Filter by the customer email address.
filters[state]
null Filter by the state of the order. 0 = Pending, 1 = Completed, 2 = Abandoned, 3 = Recovered, 4 = Waiting (Customer checked out but payment is not yet completed)
filters[customerid]
null Filter by the customer id
filters[external_created_date]
null Filter by the external created date
orders[connectionid]
null Order by connection ID. Accepted values are ASC or DESC.
orders[externalid]
null Order by external ID. Accepted values are ASC or DESC.
orders[externalcheckoutid]
null Order by external checkout ID. Accepted values are ASC or DESC
orders[email]
null Order by email. Accepted values are ASC or DESC.
orders[state]
null Order by state. Accepted values are ASC or DESC.
orders[customerid]
null Order by customer ID. Accepted values are ASC or DESC
orders[external_created_date]
null Order by external created date. Accepted values are ASC or DESC



HEADERS

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




RESPONSES

status





Curl
curl -X GET '/api/3/ecomOrders?filters[connectionid]&filters[externalid]&filters[externalcheckoutid]&filters[email]&filters[state]&filters[customerid]&filters[external_created_date]&orders[connectionid]&orders[externalid]&orders[externalcheckoutid]&orders[email]&orders[state]&orders[customerid]&orders[external_created_date]?filters[connectionid]=&filters[externalid]=&filters[externalcheckoutid]=&filters[email]=&filters[state]=&filters[customerid]=&filters[external_created_date]=&orders[connectionid]=&orders[externalid]=&orders[externalcheckoutid]=&orders[email]=&orders[state]=&orders[customerid]=&orders[external_created_date]=' -H 'Api-Token: yourApiKey'

ENDPOINTS