Insights

Daily order statistics per store split by customer-club membership (member vs non-member). Guest orders count as non-member.

post/api/Insights/Loyalty/Orders

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/Loyalty/Orders
  • 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.

memberOrdersinteger

Unique orders where Customer.IsCustomerClubMember = true at time of order.

memberRevenuenumber

Sum of order-line ExtendedPrice (incl. VAT) for member orders.

nonMemberOrdersinteger

Unique orders where Customer.IsCustomerClubMember is false, missing, or no customer is attached (guest orders).

nonMemberRevenuenumber

Sum of order-line ExtendedPrice (incl. VAT) for non-member and guest orders.

Changes

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