Get Item Availability Information by POST
Returns item availability information filtered by business location and SKUs. The list of SKUs must be provided in the request body.
Query parameters
-
The unique identifier for the business location.
-
Starting page of results, when paginating. Starts at 0.
Minimum value is
0
. Default value is0
. -
Number of results to return, when paginating.
Minimum value is
1
, maximum value is100
. Default value is25
.
POST
/o/op/1/itemAvailability
curl \
--request POST 'https://api.trial.lsk.lightspeed.app/o/op/1/itemAvailability?businessLocationId=45454565682155' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"skus":["SKU1"]}'
Request examples
{
"skus": [
"SKU1"
]
}
Response examples (200)
{
"data": [
{
"sku": "SKU1",
"count": 50,
"updatedAt": "2025-07-08T14:20:00Z"
}
],
"metadata": {
"warnings": [
{
"information": "string",
"type": "string"
}
],
"current": {
"page": 0,
"pageSize": 50
},
"total": 1,
"totalPages": 10
}
}
Response examples (400)
{
"timestamp": "2023-11-07T22:18:49.101Z",
"status": 400,
"error": "Bad Request",
"message": "Required request parameter 'businessLocationId' for method parameter type Long is not present",
"path": "/o/op/1/itemAvailability"
}