Skip to main content

VariantMediaUnassign Object

Unassign an media from a product variant.

Requires MANAGE_PRODUCTSpermission.
type VariantMediaUnassign {
productVariant: ProductVariant
media: ProductMedia
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

VariantMediaUnassign.productVariant ● ProductVariant object products

VariantMediaUnassign.media ● ProductMedia object products

VariantMediaUnassign.productErrors ● [ProductError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

VariantMediaUnassign.errors ● [ProductError!]! non-null object products

Returned By

variantMediaUnassign mutation