Admin API / Types
ProductVariantChangeInput
InputA change to one stored variant. An omitted or null field keeps its stored value.
input ProductVariantChangeInputInput fields
| Field | Type | Description |
|---|---|---|
availableQuantity | NonNegativeInt | Units in stock: an absolute value that replaces the stored stock. Required when the variant changes to shipped, and refused for a variant that does not ship (QUANTITY_INVALID). A live auction variant that ships: 0 or 1, or any stock when the store allows multi-unit live auctions (MarketplaceListingRules.multiUnitLiveAuctionsEnabled). adjustProductVariantQuantities changes stock by a delta. |
price | MoneyInput | The price in USD (CURRENCY_NOT_SUPPORTED), rounded to cents, from Marketplace.listingRules.minimumPrice to maximumPrice, with no upper bound when maximumPrice is null (PRICE_OUT_OF_RANGE). |
productVariantId | ID! | A variant of the listing (VARIANT_NOT_FOUND). |
requiresShipping | Boolean | Whether buyers get the variant in a shipment. |
sku | String | The seller's stock-keeping unit, trimmed. Blank: none. |
title | String | The variant name. Required when the listing has more than one variant (VARIANT_TITLE_REQUIRED). |