Get voucher history¶
/api/v1.0/LoyaltyVault/Account/{accountNumber}/Vouchers/{voucherId}/History
The API call returns the voucher history for a specific voucher number.
Request parameters¶
For the voucher history API call, the following additional parameter is added.
AccountNumberThe loyalty vault accountVoucherIdThe voucher ID is a compulsory parameter as the voucher history is returned for the specific voucher. The field should be populated with the voucher serial number
Response¶
[
{
"dateTime": "2024-12-10T09:51:12.186Z",
"operatorId": "string",
"shopId": "string",
"posId": "string",
"receiptNr": "string",
"status": "Created",
"comment": "string"
}
]
DateTimeDate and time when the point movement occurred.Operator IDThe POS operator. For the web store, this could be blank.ShopIdThe store ID. For the web store, this could be blank.PosIdThe terminal ID where the transaction was created or blank for the web store.ReceiptnrThe sales receipt number / Online order number.StatusThe voucher status, e.g., Created, Active or Expired.CommentAdditional information for the movement, for example, that the voucher was ‘Auto converted’ or ‘Auto expired’.