API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
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-07 (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-04 (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 2021-01

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.