Skip to main content

CreateProductInput

Input for the createProduct mutation

input CreateProductInput {
categoryIds: [UUID!]!
defaultVariant: ProductVariantInput!
internalName: String!
isPubliclyVisible: Boolean!
}

Fields​

CreateProductInput.categoryIds ● [UUID!]! non-null scalar​

The Categories this product is associated with.

CreateProductInput.defaultVariant ● ProductVariantInput! non-null input​

The default ProductVariant of the Product.

CreateProductInput.internalName ● String! non-null scalar​

An internal name to identify the Product, not visible to customers.

CreateProductInput.isPubliclyVisible ● Boolean! non-null scalar​

If true, the Product is visible to customers.

Member Of​

createProduct mutation