Shopify Functions input limit updates
API
Effective May 08, 2023
As of May 8, you can access metafield values up to 10,000 bytes in Shopify Functions input queries, so that you can store more merchant configuration for your function.
The overall input JSON size for Shopify Functions is constrained to 64,000 bytes.
Learn more about execution limitations for Shopify Functions on Shopify.dev.