Upsert a batch of product stock for a location
Upsert a batch of product stock for a location
POST
/v1/stock/productsauthorization<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)
Format
uuidorganizationId?string
The id of the organization to which the location belongs (only used when authenticating with a serviceKey)
Format
uuidResponse Body
application/json
curl -X POST "http://localhost:4004/v1/stock/products" \ -H "Content-Type: application/json" \ -d '[ { "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "isEnabled": true, "quantity": -2147483648, "lastChangedAt": "2019-08-24T14:15:22Z" } ]'null