Update API documentation for POS price replacement to clarify pricing as gross and adjust example values.
This commit is contained in:
@@ -1283,7 +1283,7 @@
|
||||
"Article"
|
||||
],
|
||||
"summary": "Replace POS prices by SKU",
|
||||
"description": "Replace-all prices for the company POS customer group.\nEach entry: `price` (net), `tax` (rate, ensured via tax.ensure), optional `minmultiplier` (default 1).\nEmpty `prices` clears all POS prices. Returns the same shape as GET by SKU.\n",
|
||||
"description": "Replace-all prices for the company POS customer group.\nEach entry: `price` (gross), `tax` (rate %, ensured via tax.ensure), optional `minmultiplier` (default 1).\nStored as net = gross / (1 + tax/100). Empty `prices` clears all POS prices. Returns the same shape as GET by SKU.\n",
|
||||
"security": [
|
||||
{
|
||||
"cookieAuth": []
|
||||
@@ -1321,11 +1321,11 @@
|
||||
"properties": {
|
||||
"price": {
|
||||
"type": "number",
|
||||
"description": "Net price"
|
||||
"description": "Gross price (Brutto)"
|
||||
},
|
||||
"tax": {
|
||||
"type": "number",
|
||||
"description": "Tax rate (e.g. 19)"
|
||||
"description": "Tax rate percent (e.g. 19)"
|
||||
},
|
||||
"minmultiplier": {
|
||||
"type": "number",
|
||||
@@ -1338,11 +1338,11 @@
|
||||
"example": {
|
||||
"prices": [
|
||||
{
|
||||
"price": 10.5,
|
||||
"price": 11.9,
|
||||
"tax": 19
|
||||
},
|
||||
{
|
||||
"price": 9.9,
|
||||
"price": 99,
|
||||
"tax": 19,
|
||||
"minmultiplier": 10
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user