Skip to main content
POST
Bulk update product quantity
Sets the stock quantity for multiple products in the store at once. The response message states how many were updated; no data payload is returned. Requires the WRITE_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Body

application/json
productIds
string[]
required

Array of product ObjectIds (at least one).

quantity
integer
required

New stock quantity to set on all listed products (>= 0).

Response

Bulk update product quantity — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Bulk update product quantity"

data
object | null
required
Example: