Products | Prices
Search prices using available parameters in OmniumPriceSearchRequest.
NB! Only to be used when price index is enabled for tenant. Send email to support@omnium.no if you need more information. <br /> Sample request for a delta query:
POST /api/prices/search
{
"LastModified": "2019-11-21T17:32:28Z"
}
Sample request for prices for a specific customer in one or more markets:
POST /api/prices/search
{
"CustomerId": "CU12345",
"MarketIds": ["NOR", "SWE"]
}
Sample request for prices valid at a specific point in time (set ValidFrom and ValidUntil to the same timestamp):
POST /api/prices/search
{
"ProductCodes": ["SKU12345678"],
"ValidFrom": "2026-06-18T00:00:00Z",
"ValidUntil": "2026-06-18T00:00:00Z"
}
Samples response if the number of prices exceeds 1000 (totalHits).
<br />
Notice that the 'scrollId' property has been populated as totalHits exceeds 1000, meaning that you should use the scroll endpoint to fetch remaining prices
{
"totalHits": 41244,
"result": [
{
"marketId": "NOR",
"code": "SKU12345678",
"validFrom": "2020-01-01T00:00:00",
"validUntil": "2020-02-01T00:00:00",
"minQuantity": 0,
"unitPrice": 900,
"currencyCode": "NOK",
"customerId": "C-123",
"discountAmount": 100,
"discountPercent": 10,
"originalUnitPrice": 1000,
"recommendedRetailPrice": 2000
},
{
"marketId: "NOR",
...
}
],
"scrollId": "2f842421e06e4c60bb2c4f0d8b3ef60b"
}
Please note that if the total amount is larger than 1000 (or scrollSize if specified) , the response will contain a Scroll ID which can be used with the Scroll endpoint to fetch all remaining items.
post/api/Prices/Search
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/Prices/Search
- Auth: API key in header Authorization
Request body
Response
Search successful, returning prices
Changes
No recorded changes to this operation across all 1 revision of this API.