Update Merchant

Updates an existing merchant. The caller must own the merchant. Cross-account modification is blocked. Soft-deleted merchants (deleted_at <= now) are treated as non-existent and cannot be updated.

Authentication

X-API-KEYstring
API Key authentication via header

Request

This endpoint expects an object.
merchantIdstringRequired
UUID of the merchant to update
updateobjectRequired
New field values for the merchant

Response

OK
merchantIdstring
UUID of the updated merchant
messagestring

Human-readable result message

statusstring
Operation status

Errors

400
Update Merchant Body Bad Request Error
401
Update Merchant Body Unauthorized Error
403
Update Merchant Body Forbidden Error
404
Update Merchant Body Not Found Error
409
Update Merchant Body Conflict Error
422
Update Merchant Body Unprocessable Entity Error
500
Update Merchant Body Internal Server Error