Purchases
Get purchase items tied to a purchase
Get information about all purchase items created in relation to a specific purchase.
get/purchases/{purchase_id}/purchase-items
Path parameters
purchase_idstring required
The unique ID of the purchase.
Query parameters
countinteger
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
offsetinteger
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
sort_fieldstring
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
sort_direction'ASC' | 'DESC'
Direction of sorting the response list.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"purchase_items": [
{
"purchase_item_id": "84b757641df03b1529c2c7f66c",
"product_id": "89b3b24b405f461c63d8fcaa0c",
"product_name": "Apple Watch Ultra 2",
"product_group_id": "82de12eb8b138791e678fd11c3",
"product_group_name": "Smart watch",
"product_brand_id": "82db62087b0f79a6e14e5747e7",
"product_brand_name": "Apple",
"purchase_item_type_id": "86e05affc7a7abefcd513ab400",
"price": 1.99,
"additional_properties": [
{
"property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
"property_id": "docasna_blokace_darce_do",
"property_name": "Property #6",
"last_change": "2023-02-02 00:00:00"
}
]
}
],
"total_items": 1
}
}