Insights

Daily product sales per store, grouped by top-level category. Returns the top 20 SKUs per category by revenue.

post/api/Insights/Products

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/Insights/Products
  • Auth: API key in header Authorization

Request body

fromDatestring date-time

Start of the date range (inclusive), in the tenant's timezone.

toDatestring date-time

End of the date range (inclusive), in the tenant's timezone.

storeIdstring nullable

Optional internal Omnium store ID to filter results to a single store.

Response

Success

datestring nullable

The day this row covers, formatted as yyyy-MM-dd in the tenant's timezone.

storeIdstring nullable

The internal Omnium store ID.

categoryIdstring nullable

Top-level category ID (Product.MainCategoryLevel1).

categoryNamestring nullable

Top-level category name.

skustring nullable

The SKU identifier from the order line.

productNamestring nullable

Product name as captured on the order line.

quantitySoldnumber

Sum of order-line Quantity for this SKU within the bucket.

revenuenumber

Sum of order-line ExtendedPrice (incl. VAT) for this SKU within the bucket.

Changes

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