Skip to main content

Metafield limits

This document outlines the various limits for metafields and their definitions per shop, including apps.

Anchor to Metafield definition limitsMetafield definition limits

Note

Standard metafield definitions don't count towards limits unless specified.

Each app installed on a shop can create up to 256 metafield definitions per resource type.

Anchor to Merchant definitionsMerchant definitions

Merchants can create up to 256 metafield definitions per resource type.

Limit typeLimit
Pinned definitions limit per resource type20

Anchor to Metafield type size limitsMetafield type size limits

Info

Apps using JSON fields before April 1, 2026 will be grandfathered at the current 2MB limit. New apps requiring >128KB JSON fields may request an exception via this form.

Most metafield types have a 64KB (65,536 bytes) size limit, with the following exceptions:

TypeSize limit
id2KB
json128KB
url2KB
Note

Single line text metafield predefined choices are limited to 128 values.

All list types have a maximum of 128 items except metaobject references, which support up to 256 items.

Note
  • Each item in the list has the same size limits as its corresponding single value type. For example, each text field in a list.single_line_text_field can store up to 64KB (65,536 bytes).
  • You can use the list.min and list.max validations through the GraphQL Admin API to set custom minimum and maximum limits for the number of items in a list, as long as they don't exceed the maximum size limits.

Anchor to Metafield definition capability limitsMetafield definition capability limits

Limit typeLimit
Used to power smart collections128
Use as admin filter on Products, Companies, Company Locations, or Metaobjects50
Use as admin filter on Orders5
Note

Metafield definition capabilities extend metafield functionality. Learn more about metafield capabilities.


Was this page helpful?