Skip to main content
Anchor to ProductVariantDetachMediaPayload

ProductVariantDetachMediaPayload

payload

Return type for productVariantDetachMedia mutation.

•Product

The product associated with the variants and media.

•[ProductVariant!]

The product variants that were updated.

•[MediaUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Detaches media from product variants.

Arguments

•ID!
required

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

•[ProductVariantDetachMediaInput!]!
required

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



Was this section helpful?