Anchor to productVariantDetachMediaproduct
mutationproduct Variant Detach Media
Requires access scope. Also: The user must have a permission to detach media from product variants.
Detaches media from product variants.
Anchor to Arguments
Arguments
- Anchor to productIdproduct•ID!required
Id Specifies the product to which the variants and media are associated.
- Anchor to variantMediavariant•[Product
Media Variant Detach Media Input!]!required A list of pairs of variants and media to be deleted from 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?