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

ProductVariantDetachMediaInput input object

Version unstable

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 2021-04 (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 2021-01 (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.

Version 2020-10

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.