Set threshold
PUT
/ admin/ v1/ stores/ {store_id}/ inventory/ variants/ {variant_id}/ low-stock-threshold- inventory:write
Set or clear the low-stock threshold of a variant.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.variant_idstringrequiredThe variant's ID, like
var_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
low_stock_thresholdinteger · or nullnullclears it.
Returns
204 Saved.
Errors
- 404
not_foundNo such variant. - 422
validation_failedValidation failed.