Warehouse

Price create and update.

Create/update product price

post/rest/api/warehouse/price-calculated/

Request body

productinteger required

Unique product ID

priceinteger required

Unique price list ID

customMode3 | 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
 

Example request

{
  "product": 11,
  "price": 12,
  "customMode": 3
}

Response

Create/update price correctly

idinteger

Changes

No recorded changes to this endpoint across all 1 revision of this API.