ProductInput

Show definition
input ProductInput {
  # This argument is deprecated: Use `descriptionHtml` instead.
  bodyHtml: String
  collectionsToJoin: [ID!]
  collectionsToLeave: [ID!]
  descriptionHtml: String
  handle: String

  # Indicates whether a redirect is required after a new handle has been provided.
  # If true, then the old handle is redirected to the new one automatically.
  redirectNewHandle: Boolean = false

  # Specifies the product to update or create a new product if absent.
  id: ID
  images: [ImageInput!]
  metafields: [MetafieldInput!]
  seo: SEOInput
  options: [String!]
  productType: String

  # This argument is deprecated: Use `PublishablePublish` instead.
  productPublications: [ProductPublicationInput!]

  # This argument is deprecated: Use `PublishablePublish` instead.
  publications: [ProductPublicationInput!]

  # This argument is deprecated: Use `PublishablePublish` instead.
  publishDate: DateTime

  # This argument is deprecated: Use `PublishablePublish` instead.
  publishOn: DateTime

  # This argument is deprecated: Use `PublishablePublish` instead.
  published: Boolean

  # This argument is deprecated: Use `PublishablePublish` instead.
  publishedAt: DateTime
  tags: [String!]
  templateSuffix: String
  giftCardTemplateSuffix: String
  title: String
  variants: [ProductVariantInput!]
  vendor: String
}

Input Fields

bodyHtml   (String)

This argument is deprecated: Use descriptionHtml instead.

collectionsToJoin   ([ID!])

collectionsToLeave   ([ID!])

descriptionHtml   (String)

giftCardTemplateSuffix   (String)

handle   (String)

id   (ID)

Specifies the product to update or create a new product if absent.

images   ([ImageInput!])

metafields   ([MetafieldInput!])

options   ([String!])

productPublications   ([ProductPublicationInput!])

This argument is deprecated: Use PublishablePublish instead.

productType   (String)

publications   ([ProductPublicationInput!])

This argument is deprecated: Use PublishablePublish instead.

publishDate   (DateTime)

This argument is deprecated: Use PublishablePublish instead.

publishOn   (DateTime)

This argument is deprecated: Use PublishablePublish instead.

published   (Boolean)

This argument is deprecated: Use PublishablePublish instead.

publishedAt   (DateTime)

This argument is deprecated: Use PublishablePublish instead.

redirectNewHandle   (Boolean)

Indicates whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.

seo   (SEOInput)

tags   ([String!])

templateSuffix   (String)

title   (String)

variants   ([ProductVariantInput!])

vendor   (String)