Create product metafield
documentedCreate a metafield on a product.
POST /admin/api/2026-01/products/{product_id}/metafields.jsonProductsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$shop_domain}}.myshopify.com/admin/api/2026-01/products/{{$product_id}}/metafields.json" \
-X POST \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"metafield": {"namespace": "{{$namespace}}", "key": "{{$key}}", "value": "{{$value}}", "type": "{{$type}}"}}'