Logo PopinaPopina API

Get product stock list for a location

Get the full list of product stock for a location

GET/v1/stock/products
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Query Parameters

locationId?string

The id of the location for which to upsert the stock batch (only used when authenticating with a serviceKey)

Formatuuid
organizationId?string

The id of the organization to which the location belongs (only used when authenticating with a serviceKey)

Formatuuid

Response Body

application/json

curl -X GET "http://localhost:4004/v1/stock/products"
[
  {
    "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
    "isEnabled": true,
    "quantity": -2147483648,
    "lastChangedAt": "2019-08-24T14:15:22Z"
  }
]