diff --git a/adminapi.json b/adminapi.json index 3b6cf90..89cafa3 100644 --- a/adminapi.json +++ b/adminapi.json @@ -107834,6 +107834,9 @@ "$ref": "#/components/schemas/Price" } }, + "customFields": { + "type": "object" + }, "quantityStart": { "description": "Starting range of quantity of an item.", "type": "integer", @@ -107844,9 +107847,6 @@ "type": "integer", "format": "int64" }, - "customFields": { - "type": "object" - }, "createdAt": { "type": "string", "format": "date-time", @@ -107967,6 +107967,10 @@ }, "description": "Price of the Product." }, + "customFields": { + "type": "object", + "description": "Additional fields that offer a possibility to add own fields for the different program-areas." + }, "quantityStart": { "description": "Starting range of quantity of an item.", "type": "integer", @@ -107977,10 +107981,6 @@ "type": "integer", "format": "int64" }, - "customFields": { - "type": "object", - "description": "Additional fields that offer a possibility to add own fields for the different program-areas." - }, "createdAt": { "type": "string", "format": "date-time", @@ -123682,39 +123682,62 @@ "description": "Price object", "properties": { "currencyId": { + "description": "Unique identity of the associated currency.", "type": "string", "pattern": "^[0-9a-f]{32}$" }, "gross": { - "description": "", + "description": "Gross price for the associated currency.", "type": "number" }, "net": { - "description": "", + "description": "Net price for the associated currency.", "type": "number" }, "linked": { - "description": "", + "description": "Whether gross and net prices are linked through the tax configuration.", "type": "boolean" }, + "percentage": { + "description": "Discount percentage relative to the list price for the gross and net amounts. `null` when no list price is set.", + "type": [ + "object", + "null" + ], + "properties": { + "gross": { + "description": "Discount percentage relative to the gross list price.", + "type": "number" + }, + "net": { + "description": "Discount percentage relative to the net list price.", + "type": "number" + } + }, + "required": [ + "gross", + "net" + ] + }, "listPrice": { - "description": "", + "description": "Reference list price for displaying discounts.", "type": "object", "properties": { "currencyId": { + "description": "Unique identity of the associated currency.", "type": "string", "pattern": "^[0-9a-f]{32}$" }, "gross": { - "description": "", + "description": "Gross list price for the associated currency.", "type": "number" }, "net": { - "description": "", + "description": "Net list price for the associated currency.", "type": "number" }, "linked": { - "description": "", + "description": "Whether gross and net list prices are linked through the tax configuration.", "type": "boolean" } }, @@ -123725,23 +123748,24 @@ ] }, "regulationPrice": { - "description": "", + "description": "Reference price used for legal price disclosures.", "type": "object", "properties": { "currencyId": { + "description": "Unique identity of the associated currency.", "type": "string", "pattern": "^[0-9a-f]{32}$" }, "gross": { - "description": "", + "description": "Gross regulation price for the associated currency.", "type": "number" }, "net": { - "description": "", + "description": "Net regulation price for the associated currency.", "type": "number" }, "linked": { - "description": "", + "description": "Whether gross and net regulation prices are linked through the tax configuration.", "type": "boolean" } },