Skip to main content
input_object

The input fields for barcodes that are associated with a product variant. A variant accepts up to 20 barcodes, and a given variant input can't set both barcode and barcodes. Refer to the ProductVariantBarcode object for how these barcodes are returned.

•BarcodeType

The associated standard that the barcode conforms to. Barcode types are validated against their respective format standards. A null format denotes no type provided on write and the value is stored as entered.

Show enum values
•String!
non-null

The value of the barcode. For example, 9780262033848. Maximum length: 255 characters.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields for specifying a gift card product variant to create or update with the giftCardProductSet mutation.

Include an id to update an existing variant, or omit it to create a new one. Gift card variant defaults are applied automatically, meaning variants are set to non-taxable, don't require shipping, and their inventory is untracked.

•INPUT OBJECT

The input fields for specifying a product variant to create or update.

•INPUT OBJECT

The input fields for specifying a product variant to create as part of a variant bulk mutation.


Was this section helpful?