get
https://api.ecartapi.com/api/v2/metaobjects/
Returns one metaobject entry.
Requires the read_metaobjects scope. Numeric id. A GID in this path answers 422 with ecartapiError: true. Shopify is not called.
Use the numeric id from a reference metafield. A product metafield of type list.disclosure_reference with value ["gid://shopify/Metaobject/718862254401"] is read here as GET /metaobjects/718862254401, not as GET /metafields/718862254401.
A missing entry and a token without read_metaobjects both answer 404 Resource metaobject not found.
fields[].value is raw. The product field in the example is the product GID, not the product payload. "Line 1 with \"quotes\"\nLine 2" is a quote and a line break, not literal backslashes.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…