Update price book
PUT/revenue/price-books/{id}
Updates name, active status, or notes on an existing price book. The currency and effective date are generally immutable after creation to prevent inconsistency in linked subscriptions.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The numeric ID of the price book to update. |
Request body
Content type application/json (required).
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Max length: 255 |
currency | string | Yes | ISO 4217 three-letter currency code. Max length: 3 |
is_active | boolean | No | Default: |
effective_date | string (date) | No | |
notes | string | No |
Example
{
"name": "Enterprise 2026 (revised)",
"is_active": false
}
Responses
200 Price book updated
404 Price book not found
Example request
curl -X PUT "https://{tenant}.faciotech.net/api/v1/revenue/price-books/{id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "Enterprise 2026 (revised)", "is_active": false}'