Anchor to section titled 'undefined'

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.


Anchor to productId
productId
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?

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?