Skip to main content
Anchor to ProductVariantDetachMediaPayload

ProductVariantDetachMediaPayload

payload

Return type for productVariantDetachMedia mutation.

•Product

The product associated with the variants and media.

Show fields
•[ProductVariant!]

The product variants that were updated.

Show fields
•[MediaUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Detaches media from product variants.

Show payload

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.

Show input fields


Was this section helpful?