---
title: "Price create and update."
method: POST
path: "/rest/api/warehouse/price-calculated/"
tags: ["Warehouse"]
---

# Price create and update.

`POST /rest/api/warehouse/price-calculated/`

Create/update product price

## Request body

- PriceCalculatedPost
  - `product` integer, required — Unique product ID
  - `price` integer, required — Unique price list ID
  - `customPriceModify` union, required — Custom price modify
    - number, float
    - integer
    - string
  - `customMode` 3 | 5 | 6 | 7, required — 3 - fixed - use to set direct price 5 - overhead - use to add/sub percentage to base price 6 - margin - use to set percent margin to base price (max 99.99) 7 - static - use to add/sub static value to base price

## Response `201`

Create/update price correctly

- IdModel
  - `id` integer

## Other responses

- `401` — Authorization failed
- `422` — Create/Update/Validation price failed

---

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