Get voucher basis list
get
https://voucher-api.ancon.io/public/api/v1/Outlets/{outletId}/OrderVoucherBasesFiltering
Filter the list with filter[field]=operator:value; see how filtering works.
- created (datetime)
- status (enum)
- publisheddate (datetime)
- vouchernumber (int)
- recalculatedat (nullable datetime)
- outletid (guid)
Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
outletIdstring (uuid)required
Query parameters
Offsetinteger (int32)Limitinteger (int32)min 0, max 1000.
OrderstringSearchstringFiltermap<string, array<string>>
Filter takes filter[field]=operator:value on 6 fields. Build a filter
Header parameters
correlationIdstringCorrelation Id for the request
Responses
200OK
itemsarray<object> | null8 fields in
itemsidstring (uuid)createdstring (date-time)voucherNumberstring | nullUnique number for the voucher, will increment each day
statusinteger (int32)Allowed values:
0,1.publishedDatestring (date-time) | nullThe date and time when the voucher basis was published
standardPartobject | null12 fields in
standardPartpaymentMethodAmountnumber (double)paymentMethodCurrencystring | nullproductGroupAmountInclTaxnumber (double)productGroupCurrencyInclTaxstring | nullproductGroupAmountExclTaxnumber (double)productGroupCurrencyExclTaxstring | nullorderFeeAmountInclTaxnumber (double)orderFeeCurrencyInclTaxstring | nullorderFeeAmountExclTaxnumber (double)orderFeeCurrencyExclTaxstring | nulltaxAmountnumber (double)taxCurrencystring | null
invoicePartobject | null12 fields in
invoicePartpaymentMethodAmountnumber (double)paymentMethodCurrencystring | nullproductGroupAmountInclTaxnumber (double)productGroupCurrencyInclTaxstring | nullproductGroupAmountExclTaxnumber (double)productGroupCurrencyExclTaxstring | nullorderFeeAmountInclTaxnumber (double)orderFeeCurrencyInclTaxstring | nullorderFeeAmountExclTaxnumber (double)orderFeeCurrencyExclTaxstring | nulltaxAmountnumber (double)taxCurrencystring | null
mewsPartobject | null12 fields in
mewsPartpaymentMethodAmountnumber (double)paymentMethodCurrencystring | nullproductGroupAmountInclTaxnumber (double)productGroupCurrencyInclTaxstring | nullproductGroupAmountExclTaxnumber (double)productGroupCurrencyExclTaxstring | nullorderFeeAmountInclTaxnumber (double)orderFeeCurrencyInclTaxstring | nullorderFeeAmountExclTaxnumber (double)orderFeeCurrencyExclTaxstring | nulltaxAmountnumber (double)taxCurrencystring | null
metaobject | null2 fields in
metacountinteger (int32)offsetinteger (int32)
401Unauthorized