Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The product's ID.
The variant's ID.
The inventory item's ID.
Query Parameters
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.
Body
The properties to update of the variant's inventory item association.
The number of units a single quantity is equivalent to. For example, if a customer orders one quantity of the variant, Medusa checks the availability of the quantity multiplied by the value set for required_quantity
. When the customer orders the quantity, Medusa reserves the ordered quantity multiplied by the value set for required_quantity
.
Response
OK
The product variant's details.
The product variant's details.