Anchor to productVariantAppendMediaproduct
mutationproduct Variant Append Media
Requires access scope. Also: The user must have a permission to append media to variants.
Appends media from a product to variants of the product.
Anchor to Arguments
Arguments
- Anchor to productIdproduct•ID!required
Id Specifies the product associated to the media.
- Anchor to variantMediavariant•[Product
Media Variant Append Media Input!]!required A list of pairs of variants and media to be attached to the variants.
Was this section helpful?
- Anchor to productproduct•Product
The product associated with the variants and media.
- Anchor to productVariantsproduct•[Product
Variants Variant!] The product variants that were updated.
- Anchor to userErrorsuser•[Media
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?