Anchor to productVariantDetachMediaproduct
product Variant Detach Media
mutation
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 ID!required Specifies the product to which the variants and media are associated.
- Anchor to variantMediavariant•
Media A list of pairs of variants and media to be deleted from the variants.
Was this section helpful?
- Anchor to productproduct•
The product associated with the variants and media.
- Anchor to productVariantsproduct•
Variants The product variants that were updated.
- Anchor to userErrorsuser•
Errors [MediaUser Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?