---
title: "Put Price Points"
method: PUT
path: "/api/v1/sites/{site_id}/price-points"
---

# Put Price Points

`PUT /api/v1/sites/{site_id}/price-points`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/sites/{site_id}/price-points`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

The operator's whole price list, replacing the one before. It is shown
in public only while the operator publishes prices (the account's switch).
A price read on the operator's website stays stored with its source and is
no longer shown beside these.

## Path parameters

- `site_id` string, uuid, required

## Request body

- PricePointsUpdate: The operator's whole price list, every time: a row left out is a price no longer published.
  - `points` PricePointIn[], required
    - `size_label` string, nullable
    - `area_m2` union
      - number
      - string
    - `volume_m3` union
      - number
      - string
    - `price_from_cents` integer, required
    - `price_to_cents` integer, nullable
    - `price_period` 'day' | 'week' | 'month'
    - `price_basis` 'per_unit' | 'per_m2' | 'per_m3'
    - `vat_included` boolean, nullable
    - `insurance_included` 'yes' | 'no' | 'not_stated'
    - `is_promotion` boolean
    - `promotion_terms` string, nullable

## Response `200`

Successful Response

- PricePointOut[]
  - `size_label` string, nullable
  - `area_m2` string, nullable
  - `volume_m3` string, nullable
  - `price_from_cents` integer, required
  - `price_to_cents` integer, nullable
  - `price_period` 'day' | 'week' | 'month'
  - `price_basis` 'per_unit' | 'per_m2' | 'per_m3'
  - `vat_included` boolean, nullable
  - `insurance_included` 'yes' | 'no' | 'not_stated'
  - `is_promotion` boolean
  - `promotion_terms` string, nullable
  - `source_kind` string, required
  - `checked_on` string, date, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
