---
title: "Update sales price"
method: PATCH
path: "/api/v1/salesPrices/{id}"
tags: ["Sales Price"]
---

# Update sales price

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

Updates details of a single sales price

## Path parameters

- `id` string, required — Resource identifier.

## Request body

- object
  - `validFrom` string, date, nullable — Sets the starting date of the sales price being valid.
  - `expiresAt` string, date, nullable — Sets the expiration date of the sales price.
  - `amount` union
    - number, float — Float or int, greater than zero
    - string, float — Numeric value greater than zero
  - `packageAmount` number, float, nullable
  - `customer` object, nullable — Nullable reference to another resource
    - `id` string, required — Resource identifier.
  - `customerGroup` object, nullable — Nullable reference to another resource
    - `id` string, required — Resource identifier.
  - `price` object — Money object with amount and currency
    - `amount` string, float — A string representing the amount
    - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
  - `customerProductNumber` string, nullable — Customer product number for the item.
  - `isNotCalculatedFromExchangeTable` boolean, nullable — Flag to indicate that this price is not calculated from the currency conversion table.
  - `hideInBulkPriceListing` boolean, nullable — Flag to hide this sales price in listings for graduated prices and bulk price lists.
  - `remark` string, nullable — Internal comment for the sales price.

## Response `204`

Operation completed successfully, no response body

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — IETF RFC 9457 Problem API compliant response
- `404` — Resource was not found or not enough access privileges
- `409` — IETF RFC 9457 Problem API compliant response
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
