Voucher
Vouchers are mainly described by the voucher group they belong to. Shared vouchers can be redeemed multiple times and as such never changes its status to redeemed. Unique vouchers have unique codes for each user and can only be redeemed once.
voucherId ✓ | integer (as string)Unique ID of the voucher. Endpoints only ever use the |
---|---|
voucherGroupId ✓ | integer (as string)ID of the voucher group the voucher belongs to |
userId ✓ | integer (as string)
|
type ✓ | Voucher typeVoucher group type |
count | integer (as string)Number of time the voucher has been redeemed. Only available for shared vouchers. |
voucherCode ✓ | stringA unique string that gives access to this voucher |
status ✓ | Voucher status |
handoutBy ✓ | integer (as string)
|
createdBy ✓ | integer (as string)
|
updated ✓ | datetimeWhen the voucher was last updated (i.e. had its status changed) |
created ✓ | datetimeWhen the voucher was created |
The check mark ✓ indicates that the field always contains a valid non-empty value.
Comments/feedback
Do you have questions, or just want to contribute some newly gained insight? Want to share an example? Please leave a comment. Our team reads and responds to every question. Additionally, your experience can help others using Schibsted account, and it can help us continuously improve our documentation.