Skip to main content

variantMediaUnassign

Unassign an media from a product variant.

Requires MANAGE_PRODUCTSpermission.
variantMediaUnassign(
mediaId: ID!
variantId: ID!
): VariantMediaUnassign

Arguments

variantMediaUnassign.mediaId ● ID! non-null scalar miscellaneous

ID of a product media to unassign from a variant.

variantMediaUnassign.variantId ● ID! non-null scalar miscellaneous

ID of a product variant.

Type

VariantMediaUnassign object products

Unassign an media from a product variant.

Requires MANAGE_PRODUCTSpermission.