POST
/
consumers
/
{consumer_id}
/
commerce
/
variants
/
set_quantity
/
{variant_id}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

variant_id
string
required
consumer_id
string
required

Body

application/json
available_quantity
number
required
Required range: x > 0
location_id
string
required

Technical id of the location in Chift

Response

200 - application/json
available_quantity
number
required
location
object
required