Skip to main content
PATCH
Update variant stock

Authorizations

X-API-Key
string
header
required

Your API key, sent in the "X-API-Key" header. Every endpoint needs the key and the secret together; a request carrying only one of the pair is rejected with 401.

X-API-Secret
string
header
required

Your API secret, sent in the "X-API-Secret" header alongside the API key on every request.

Path Parameters

productId
string
required

Product ID

variantId
string
required

Variant ID

Body

application/json

Stock payload (quantity)

The body is of type object.

Response

200 - application/json

OK

The response is of type object.