Magidoc

ProductVariantInput
Input Object

Fields

#

attributes

An array of attributes of the product variant

availableToPurchase

Whether the product variant is available to purchase

barcode

The barcode of the product variant

currentPrice

The current price of the product variant

displayName

The display name of the product variant

id

Use this field to provide either a Cloudshelf gid, or your own external gid. If the external gid already exists, the existing record will be updated. If the external gid does not exist, a new record will be created.

isInStock

Whether the product variant is in stock

metadata

An array of metadata to attach to the product variant

metaimages

An array of images related to the product variant

originalPrice

The original price of the product. If the product variant is not discounted, this should equal the original price

position

The position of the product variant in the list of variants

sku

The SKU of the product variant