Batch update product stocks

Update product and variation stocks in bulk. Maximum 200 products per request. Processing Strategy: Continue-on-error approach - valid stock updates are applied even if some fail validation

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The site's unique name (its ID), returned when the site is created.

Body Params

Request used to update stocks of multiple products in bulk

product_updates
array of objects
required
length between 1 and 200

Array of product stock update intents

product_updates*

Product stock update intent

string
required

Product identifier

int64

Target product stock quantity

string
enum

Stock status, value is relevant only if product's inventory is managed

Allowed:
variations
array of objects

Optional list of variation stock updates for this product

variations
boolean

Enable stock tracking for this product

Responses

401

Unauthorized request - missing or invalid credentials

429

Rate limit exceeded - please refer to api documentation for limits

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json