post
https://api.ecartapi.com/api/v2/metafields/products/
Sets one metafield value on the product with Shopify metafieldsSet. The definition must already exist. Send namespace, key and value.
value is JSON text, and its shape comes from the metafield type. A text value is a JSON string, for example "Be careful with the glass lid". metaobject_reference is one GID as a JSON string: "gid://shopify/Metaobject/655852437673". list.metaobject_reference and list.disclosure_reference are a JSON array of GIDs. The array stays an array when it has one entry: ["gid://shopify/Metaobject/718862254401"].
Send ownership as merchant for a merchant namespace such as custom or shopify. Otherwise EcartAPI prefixes the namespace with $app:.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…