ProductDeletePayload

Version 2019-04

Return type for productDelete mutation.

Show definition
"""
Return type for `productDelete` mutation.
"""
type ProductDeletePayload {
  """
  The ID of the deleted product.
  """
  deletedProductId: ID
  """
  The shop associated with the product.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

deletedProductId (ID)

The ID of the deleted product.

shop (Shop!)

The shop associated with the product.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Return type for productDelete mutation.

Show definition
"""
Return type for `productDelete` mutation.
"""
type ProductDeletePayload {
  """
  The ID of the deleted product.
  """
  deletedProductId: ID
  """
  The shop associated with the product.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

deletedProductId (ID)

The ID of the deleted product.

shop (Shop!)

The shop associated with the product.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Return type for productDelete mutation.

Show definition
"""
Return type for `productDelete` mutation.
"""
type ProductDeletePayload {
  """
  The ID of the deleted product.
  """
  deletedProductId: ID
  """
  The shop associated with the product.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

deletedProductId (ID)

The ID of the deleted product.

shop (Shop!)

The shop associated with the product.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01 (Release candidate)

Return type for productDelete mutation.

Show definition
"""
Return type for `productDelete` mutation.
"""
type ProductDeletePayload {
  """
  The ID of the deleted product.
  """
  deletedProductId: ID
  """
  The shop associated with the product.
  """
  shop: Shop!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

deletedProductId (ID)

The ID of the deleted product.

shop (Shop!)

The shop associated with the product.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up