Skip to main content
Version: 3.x

variantMediaUnassign

Unassign an media from a product variant.

Requires one of the following permissions: MANAGE_PRODUCTS.

variantMediaUnassign(
mediaId: ID!
variantId: ID!
): VariantMediaUnassign

Arguments

mediaId (ID!)

ID of a product media to unassign from a variant.

variantId (ID!)

ID of a product variant.

Type

VariantMediaUnassign

Unassign an media from a product variant.

Requires one of the following permissions: MANAGE_PRODUCTS.