# Update merchant profile

Updates the merchant's name, description or domain. Console session or API key with merchant:manage; changing the domain revokes the attestation and resets the tier.

`PATCH /v1/merchant`

Updates the merchant's name, description or domain. Console session or API key with merchant:manage; changing the domain revokes the attestation and resets the tier.

Requires permission `merchant:manage`.

## Request body

```json
{
  "name": "Example",
  "description": "Example",
  "domain": "merchant.example.com"
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "merchant": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "slug": "string",
    "name": "Example",
    "domain": "merchant.example.com",
    "description": "Example",
    "tier": "VERIFIED",
    "tier_changed_at": "2026-11-16T12:00:00Z",
    "discovered_via": "string",
    "listed_in_discovery": true,
    "kyb_status": "string",
    "kyb_simulated": true,
    "owner_org_id": "own_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "operator_org_id": "ope_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "payto": {}
  },
  "warning": "string",
  "tier_reset": true
}
```
