Get Order Items
GET/v2/orders/:orderID/items
Use this endpoint to retrieve order items.
Request
Path Parameters
The ID of the order.
Responses
- 200
- 401
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
data object[]
The type represents the object being returned.
The unique identifier for this order item.
The quantity of this item were ordered.
The unique identifier for this order item.
The name of this order item.
The SKU code for the order item.
unit_price object
The amount for this item.
The currency this item.
Whether or not this price is tax inclusive.
value object
The amount for this item.
The currency this item.
Whether or not this price is tax inclusive.
discounts object[]
amount object
The amount for this item.
The currency this item.
Whether or not this price is tax inclusive.
meta object
display_price object
with_tax object
unit object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
value object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
without_tax object
unit object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
value object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
tax object
unit object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
value object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
discount object
unit object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
value object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
without_discount object
unit object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
value object
The raw total of this cart.
The currency set for this cart.
The tax inclusive formatted total based on the currency.
discounts object
property name* object
timestamps object
The date this was created.
The date this was last updated.
relationships object
cart_item object
data object
The type represents the object being returned.
The unique identifier for this item.
The unique identifier of the catalog associated with the product is shown if catalog_source=pim
is set.
The catalog source. Always pim
or legacy
.
{
"data": [
{
"type": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 0,
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"sku": "string",
"unit_price": {
"amount": 0,
"currency": "string",
"includes_tax": true
},
"value": {
"amount": 0,
"currency": "string",
"includes_tax": true
},
"discounts": [
{
"amount": {
"amount": 0,
"currency": "string",
"includes_tax": true
},
"code": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"links": {},
"meta": {
"display_price": {
"with_tax": {
"unit": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"value": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"without_tax": {
"unit": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"value": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"tax": {
"unit": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"value": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"discount": {
"unit": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"value": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"without_discount": {
"unit": {
"amount": 0,
"currency": "string",
"formatted": "string"
},
"value": {
"amount": 0,
"currency": "string",
"formatted": "string"
}
},
"discounts": {}
},
"timestamps": {
"created_at": "string"
}
},
"relationships": {
"cart_item": {
"data": {
"type": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
},
"catalog_id": "string",
"catalog_source": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}