ProductUpdateInput
ID Fields are required, but all other fields are optional, only included fields will be updated.
input ProductUpdateInput {
optionLabels: [String!]
productId: ID!
publishedAt: Date
seoTitle: String
slug: String
status: DemandEntityStatus
storefrontIds: [ID]
tags: [String]
title: String
vendor: String
}
Fields
ProductUpdateInput.optionLabels
● [String!]
list scalar
The labels for the possible option groups for this product, i.e. "Color", "Size", "Material", etc. These will match with labelOptions in Variants.
ProductUpdateInput.productId
● ID!
non-null scalar
ProductUpdateInput.publishedAt
● Date
scalar
ISO format date when the product was published. Note that ensuing updates with status set to PUBLISHED will republish and re-set this date.
ProductUpdateInput.seoTitle
● String
scalar
Title specific for SEO purposes, limit 256 characters.
ProductUpdateInput.slug
● String
scalar
Slug for the URL for this product. Limit 128 characters.
ProductUpdateInput.status
● DemandEntityStatus
enum
The status of the product, can be DRAFT or PUBLISHED.
ProductUpdateInput.storefrontIds
● [ID]
list scalar
Which storefronts should have access to this product?
ProductUpdateInput.tags
● [String]
list scalar
ProductUpdateInput.title
● String
scalar
The title of the product, limit 256 characters.
ProductUpdateInput.vendor
● String
scalar
AKA Brand. Limit 256 characters.
Member of
updateProduct
mutation ● updateProducts
mutation