Hello
I have created several Metafields using the endpoint:
https://{store_name}.myshopify.com/admin/api/2023-01/products/8485254594898/metafields.json.
With Payload:
{“metafield”:
{“key”:“event_level”,
“value”:“["Beginner"]”,
“type”:“list.single_line_text_field”,
“namespace”:“custom”,
“owner_id”:8389892768037,
“owner_resource”:“product”,
“id”:0,
“admin_graphql_api_id”:“”}
}
If I go to Postman and get all the metafields from the product, they all show up:
https://{store_name}.myshopify.com/admin/api/2023-01/products/8485254594898/metafields.json
“metafields”: [
{
“id”: 39703382786386,
“namespace”: “custom”,
“key”: “event_level”,
“value”: “["Beginner"]”,
“description”: null,
“owner_id”: 8485254594898,
“created_at”: “2023-06-23T11:38:48+02:00”,
“updated_at”: “2023-06-23T11:38:48+02:00”,
“owner_resource”: “product”,
“type”: “list.single_line_text_field”,
“admin_graphql_api_id”: “gid://shopify/Metafield/39703382786386”
},
{
“id”: 39703382851922,
“namespace”: “event”,
“key”: “access_control_needed_”,
“value”: true,
“description”: null,
“owner_id”: 8485254594898,
“created_at”: “2023-06-23T11:38:48+02:00”,
“updated_at”: “2023-06-23T11:38:48+02:00”,
“owner_resource”: “product”,
“type”: “boolean”,
“admin_graphql_api_id”: “gid://shopify/Metafield/39703382851922”
}, …
But on Shopify backoffice, I can’t see them on Settings>Custom data, and I can’t also see them on the product page.
Settings>Custom Data
Products
Any clues?

