Upsert Metaobject (Shopify)

Creates or updates the entry identified by type and handle. You do not need the numeric id.

Requires the write_metaobjects scope. type and handle are required.

The first call for a handle creates the entry. A later call with the same type and handle updates that same id. Fields you do not send on an update keep their current values. In the example, the second call changed title to Upsert v2 and left body and product empty.

status follows the same publishable rule as create. Field values are sent unchanged. A missing handle answers 422 with ecartapiError: true.

See Shopify metafields and metaobjects.

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

Entry identified by type and handle. The first call creates it. A later call with the same pair updates that entry.

metaobject
object
required
Response

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