API version 2021-01 Release candidate
API version 2020-10 Latest
API version 2020-07
API version 2020-04
API version 2020-01
API version 2019-10 Unsupported
API version 2019-07 Unsupported

ProductVariantDetachMediaInput input object

Version 2021-01 (Release candidate)

Specifies the input fields required to detach media from a single variant.

Input fields

mediaIds ([ID!]!) Required

Specifies the media to detach from the variant.

variantId (ID!) Required

Specifies the variant from which media will be detached.

Version 2020-10 (Latest)

Specifies the input fields required to detach media from a single variant.

Input fields

mediaIds ([ID!]!) Required

Specifies the media to detach from the variant.

variantId (ID!) Required

Specifies the variant from which media will be detached.