Bulk-upsert stock levels
Sets stock levels for many (variant, location) pairs at once — what a warehouse or ERP feed posts on a schedule.
Each row names its variant and stock location by Spree id
(variant_id, stock_location_id).
A row carries either count_on_hand — the absolute level the external
system reports — or adjustment, a relative change for feeds that
report movements instead. Every change is written as a stock movement,
so a merchant can still see why a figure moved.
The response carries stock_level_count: how many rows moved a shelf.
Required scope: write_stock (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Response
stock levels updated
Spree Admin SDK

