GET /items/:id
Status codes
200on success404on item not found
Response properties
id: The item identifiercategory: The ID of the categoryname: The name of the Itemaccount_code: Optional string with the account code (optional)vessel: The vessel object: (optional)size: Size of the vessel in the specified unitunit: One of"l","dl","cl","ml","kg","g"or"quantity"display_unit: When set, the vessel will be always converted to this unit when displayed. One of"kg","l","dl","cl"(optional)type: See vessel and bundle types (optional)
suppliercontains information about the supplier: (optional)id: The id of the supplierreference: The supplier reference for this item (optional)
bundles: The array of bundle objects: (optional)type: See vessel and bundle typessize: The number of vessels in the bundle, or the number of bundles on the pallet iftypeis"PX"unit: Set tog, if the bundle is by weight (optional)pallet_bundle: Only iftypeis"PX". Specifies the bundle on the pallet:type: See vessel and bundle typessize: The number of vessels in the bundle
price: The integer price in cents (optional)price_per: One of"vessel","l","kg"or"100g"(optional)order_by: One of"vessel"or"kg"(optional)count_fractions: Expresses how fractional counts will be represented. Can be one of"l","dl","cl","ml","kg","g","quantity","quarters","decimal","none"(optional)links: Object for replacement links with two properties: (optional)replacement: The id of the item that is replacing this item (optional)replaces: An array of ids of items this item is replacing (optional)
master_data_locked: Either not defined or Booleantrue. Master data is locked once the item is in stock. If it is true,vesselandorder_bycannot be changed anymore. (optional)archived: The timestamp of when the item was archived. (optional)deleted: The timestamp of when the item was deleted. (optional)
Example response
{
"id": "itm_oh0IyIjqvd",
"category": "cat_KaNDv51Gh0",
"name": "Vodka",
"vessel": {
"size": 7,
"unit": "dl",
"type": "BO"
},
"bundles": [
{
"type": "CT",
"size": 6
}
],
"price": 750,
"supplier": {
"id": 1693919950079,
"reference": "1100992"
}
}