ProductPublishPayload

Version 2019-04

Return type for productPublish mutation.

Show definition
"""
Return type for `productPublish` mutation.
"""
type ProductPublishPayload {
  """
  The product that has been published.
  """
  product: Product
  """
  The channels where the product is published.
  """
  productPublications: [ProductPublication!]
  """
  The user's shop.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product that has been published.

shop (Shop!)

The user's shop.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
productPublications ([ProductPublication!]) deprecated

The channels where the product is published.

Deprecation warning

Use publications within product instead

Version 2019-07 (Latest)

Return type for productPublish mutation.

Show definition
"""
Return type for `productPublish` mutation.
"""
type ProductPublishPayload {
  """
  The product that has been published.
  """
  product: Product
  """
  The channels where the product is published.
  """
  productPublications: [ProductPublication!]
  """
  The user's shop.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product that has been published.

shop (Shop!)

The user's shop.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
productPublications ([ProductPublication!]) deprecated

The channels where the product is published.

Deprecation warning

Use publications within product instead

Version 2019-10 (Release candidate)

Return type for productPublish mutation.

Show definition
"""
Return type for `productPublish` mutation.
"""
type ProductPublishPayload {
  """
  The product that has been published.
  """
  product: Product
  """
  The channels where the product is published.
  """
  productPublications: [ProductPublication!]
  """
  The user's shop.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product that has been published.

shop (Shop!)

The user's shop.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
productPublications ([ProductPublication!]) deprecated

The channels where the product is published.

Deprecation warning

Use publications within product instead

Sign up for a Partner account to get started.

Sign up