No content to show
User Activity
@SoumenDana it is not possible to create metafield definitions via the Storefront API. Metafield definitions can only be created via the Admin API.
If you would like to create a definition in a merchant namespace with storefront access, you need to...
UPDATE:
It is now possible to manage access (including storefront access) for merchant / non-reserved namespace metafields. More details can be found here.
Shop metafields can be created using the metafieldDefinitionCreate Admin API mutation with an ownerType = SHOP.
Shop metafields cannot be created through the Admin interface.
That is correct. Prefixing a namespace with "$app:" produces a metafield definition in a reserved namespace that is owned by the app that created it. The owning app has full control over the definition including the definition's admin and storefront ...
Hello,
You should be able to create a metafield definition in a non app reserved namespace (e.g. "custom") as long as you are not setting a value for the access input. If you do not use a reserved namespace, the merchant and other apps should be ab...
Hi Despi,
When using the Admin API to read and write metafields, the value is always entered and stored as a string, regardless of type.
For list values, this means you should input a stringified array. Using the example shown above, that would b...
As MetafieldsGuru already helpfully explained, the value should always be passed as a String. In Python, you can use the json.dumps method to convert your Array value to a JSON String.
The standardMetafieldDefinitionTemplates query returns the list of all standard metafields.The list of standard metafields can be found here: https://shopify.dev/apps/metafields/definitions/standard-definitions
Product rating and Product rating cou...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
11363 | 10-20-2023 03:18 PM | |
21514 | 01-17-2023 09:56 AM | |
2603 | 07-18-2022 10:12 AM | |
508 | 06-30-2022 12:34 PM |