Menu
Get Customer Orders
Get all Orders
GET
/v2/ordersUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Customer Orders action (under Carts).
- Fill in the fields below, then reference the result from later steps as
{{getCustomerOrders.response.data}}.
Request
Query parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getCustomerOrders.response.data.<field>}}.
{
"data": [
{
"type": "string",
"order_number": "string",
"external_ref": "string",
"id": "00000000-0000-0000-0000-000000000000",
"status": "complete",
"payment": "authorized",
"shipping": "unfulfilled",
"anonymized": false,
"payment_intent_id": "string",
"custom_attributes": {},
"links": {},
"meta": {
"timestamps": {
"created_at": "string",
"updated_at": "string",
"fully_paid_at": "string"
},
"display_price": {
"with_tax": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"without_tax": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"tax": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"discount": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"balance_owing": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"paid": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"authorized": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"without_discount": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"shipping": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"shipping_discount": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"is_manual": false
}
}
],
"links": {
"current": "string",
"first": "string",
"last": "string",
"next": "string",
"prev": "string"
},
"meta": {
"page": {
"current": 0,
"limit": 0,
"offset": 0,
"total": 0
},
"results": {
"total": 0
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?