Update merchant metadata
PATCH
/v1/merchant
Sets keys in the metadata of the credentials' store. The keys you send
replace the current ones and "" removes the key.
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Request Body
application/json
JSON "metadata": { "shopify_checkout_id": "abc123", "old_key": "" }
{
}
Responses
Metadata saved.
application/json
JSON "data": { "merchant": { "id": 346160, "name": "Minha Loja", "metadata": { "additionalProperties": "string" } } }
{
}
PATCH
/v1/merchant
Samples
Sandbox
https://api.sandboxappmax.com.brPaste it once and use it in all playgrounds — the token is saved only in this browser tab and is erased when the tab is closed.
Body
{
"metadata": {
"shopify_checkout_id": "abc123",
"old_key": ""
}
}Double-click the JSON to edit