Update Product Variant
Authentication
Path parameters
Request
The cost price of the variant. It is not affected by Price List prices. This value displays as null in the control panel when cost_price equals zero.
Depth of the variant, which can be used when calculating shipping costs. If this value is null, the productʼs default depth (set in the Product resourceʼs depth field) will be used as the base depth.
A fixed shipping cost for the variant. If defined, this value will be used during checkout instead of normal shipping-cost calculation.
Height of the variant, which can be used when calculating shipping costs. If this value is null, the productʼs default height (set in the Product resourceʼs height field) will be used as the base height.
Flag used to indicate whether the variant has free shipping. If true, the shipping cost for the variant will be zero.
The Manufacturer Part Number (MPN) for the variant.
This variant’s base price on the storefront. If a Price List ID is used, the Price List value will be used. If a Price List ID is not used, and this value is null, the product’s default price (set in the Product resource’s price field) will be used as the base price.
If true, this variant will not be purchasable on the storefront.
If purchasing_disabled is true, this message should show on the storefront when the variant is selected.
This variant’s retail price on the storefront. If a Price List ID is used, the Price List value will be used. If a Price List ID is not used, and this value is null, the product’s retail price (set in the Product resource’s price field) will be used as the retail price.
This variant’s sale price on the storefront. If a Price List ID is used, the Price List value will be used. If a Price List ID is not used, and this value is null, the product’s sale price (set in the Product resource’s price field) will be used as the sale price.
This variant’s base weight on the storefront. If this value is null, the product’s default weight (set in the Product resource’s weight field) will be used as the base weight.
Width of the variant, which can be used when calculating shipping costs. If this value is null, the productʼs default width (set in the Product resourceʼs width field) will be used as the base width.