Rassmi Developers

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 sku or id, and quantity (0 to 10,000,000).

Responses

StatusMeaning
200Success. The body is shown on the right.
207Some lines matched no product: errors lists them; the others were saved.
422Validation failed.
401Missing, unknown, paused or expired API key.
429More than 60 requests in a minute. See Rate limits.