productAppendImages mutation
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Appends images to a product.
Required access
write_products
access scope.
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
input
(
ProductAppendImagesInput!
)
required
|
Specifies the new images and the product that they're being added to. |
ProductAppendImagesInput fields
-
id (
ID!
) RequiredThe ID of the product.
-
images (
[ImageInput!]!
) RequiredThe images to be appended to the product.
Return fields
-
newImages (
[Image!]
)List of new images appended to the product.
Argument Description crop
(CropRegion
)Crops the image according to the specified region. This argument is deprecated: Use
crop
onImage.transformedSrc
instead.maxHeight
(Int
)Image height in pixels between 1 and 2048. This argument is deprecated: Use
maxHeight
onImage.transformedSrc
instead.maxWidth
(Int
)Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead.scale
(Int
)Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead.
Default value:1
-
product (
Product
)The product object.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.