# Update a product (name, description, portal settings)

`PATCH /api/v1/products/{id}`

Only the fields sent change; at least one is required.

Needs the `catalog:write` scope, or a full-access key.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Request body

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "portal_allow_plan_change": {
      "type": "boolean",
      "description": "Omitted = true. False: the portal hides \"Change plan\" and refuses it (422 change_not_allowed)."
    },
    "portal_allow_seat_change": {
      "type": "boolean",
      "description": "Omitted = true. False: the portal hides seat changes and refuses them, including a plan change with another seat count (422 change_not_allowed)."
    }
  }
}
```

## Responses

### 200

The product, as `GET /products/{id}` returns it.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "trialDays": {
          "type": "integer"
        },
        "portal_allow_plan_change": {
          "type": "boolean",
          "description": "The hosted portal offers and accepts a plan change for this product’s plans. Default true."
        },
        "portal_allow_seat_change": {
          "type": "boolean",
          "description": "The hosted portal offers and accepts a seat change for this product’s plans. Default true."
        }
      },
      "required": [
        "id",
        "name",
        "trialDays",
        "portal_allow_plan_change",
        "portal_allow_seat_change"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
