Magidoc

ProductVariantInput
Input Object

Fields

#

allowBackorders

Whether to allow backorders for this product variant, if backorders are permitted at the marketplace level

attributes

List of attributes specific to this variant.

costPrice

Cost price of the variant.

currency

Currency of the product variant

customFields

List of custom fields.

description

Description of the product variant.

descriptionHtml

Product variant description (HTML).

isDigital

Set whether this variant is digital by default, will be overridden by product type attached to product if available

isPriceOverrideAllowed

Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available

isPublished

Informs whether a collection is published. All variants are published by default

isShippingRequired

Set whether this variant requires shipping by default, will be overridden by product type attached to product if available

name

Name for the variant.

overrideCurrency

Whether to override the currency for this product variant

price

Price of the particular variant.

product

Product ID of which type is the variant.

publishedAt

The datetime when this variant will become available. This field may contain a past, future date or can be empty (so it is always published if isPublished is true)

requiresQuote

True if variant requires quote pricing.

seller

Seller that owns the variant. (Only usable with MANAGE_MARKETPLACE permission).

seo

Search engine optimization fields.

size

Size of the Product Variant.

sku

Stock keeping unit.

subStatus

Substatus the variant is to be changed to.

trackInventory

Determines whether to track changes to this variant's inventory. If set to 'false', the product's stock quantity won't reduce when a customer purchases this item. However, even when 'false', you must assign a stock quantity to a warehouse to allow checkouts. Usually, this involves allocating a placeholder stock amount that matches the maximum quantity purchased at once.

weight

Weight of the Product Variant.

Usages

#

References

#

  • Argument input of field productVariantUpdate from type Mutation