Add or update priceListItems. PriceListId is required on the items. If the priceList does not exist, items will be ignored.
Request
- Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
- URL: https://api.omnium.no/api/PriceLists/AddPriceListItems
- Auth: API key in header Authorization
Request body
The Id of the price list this item is linked to
Optional: If the price list item should apply on variant level, specify the sku id.
If skuId is provided, this will be calculated. If not, the priceListItem will apply on product level, and the ProductId is requred.
The unit price of the item
The cost price in cost currency
Calculated: The cost price in the price lists currency
Optional per-item override for the cost currency. When set, the price-list-level cost currency is ignored for this item. If provided without CostCurrencyExchangeRate, the rate is resolved server-side via the currency service.
Optional per-item override for the cost currency exchange rate to the price list currency. When omitted but CostCurrencyCode is set, the rate is resolved server-side via the currency service.
Name of the price list item
Time the item was created
The discount for the price list item
Calculated: The given discount in percentage
Calculated: UnitPrice - Discount
Calculated: UnitPriceExTax - CostInPriceListCurrency
Calculated: Profit/Cost
Calculated: Profit/UnitPriceExTax
Calculated: True if the price is activated for the sku. Is set to active when price list is activated.
Calculated: {PricelistId}_{SkuId}
Optional tax rate override for this item. If null, the price list's tax rate is used. Useful when specific products have a different tax rate than the price list default (e.g. 0% for used goods).
Tags for categorizing/labeling price list items (e.g. "Last Chance", "Clearance"). Downstream systems can use these tags for display logic.
Cost discount amount
Calculated: Cost discount as percentage
Calculated: Cost after discount
Calculated: Base unit price before adjustments
Store cost price in price list currency
Store cost discount amount, in price list currency
Calculated: Store cost discount as percentage of StoreCostPrice
Calculated: Store cost price after the store cost discount
Calculated: the addition on discounted cost that the store cost price represents. Only used as an input when StoreCostPrice is not set.
Calculated: Store margin against the ex-tax selling price: (DiscountedPrice ex tax - StoreCostPrice) / DiscountedPrice ex tax * 100
Standard cost in cost currency. User-settable via public API.
Standard cost in price list currency. Recomputed by the server from StandardCost x CostCurrencyExchangeRate; values set by the caller are overwritten.
Standard cost reduced by the absolute CostDiscount amount. Does not factor in CostDiscountPercent. Calculated server-side; values set by the caller are ignored.
Discounted standard cost in price list currency. Calculated server-side from the absolute CostDiscount; values set by the caller are ignored.
Planned sales volume (units) - primary planning input
Planned revenue calculated from PlannedSalesVolume x DiscountedPrice
Optional internal comment for planning context
Planned purchase volume (units) - expected purchasing quantity for the campaign
Optional internal comment for purchase planning context
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.