ProductImageUpdatePayload

Version 2019-04 (latest)

Return type for productImageUpdate mutation.

Show definition

"""
Return type for productImageUpdate mutation.
"""
type ProductImageUpdatePayload {
  """
  Image updated.
  """
  image(
    """
    Crops the image according to the specified region. This argument is
    deprecated: Use crop on Image.transformedSrc instead.
    """
    crop: CropRegion
    """
    Image height in pixels between 1 and 2048. This argument is deprecated: Use
    maxHeight on Image.transformedSrc instead.
    """
    maxHeight: Int
    """
    Image width in pixels between 1 and 2048. This argument is deprecated: Use maxWidth on Image.transformedSrc instead.
    """
    maxWidth: Int
    """
    Image size multiplier for high-resolution retina displays. Must be between 1
    and 3. This argument is deprecated: Use scale on Image.transformedSrc instead.
    """
    scale: Int = 1
  ): Image
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

image (Image)

Image updated.

crop ( CropRegion )

Crops the image according to the specified region. This argument is deprecated: Use crop on Image.transformedSrc instead.

maxHeight ( Int )

Image height in pixels between 1 and 2048. This argument is deprecated: Use maxHeight on Image.transformedSrc instead.

maxWidth ( Int )

Image width in pixels between 1 and 2048. This argument is deprecated: Use maxWidth on Image.transformedSrc instead.

scale ( Int )

Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use scale on Image.transformedSrc instead.
Default value: true

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up