Set Stock Count Variants

Replaces the full set of lines on the stock count with the given variants and counted quantities — lines for variants missing from the payload are deleted. Batch products must include per-batch counts. Requires the Update Stock Count permission on the location.

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

Stock count id

Body Params

Variants payload

variants
array of objects

Full desired line set (required)

variants
Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

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