Inventory
Update Stock (Bulk)
Set the stock of up to 100 products at once, found by SKU or ID. Answers 207 when some lines did not match a product. Each change sends an inventory.updated webhook.
PUT
https://rassmi.com/api/v1/inventory
Authorization
-
Authorizationheaderrequired
Bearer rsk_…: the store's API key, from API Key in your Rassmi dashboard.
Body
-
updates array required
1 to 100 lines, each with
skuorid, andquantity(0 to 10,000,000).
Responses
| Status | Meaning |
|---|---|
200 | Success. The body is shown on the right. |
207 | Some lines matched no product: errors lists them; the others were saved.
|
422 | Validation failed. |
401 | Missing, unknown, paused or expired API key. |
429 | More than 60 requests in a minute. See Rate limits. |