Starting with the 2025-04 Admin API version, Shopify developers can now use custom identifiers to look up collections, locations, orders, and product variants through four new APIs: collectionByIdentifier, locationByIdentifier, orderByIdentifier, and productVariantByIdentifier. Custom IDs are powered by a new metafield type called "id," which automatically enforces uniqueness, allowing merchants and partners to reference resources using their own internal identifiers instead of relying solely on Shopify's system-generated IDs.
This enhancement significantly simplifies integration workflows for developers building on Shopify. Instead of maintaining complex mapping tables between external systems and Shopify resources, you can now query resources directly using identifiers from your own database or ERP system. This reduces lookup complexity, improves API efficiency, and makes it easier to keep data synchronized across multiple platforms—particularly valuable for merchants managing inventory across channels or integrating legacy systems.
GetShopifyToken makes it easy to authenticate and manage your Shopify Admin API access, ensuring your custom ID lookups and other API calls are properly authorized. Our tools streamline OAuth token generation so you can focus on building powerful integrations without authentication friction.