# Update merchant service

Edits a merchant service; a changed description is screened by Shield. Console session or API key with catalog:edit; changing a verified payTo resets the tier.

`PATCH /v1/merchant/services/{id}`

Edits a merchant service; a changed description is screened by Shield. Console session or API key with catalog:edit; changing a verified payTo resets the tier.

Requires permission `catalog:edit`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Catalog service id (svc_...). |

## Request body

```json
{
  "name": "Example",
  "description": "Example",
  "category": "data",
  "price_base_units": "50000",
  "asset": "USDC",
  "accepted_networks": [
    "string"
  ],
  "payto": {},
  "url": "https://example.com/resource",
  "method": "GET",
  "input_schema": {},
  "active": true,
  "price_cents": "string",
  "delivery_mode": "string"
}
```

## 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.
- **404**: The resource does not exist or belongs to another organization.

Example 200 response:

```json
{
  "service": {
    "service_id": "svc_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "slug": "string",
    "name": "Example",
    "description": "Example",
    "category": "data",
    "kind": "string",
    "rail": "x402",
    "price_base_units": "50000",
    "price_cents": "string",
    "asset": "USDC",
    "chains": [
      "string"
    ],
    "accepted_networks": [
      "string"
    ],
    "payto": {},
    "url": "https://example.com/resource"
  },
  "warning": "string",
  "tier_reset": true
}
```
