Update metaobject
PATCH
/ admin/ v1/ stores/ {store_id}/ metaobjects/ {metaobject_id}- content:write
Change an entry's handle, status or fields.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.metaobject_idstringrequiredThe entry's ID, like
mobj_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
handlestring · or nullstatusenum · or nullWhether storefronts can see an entry (when its type allows storefront access).
- draft
- active
fieldsobjecttranslationsobjectNamed languages and fields are replaced; a blank value removes one.
Returns
200 Updated.
Errors
- 404
not_foundNo such entry. - 409The handle is taken.
- 422
validation_failedA value does not fit its field.