November 14, 2025
File reference metafields support URLs
Import file reference metafields directlyusing URLs without having to upload the file to Shopify first
November 14, 2025
File reference metafields now support multiple input formats, making it easier to reference files in your Shopify store without needing to know the exact GID.
π What’s New
- URL support β Import file reference metafields using external URLs or Shopify CDN URLs
- Filename lookup β Reference existing files by filename instead of GID
- Automatic file upload β External URLs are automatically uploaded to Shopify and linked
π§ Improvements
- More flexible imports β Use GIDs, filenames, CDN URLs, or external URLs for file references
- Smarter file handling β Shopify CDN URLs from your store are automatically matched to existing files
- Seamless workflow β External URLs are uploaded and linked without manual steps
π How It Works
When importing file reference metafields, you can now use:
- GID format:
gid://shopify/MediaImage/123456789β Direct Shopify file GID - Filename:
image.jpgβ Looks up existing file by filename - Shopify CDN URL:
https://cdn.shopify.com/s/files/1/0694/7382/9050/files/image.jpgβ Extracts filename and looks up existing file - External URL:
https://example.com/image.jpgβ Uploads file to Shopify and returns GID
This works for both single file references and list file references (list.file_reference).