Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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 in the variant. The properties to update of a product variant.
The product variant's title.
The product variant's SKU.
The product variant's EAN.
The product variant's UPC.
The product variant's barcode.
The product variant's HS code.
The product variant's MID code.
Whether customers can order the variant even if it's not in stock.
Whether the Medusa application manages the variant's inventory. If disabled, the product variant is always considered in stock.
The product variant's rank among its siblings.
The product variant's weight.
The product variant's length.
The product variant's height.
The product variant's width.
The product variant's origin country.
The product variant's material.
The product variant's metadata, can hold custom key-value pairs.
The product variant's prices.
The product variant's options.
Pass additional custom data to the API route. This data is passed to the underlying workflow under the additional_data
parameter.
Response
OK
The product's details.
The product's details.