MediaContentType enum

Version unstable

The possible content types for a media object.

Values

  • EXTERNAL_VIDEO

    An externally hosted video.

  • IMAGE

    A Shopify hosted image.

  • MODEL_3D

    A 3d model.

  • VIDEO

    A Shopify hosted video.

Types that return MediaContentType

Version 2021-10 (Release candidate)

The possible content types for a media object.

Values

  • EXTERNAL_VIDEO

    An externally hosted video.

  • IMAGE

    A Shopify hosted image.

  • MODEL_3D

    A 3d model.

  • VIDEO

    A Shopify hosted video.

Types that return MediaContentType

Version 2021-07 (Latest)

The possible content types for a media object.

Values

  • EXTERNAL_VIDEO

    An externally hosted video.

  • IMAGE

    A Shopify hosted image.

  • MODEL_3D

    A 3d model.

  • VIDEO

    A Shopify hosted video.

Types that return MediaContentType

Version 2021-04

The possible content types for a media object.

Values

  • EXTERNAL_VIDEO

    An externally hosted video.

  • IMAGE

    A Shopify hosted image.

  • MODEL_3D

    A 3d model.

  • VIDEO

    A Shopify hosted video.

Types that return MediaContentType