ProductCreateInput
Exactly like Product, but no Status (Status is set to DRAFT on create).
input ProductCreateInput {
demandHqId: ID!
optionLabels: [String!]!
seoTitle: String
slug: String!
storefrontIds: [ID]
tags: [String]
title: String!
vendor: String!
}
Fields
ProductCreateInput.demandHqId
● ID!
non-null scalar
ProductCreateInput.optionLabels
● [String!]!
non-null scalar
The labels for the possible option groups for this product, i.e. "Color", "Size", "Material", etc. These will match with labelOptions in Variants.
ProductCreateInput.seoTitle
● String
scalar
Title specific for SEO purposes, limit 256 characters.
ProductCreateInput.slug
● String!
non-null scalar
Slug for the URL for this product. Limit 128 characters.
ProductCreateInput.storefrontIds
● [ID]
list scalar
Which storefronts should have access to this product?
ProductCreateInput.tags
● [String]
list scalar
ProductCreateInput.title
● String!
non-null scalar
The title of the product, limit 256 characters.
ProductCreateInput.vendor
● String!
non-null scalar
AKA Brand. Limit 256 characters.
Member of
createProduct
mutation ● ProductCompositeCreateInput
input