Metafile assembly restrictions

I was wondering what are the limits on the number of metafiles that objects in Shopify can have. For example, in a given namespace for a product object, could you have 1000 unique key pairs? Is there a hard limit?

Please note that I have read the documentation on the Shopify Metafield API page ( http://api.shopify.com/metafield.html ), but it contains only the following restrictions:

The namespace contains no more than 20 characters, and the key has no more than 30 characters.

Thanks for the help!

+2
source share
3 answers

There is no hard limit, but if you store such information, you may want to do it locally, since retrieving it will be a pain.

+3
source

Today, most of the meta-fields that we applied to any given element are 5434 . We have a collection that currently contains so many meta-fields, and it seems to be working fine!

I would not advise doing this, as it would be a nightmare to find and remove them through the Postman, if manual intervention is required. But of course it is possible!

+1
source

If you had the following MyNS.Key1 = 1 MyNS.Key2 = 2 ... MyNS.Key1000 = 1000

You must have access to it, like products.metafields.MyNS [someKey]

So it’s not too hard to get, or I will miss something else

0
source

Source: https://habr.com/ru/post/1210289/


All Articles