Skip to main content

ProductVariantBulkCreateInput

No description

input ProductVariantBulkCreateInput {
product: ID
attributes: [AttributeValueInput!]!
customFields: [AttributeValueInput!]
costPrice: PositiveDecimal
price: PositiveDecimal
currency: String
sku: String
overrideCurrency: Boolean
trackInventory: Boolean
seller: ID
seo: SeoInput
weight: WeightScalar
name: String
isPublished: Boolean
publishedAt: DateTime
allowBackorders: Boolean
isShippingRequired: Boolean
isDigital: Boolean
isPriceOverrideAllowed: Boolean
dimensions: ProductDimensionsInput
stocks: [StockInput!]
externalSource: String
externalId: String
image: Upload
}
Show more ↓

Fields

ProductVariantBulkCreateInput.product ● ID scalar

Product ID of which type is the variant.

ProductVariantBulkCreateInput.attributes ● [AttributeValueInput!]! non-null input

List of attributes specific to this variant.

ProductVariantBulkCreateInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

ProductVariantBulkCreateInput.costPrice ● PositiveDecimal scalar

Cost price of the variant.

ProductVariantBulkCreateInput.price ● PositiveDecimal scalar

Price of the particular variant.

ProductVariantBulkCreateInput.currency ● String scalar

Currency of the product variant

ProductVariantBulkCreateInput.sku ● String scalar

Stock keeping unit.

ProductVariantBulkCreateInput.overrideCurrency ● Boolean scalar

Whether to override the currency for this product variant

ProductVariantBulkCreateInput.trackInventory ● Boolean scalar

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.

ProductVariantBulkCreateInput.seller ● ID scalar

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

ProductVariantBulkCreateInput.seo ● SeoInput input

Search engine optimization fields.

ProductVariantBulkCreateInput.weight ● WeightScalar scalar

Weight of the Product Variant.

ProductVariantBulkCreateInput.name ● String scalar

Name for the variant.

ProductVariantBulkCreateInput.isPublished ● Boolean scalar

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

ProductVariantBulkCreateInput.publishedAt ● DateTime scalar

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)

ProductVariantBulkCreateInput.allowBackorders ● Boolean scalar

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

ProductVariantBulkCreateInput.isShippingRequired ● Boolean scalar

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

ProductVariantBulkCreateInput.isDigital ● Boolean scalar

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

ProductVariantBulkCreateInput.isPriceOverrideAllowed ● Boolean scalar

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

ProductVariantBulkCreateInput.dimensions ● ProductDimensionsInput input

Product dimensions.

ProductVariantBulkCreateInput.stocks ● [StockInput!] list input

Stocks of a product available for sale.

ProductVariantBulkCreateInput.externalSource ● String scalar

The external source identifier of a foreign system (e.g. nautical.fulfillment.shopify) if a product variant originated from that system, used in combination with provided externalId. If submitting externalSource, you must also provide an externalId argument.

ProductVariantBulkCreateInput.externalId ● String scalar

The external ID from a foreign system if a product variant originated from that system, used in combination with provided externalSource. If submitting externalId, you must also provide an externalSource argument.

ProductVariantBulkCreateInput.image ● Upload scalar

Initial image to associate with the variant.

Member Of

productVariantBulkCreate mutation

Was this page helpful?