---
title: "Update price book"
method: PUT
path: "/v1/price-books/{id}"
tags: ["Price books"]
---

# Update price book

`PUT /v1/price-books/{id}`

Update the details of an existing price book.

## Path parameters

- `id` string, required

## Request body

- UpdatePriceBook
  - `name` string — Price book name.
  - `description` string, nullable — Price book description.
  - `user_role_ids` string[] — List of user role IDs that have access to this price book.

## Response `200`

- PriceBook
  - `id` string, required — Price book ID.
  - `name` string, required — Price book name.
  - `description` string, nullable, required — Price book description.
  - `user_role_ids` string[], required — List of user role IDs that have access to this price book.
  - `created_at` string, date-time, required — Price book creation date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `updated_at` string, date-time, required — Price book last update date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

## Other responses

- `404` — Price book not found.

---

[API](https://skmtc.dev/hyperline/apis/hyperline-api.md) · [All operations](https://skmtc.dev/hyperline/apis/hyperline-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperline/hyperline-api/revisions/19fa5f22e39b/schema)
