Skip to main content

ProductCreateInput

No description

input ProductCreateInput {
category: ID
collections: [ID!]
name: String
slug: String
description: String
descriptionJson: String
descriptionHtml: String
isPublished: Boolean
publicationDate: Date
chargeTaxes: Boolean
taxCode: String
weight: WeightScalar
sku: String
trackInventory: Boolean
basePrice: PositiveDecimal
costPrice: PositiveDecimal
currency: String
visibleInListings: Boolean
availableForPurchase: Boolean
seo: SeoInput
attributes: [AttributeValueInput!]
variantAttributes: [ID!]
customFields: [AttributeValueInput!]
productType: ID
overridePrice: Boolean
overrideCurrency: Boolean
subStatus: ProductSubStatusEnum
subStatusReason: String
isShippingRequired: Boolean
isDigital: Boolean
isPriceOverrideAllowed: Boolean
dimensions: ProductDimensionsInput
allowSellerVariants: Boolean
seller: ID
stocks: [StockInput!]
isAvailable: Boolean
allowBackorders: Boolean
startDate: Date
externalSource: String
externalId: String
image: Upload
productSource: ProductSourceEnum
}
Show more ↓

Fields

ProductCreateInput.category ● ID scalar

ProductCreateInput.collections ● [ID!] list scalar

ProductCreateInput.name ● String scalar

ProductCreateInput.slug ● String scalar

ProductCreateInput.description ● String scalar

ProductCreateInput.descriptionJson ● String scalar

ProductCreateInput.descriptionHtml ● String scalar

Product description (html).

ProductCreateInput.isPublished ● Boolean scalar

ProductCreateInput.publicationDate ● Date scalar

ProductCreateInput.chargeTaxes ● Boolean scalar

ProductCreateInput.taxCode ● String scalar

ProductCreateInput.weight ● WeightScalar scalar

ProductCreateInput.sku ● String scalar

ProductCreateInput.trackInventory ● Boolean scalar

ProductCreateInput.basePrice ● PositiveDecimal scalar

ProductCreateInput.costPrice ● PositiveDecimal scalar

Default cost price for product variant.

ProductCreateInput.currency ● String scalar

Choose a currency to assign to the product prices.

ProductCreateInput.visibleInListings ● Boolean scalar

ProductCreateInput.availableForPurchase ● Boolean scalar

ProductCreateInput.seo ● SeoInput input

ProductCreateInput.attributes ● [AttributeValueInput!] list input

ProductCreateInput.variantAttributes ● [ID!] list scalar

List of attributes to assign as variant attributes to this product.

ProductCreateInput.customFields ● [AttributeValueInput!] list input

ProductCreateInput.productType ● ID scalar

ProductCreateInput.overridePrice ● Boolean scalar

Override price for grouped products.

ProductCreateInput.overrideCurrency ● Boolean scalar

Override currency for product.

ProductCreateInput.subStatus ● ProductSubStatusEnum enum

Substatus the product is to be changed to.

ProductCreateInput.subStatusReason ● String scalar

A reason for why the sub status changed, which will be displayed to the creator of the product.

ProductCreateInput.isShippingRequired ● Boolean scalar

Set whether this product requires shipping by default, will be overridden by product type if provided.

ProductCreateInput.isDigital ● Boolean scalar

Set whether this product is digital by default, will be overridden by product type if provided.

ProductCreateInput.isPriceOverrideAllowed ● Boolean scalar

Set whether this product allows price overrides by default, will be controlled by product type if provided.

ProductCreateInput.dimensions ● ProductDimensionsInput input

Product dimensions.

ProductCreateInput.allowSellerVariants ● Boolean scalar

When enabled, other sellers can create their own variants on this product (cross-sell). Requires marketplace-level enable_master_products to be True. Only the product owner can modify this setting.

ProductCreateInput.seller ● ID scalar

ProductCreateInput.stocks ● [StockInput!] list input

ProductCreateInput.isAvailable ● Boolean scalar

ProductCreateInput.allowBackorders ● Boolean scalar

ProductCreateInput.startDate ● Date scalar

ProductCreateInput.externalSource ● String scalar

ProductCreateInput.externalId ● String scalar

ProductCreateInput.image ● Upload scalar

Represents an image file in a multipart request.

ProductCreateInput.productSource ● ProductSourceEnum enum

Where the product was created (e.g dashboard, shopify, csv, api).

Member Of

productCreate mutation

Was this page helpful?