Skip to main content
Log inSign up
Anchor to productVariantDetachMedia

productVariantDetachMedia

mutation

Requires write_products access scope. Also: The user must have a permission to detach media from product variants.

Detaches media from product variants.

•
ID!required

Specifies the product to which the variants and media are associated.

•

A list of pairs of variants and media to be deleted from the variants.


Was this section helpful?

Anchor to ProductVariantDetachMediaPayload returnsProductVariantDetachMediaPayload returns

•

The product associated with the variants and media.

•

The product variants that were updated.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?