--- title: Product image resource in REST now returns a media image GID to streamline migration to GraphQL - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/product-image-resource-in-rest-now-returns-a-media-image-gid-to-streamline-migration-to-graphql md: https://shopify.dev/changelog/product-image-resource-in-rest-now-returns-a-media-image-gid-to-streamline-migration-to-graphql.md --- [Back to Developer changelog](https://shopify.dev/changelog) December 12, 2024 Tags: * Action Required * API * 2025-01 # Product image resource in REST now returns a media image GID to streamline migration to GraphQL As of `2025-01`, the admin REST API for the [product image resource](https://shopify.dev/docs/api/admin-rest/2024-10/resources/product-image) will return a media image GID instead of a product image GID. This is designed to help make it easier to migrate to GraphQL from REST when interfacing with product images that were created before the introduction of a unified media id. Previously, the `admin_graphql_api_id` returned a product image ID: `"gid://shopify/ProductImage/43701248884792"` Now, the `admin_graphql_api_id` will return a media image ID: `"gid://shopify/MediaImage/12379812379123"` This change will only affect clients using the latest 2025-01 API version. Older versions will continue to return the ProductImage GID, ensuring backward compatibility. It's strongly recommended to upgrade to using GraphQL as REST is nearing deprecation.