Update owned merchant name and categories
Human owner only. Domain is immutable. An active offer prevents removal of its category. Idempotency is required.
PATCH
/v1/merchants/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredClerk human owner session JWT; iss must equal the configured Clerk issuer and the identity must be a human (not agent) owner with a verified email.
or
AuthorizationOAuth2 access token · headerrequiredScopes:
agentsub:ownerPath parameters
idstringrequiredHeader parameters
Idempotency-KeystringrequiredRequired only where this parameter is listed. Same payload/key recovers prior operation; secret replays omit plaintext.
matches ^[A-Za-z0-9._:-]{1,200}$
Request body
requiredapplication/jsonnamestringmin length 1 · max length 100
categoriesstring[]min items 1 · max items 20
Responses
200
Updated merchant
merchantMerchantrequiredShow propertiesHide properties
idstringownerIdstringnamestringdomainstringverificationChallengestringverifiedbooleanacceptedPaymentMethodsstring[]webhookUrlstring400
Invalid settings or domain edit attempted
403
Identity, ownership, scope or policy denied (human_required, owner_claim_required, scope_required, FROZEN, CAP_EXCEEDED, SCOPE_FORBIDDEN)
typestringrequiredtitlestringrequiredstatusintegerrequiredcodestringrequired409
Category in use or idempotency conflict
