ProductVariantUpdatePayload

Version 2019-04

Return type for productVariantUpdate mutation.

Show definition
"""
Return type for `productVariantUpdate` mutation.
"""
type ProductVariantUpdatePayload {
  """
  The product associated with the variant.
  """
  product: Product
  """
  The updated variant.
  """
  productVariant: ProductVariant
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product associated with the variant.

productVariant (ProductVariant)

The updated variant.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Latest)

Return type for productVariantUpdate mutation.

Show definition
"""
Return type for `productVariantUpdate` mutation.
"""
type ProductVariantUpdatePayload {
  """
  The product associated with the variant.
  """
  product: Product
  """
  The updated variant.
  """
  productVariant: ProductVariant
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product associated with the variant.

productVariant (ProductVariant)

The updated variant.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Return type for productVariantUpdate mutation.

Show definition
"""
Return type for `productVariantUpdate` mutation.
"""
type ProductVariantUpdatePayload {
  """
  The product associated with the variant.
  """
  product: Product
  """
  The updated variant.
  """
  productVariant: ProductVariant
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

product (Product)

The product associated with the variant.

productVariant (ProductVariant)

The updated variant.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up