Vouchers

Search for vouchers

post/api/Vouchers/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/Vouchers/Search
  • Auth: API key in header Authorization

Request body

takeinteger

Paged search - max number of invoices to return

pageinteger

Paged search - page

customerIdsstring[] nullable

Search Vouchers by customerIds

statusesstring[] nullable

Search Vouchers by statuses [Available, Applied, Redeemed, Expired]

sortOrderstring nullable

Sort result. Available options [CreatedAscending, CreatedDescending, ModifiedAscending, ModifiedDescending, ExpiryDateAscending, ExpiryDateDescending]

Response

Success

totalHitsinteger

Total number of hits

scrollIdstring nullable

The Scroll ID is used when fetching large amounts of data. Whenever the search results yields a ContinuationToken, the Scroll endpoints should be used to continue fetching documents

isValidboolean

Deprecated

Changes

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