Commerce
Update a metaobject
PATCHhttps:/ / zernio.com/ api/ v1/ commerce/ metaobjects/ {metaobjectId}
Sets the given field values; fields left out keep theirs.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
metaobjectIdstringRequired
Platform-native id.
Body
application/jsonWhat every request needs
accountIdstringRequired
fieldsarray of objectRequired
keystringRequired
valuestringRequired
Optional parameters1 field
handlestring
Responses
Success· the request worked
Errors· the request failed
Create a metaobject
Creates a metaobject of `type` with its `fields` (key and string value, up to 100) and an optional `handle`, and returns it with status 201. Shopify only. Needs metaobjects.write.
Delete a metaobject
Deletes the metaobject. References to it from metafields stop resolving. Shopify only. Needs metaobjects.write.