---
title: "Create or update base price or fixed price"
method: PATCH
path: "/pricing/prices/{itemId}/fixed"
tags: ["Prices and Fixed Prices"]
---

# Create or update base price or fixed price

`PATCH /pricing/prices/{itemId}/fixed`

Updates the base price or fixed prices of an SKU. The base price is the basic selling price of a product, it comprises the cost price and the markup wanted in the sale of the product. A fixed price is an optional price defined for a specific trade policy or a price table. It can include a minimum quantity and an effective date range that determines when the price is active.

This request does not remove existing prices. Instead, it updates or adds new prices without affecting trade policies or price tables that are not included in the request. If a fixed price or base price already exists for the specified SKU and matches the activation conditions (i.e., dateRange and minQuantity), it will be replaced. Otherwise, a new price will be created.



## Permissions

Any user or [API key](https://developers.vtex.com/docs/guides/api-authentication-using-api-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:

| **Product** | **Category** | **Resource** |
| --------------- | ----------------- | ----------------- |
| Pricing | Price List | **Modify prices** |

There are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).

>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing API keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.

## Path parameters

- `itemId` integer, required

## Headers

- `Content-Type` string, required
- `Accept` string, required

## Request body

- object[] — Information about the SKU's fixed prices.
  - `tradePolicyId` string, required — The name or ID of the trade policy, or the price table name, where the fixed price will be configured.
  - `value` number, required — Selling price of the SKU for this fixed price entry.
  - `listPrice` number — Original or reference price of the SKU for this fixed price.
  - `minQuantity` integer, required — Minimum quantity required for the fixed price to apply.
  - `dateRange` object — Period of time when the fixed price will be applied to the SKU. If not provided, the price is not restricted by a date range.
    - `from` string, required — Start date of the price. This date follows the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format, which includes the time zone.
    - `to` string, required — End date of the price. This date follows the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format, which includes the time zone.

## Response `200`

OK

## Changes

- **2025-06-27** `8fb9fa055b43` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vtex/apis/pricing-api/changes/pricing/prices/:itemId/fixed/patch.md)

---

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