Menu
Get Order Items
Get Order Items
GET
/v2/orders/{orderID}/itemsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Order Items action (under Carts).
- Fill in the fields below, then reference the result from later steps as
{{getOrderItems.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getOrderItems.response.data.<field>}}.
{
"data": [
{
"type": "string",
"id": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"product_id": "00000000-0000-0000-0000-000000000000",
"subscription_offering_id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"sku": "string",
"location": "string",
"unit_price": {
"amount": 0,
"currency": "string",
"includes_tax": false
},
"value": {
"amount": 0,
"currency": "string",
"includes_tax": false
},
"discounts": [
{
"amount": {
"amount": 0,
"currency": "string",
"includes_tax": false
},
"code": "string",
"id": "00000000-0000-0000-0000-000000000000",
"promotion_source": "string",
"is_cart_discount": false,
"ordinal": 0,
"promotion_action_id": "string"
}
],
"links": {}
}
],
"included": {
"tax_items": [
{
"type": "string",
"id": "00000000-0000-0000-0000-000000000000",
"jurisdiction": "string",
"code": "string",
"name": "string",
"rate": 0,
"amount": 0
}
],
"custom_discounts": [
{
"type": "string",
"id": "00000000-0000-0000-0000-000000000000",
"external_id": "string",
"discount_engine": "string",
"amount": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"description": "string",
"discount_code": "string",
"relationships": {
"item": {
"data": {
"id": null,
"type": null
}
}
}
}
],
"promotions": [
{
"type": "string",
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"description": "string",
"automatic": false,
"promotion_type": "string",
"promotion_source": "string",
"start": "2025-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z"
}
]
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?