Admin API / Types

ProductVariantChangeInput

Input

A change to one stored variant. An omitted or null field keeps its stored value.

input ProductVariantChangeInput

Input fields

FieldTypeDescription
availableQuantityNonNegativeIntUnits 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.
priceMoneyInputThe 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).
productVariantIdID!A variant of the listing (VARIANT_NOT_FOUND).
requiresShippingBooleanWhether buyers get the variant in a shipment.
skuStringThe seller's stock-keeping unit, trimmed. Blank: none.
titleStringThe variant name. Required when the listing has more than one variant (VARIANT_TITLE_REQUIRED).