ProductInput
No description
input ProductInput {
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
}
Fields
ProductInput.category ● ID scalar
ProductInput.collections ● [ID!] list scalar
ProductInput.name ● String scalar
ProductInput.slug ● String scalar
ProductInput.description ● String scalar
ProductInput.descriptionJson ● String scalar
ProductInput.descriptionHtml ● String scalar
Product description (html).
ProductInput.isPublished ● Boolean scalar
ProductInput.publicationDate ● Date scalar
ProductInput.chargeTaxes ● Boolean scalar
ProductInput.taxCode ● String scalar
ProductInput.weight ● WeightScalar scalar
ProductInput.sku ● String scalar
ProductInput.trackInventory ● Boolean scalar
ProductInput.basePrice ● PositiveDecimal scalar
ProductInput.costPrice ● PositiveDecimal scalar
Default cost price for product variant.
ProductInput.currency ● String scalar
Choose a currency to assign to the product prices.
ProductInput.visibleInListings ● Boolean scalar
ProductInput.availableForPurchase ● Boolean scalar
ProductInput.seo ● SeoInput input
ProductInput.attributes ● [AttributeValueInput!] list input
ProductInput.variantAttributes ● [ID!] list scalar
List of attributes to assign as variant attributes to this product.
ProductInput.customFields ● [AttributeValueInput!] list input
ProductInput.productType ● ID scalar
ID of the type that product belongs to.
ProductInput.overridePrice ● Boolean scalar
Override price for grouped products.
ProductInput.overrideCurrency ● Boolean scalar
Override currency for product.
ProductInput.subStatus ● ProductSubStatusEnum enum
Substatus the product is to be changed to.
ProductInput.subStatusReason ● String scalar
A reason for why the sub status changed, which will be displayed to the creator of the product.
ProductInput.isShippingRequired ● Boolean scalar
Set whether this product requires shipping by default, will be overridden by product type if provided.
ProductInput.isDigital ● Boolean scalar
Set whether this product is digital by default, will be overridden by product type if provided.
ProductInput.isPriceOverrideAllowed ● Boolean scalar
Set whether this product allows price overrides by default, will be controlled by product type if provided.
ProductInput.dimensions ● ProductDimensionsInput input
Product dimensions.
ProductInput.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.
Member Of
productUpdate mutation