Order and Pay

Get Item Availability Information by POST

Changed on

Returns item availability information filtered by business location and SKUs. The list of SKUs must be provided in the request body.

post/o/op/1/itemAvailability

Request

  • Base URL
    https://api.trial.lsk.lightspeed.app
  • URL
    https://api.trial.lsk.lightspeed.app/o/op/1/itemAvailability
  • Auth
    OAuth 2
    Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth
    Token URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: orders-api

Query parameters

businessLocationIdinteger required

The unique identifier for the business location.

Example:45454565682155
pageinteger

Starting page of results, when paginating. Starts at 0.

sizeinteger

Number of results to return, when paginating.

Request body

skusstring[] required

List of SKUs to return.

Example request

{
  "skus": [
    "SKU1"
  ]
}

Response

OK

Example response

{
  "data": [
    {
      "sku": "SKU1",
      "count": 50,
      "updatedAt": "2025-07-08T14:20:00Z"
    }
  ],
  "metadata": {
    "current": {
      "pageSize": 50
    },
    "total": 1,
    "totalPages": 10
  }
}

Changes