Path parameters
-
The unique identifier for the item.
Query parameters
-
The unique identifier for the business location.
GET /items/v1/items/{id}
curl \
-X GET https://api.trial.lsk.lightspeed.app/items/v1/items/141948669132862?businessLocationId=45454565682155 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"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.0,
"prices": [
{
"amount": 10.0,
"name": "Tuesday Special"
}
],
"sharingType": "SHARED",
"priceMode": "POSITIVE_OPEN_PRICE",
"inventorySource": "PURCHASED",
"disabled": false,
"contentDimension": "MASS",
"contentUom": "kg",
"contentValue": 1,
"itemType": "ITEM"
}
Response examples (404)
{
"status": "404",
"timestamp": "2024-05-04T09:42:00+00:00",
"message": "string",
"apiSubExceptions": [
{
"field": "string",
"rejectedValue": "string",
"message": "string"
}
]
}