ProductVariantInput
input
The product variant-related input fields.
Fields
Input information for inventory items corresponding to the product variant.
Indicates whether the variant is subject to tax.
true: Tax is required.false: Tax is not required.
Default value:
trueIndicates whether the variant is allowed to be oversold.
The weight of the variant. The value must be greater than
0,and rounded up to two decimal places.The unique ID of the media associated with the product variant. This field is used to link or create media during a mutation. If the media ID is not associated with the product, the system will automatically synchronize the media to the product's media library.
Maximum length: 64
Maximum length: 64
The total inventory quantity of the product variant across all storage locations. This field is only supported as an input parameter for the
productVariantCreate mutation.The URL of the media resource for the product variant.
The variant's Harmonized System (HS) code or tariff code.
Indicates whether the variant requires shipping.
true: Shipping is required.false: Shipping is not required.
Default value:
trueThe selling price of the variant. The value is rounded to two decimal places.
Default value:
Default value:
0Product variant options.
The unique ID of the product variant. It is used to specify the product variant to be updated. If the specified product variant does not exist, the system will create a new one.
Maximum length: 64
Maximum length: 64
The product SKU.
Maximum length: 255
Maximum length: 255
The barcode of the variant.
Maximum length: 255
Maximum length: 255
The unit of weight for the variant.
The original price of the variant. The value is rounded to two decimal places.
Default value:
Default value:
0Map
Input field from
ProductVariantInput
Was this article helpful to you?