post
https://api.ecartapi.com/api/v2/metaobjects/upsert
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.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…