latestOpenAPI 3.1.02026-08-21911,278875.0 KB
93b2eed71a61
Items
Update Item by ID
Modifies the values of an existing item.
put/items/v1/items/{id}
Path parameters
idinteger required
The unique identifier for the item.
Example:141948669132862
Request body
Example request
{
"name": "Burger",
"businessLocationId": 45454565682155,
"docketName": "The Burger",
"sku": "UGG-BB-PUR-06",
"active": true,
"barcode": "10011101100",
"barcodes": [
"10011101100"
],
"accountingGroupId": 462478248241,
"costPrice": 5,
"defaultPrice": 10,
"priceMode": "PERCENT"
}Response
Item updated
Example response
{
"id": 3012455645,
"name": "Burger",
"docketName": "The Burger",
"sku": "UGG-BB-PUR-06",
"active": true,
"barcode": "00000001",
"barcodes": [
"10011101100"
],
"accountingGroup": {
"id": 40570261078058,
"name": "Alcoholic beverages"
},
"statisticGroups": [
{
"category": "default",
"value": "Food"
}
],
"costPrice": 5,
"prices": [
{
"amount": 10,
"name": "Tuesday Special"
}
],
"sharingType": "SHARED",
"priceMode": "POSITIVE_OPEN_PRICE",
"inventorySource": "PURCHASED",
"contentDimension": "MASS",
"contentUom": "kg",
"contentValue": 1,
"itemType": "ITEM"
}