OpenAPI 3.1.02026-08-21911,278875.0 KB
93b2eed71a61
Items
Create Item
Create a new item for a specific business location.
post/items/v1/items
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 created
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"
}