Add Line To Stock Count

Adds a single variant as a line on the stock count, optionally with a counted quantity and remark. Fails if the variant is already on the count or is not countable (e.g. not inventory-tracked). Requires the Count 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

Line payload

integer

Variant id (required)

string | null

Unit of the counted quantity; defaults to the variant default unit

number | null

Counted quantity; omit to add an uncounted line

string | null
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