Get single Metaobject (Shopify)

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.

See Shopify metafields and metaobjects.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Numeric id. A GID in this path answers 422 with ecartapiError: true. Shopify is not called.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json