Magidoc

ProductVariantInput
Input Object

The properties of the new ProductVariant.

Fields

#

id

The ID of the ProductVariant (required if updating an existing ProductVariant).

listings

The ListingInput associated with the ProductVariant. One Listing is required for each ProductVariant.

mediaSources

[ String !]

The Media source of the ProductVariant. This is a list of URLs and is used to relate the ProductVariant to Media.

options

The options of the ProductVariant.

price

The price of the ProductVariant.

productId

The Product ID associated with the ProductVariant (required if creating a new ProductVariant).

sku

The SKU of the ProductVariant.

Usages

#

References

#

  • Argument input of field productVariantCreate from type Mutation
  • Argument input of field productVariantUpdate from type Mutation