File reference metafields support URLs

Import file reference metafields directlyusing URLs without having to upload the file to Shopify first

MetafieldsFilesImports

Changelog

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).