Skip to main content

Get stock for variants

GET 

/api/service/stock

Returns on-hand, reserved and available quantity per warehouse for up to 200 variants. Ids that do not exist in the workspace are listed in unknownVariantIds rather than reported as zero stock.

Request​

Responses​

Stock rows, plus any ids that were not recognised.

Response Headers
    X-ApiKey-RateLimit-Limit

    Requests per minute this API key is allowed.

    X-ApiKey-RateLimit-Remaining

    Requests left in the current one-minute window.

    X-ApiKey-RateLimit-Reset

    Seconds until the current window ends and the count resets.

    x-request-id

    Identifier of this request. Send your own x-request-id to have it echoed back; otherwise one is generated. Quote it when contacting support.