---
title: "Update a specific price list"
method: PUT
path: "/api-offers/price-list/{priceListId}"
tags: ["Price List"]
---

# Update a specific price list

`PUT /api-offers/price-list/{priceListId}`

## Request

- Base URL: `https://live.copilot.fabric.inc`
- URL: `https://live.copilot.fabric.inc/api-offers/price-list/{priceListId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/offers-v2/docs/api-offers/price-list/:priceListId/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a specific price list by price list ID.

## Path parameters

- `priceListId` number, required

## Headers

- `x-site-context` string, required

## Request body

- UpdatePriceListRequest
  - `name` string, required: Pricelist name
  - `isDefault` boolean, required: true: If you want to set the given price list as default price list.<br /> false: If you do not want to set the given price list as default price list.
  - `currency` string, iso-4217: 3 letter currency code as defined by ISO-4217
  - `startDate` string, date-time: Start date of the price list. It indicates the date when the price list will be available to use. This value can be `null`, however if you mention the start date, you must provide end date as well.
  - `endDate` string, date-time: End date of the price list. This value can be `null`, however if you mention an end date, you must provide a start date as well.

## Response `200`

OK

- UpdatedPriceList
  - `_id` string: fabric internal unique id
  - `priceListId` number: Price list ID. This is the system generated unique ID of the pricelist.
  - `name` string: Price list name
  - `isDefault` boolean: true: indicates this is the default price list.<br /> false: indicates this is not the default price list
  - `currency` string, iso-4217: 3 letter currency code, as defined by ISO-4217, of the price specified in the price list
  - `startDate` string, date-time: Start date of the price list
  - `endDate` string, date-time: End date of the price list
  - `deleted` boolean: true: Price list is deleted<br /> false: Price list is not deleted
  - `createdAt` string, date-time: Creation date of the record
  - `updatedAt` string, date-time: Last updated date of the record

## Other responses

- `404`: Not Found
- `406`: Not Acceptable
- `500`: Internal Server Error

---

[API](https://skmtc.dev/fabric/apis/offers-v2.md) - [All operations](https://skmtc.dev/fabric/apis/offers-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/offers-v2/revisions/da2bd742b9bc?raw)
