Operations
Create voucher
Creation of a voucher for an operation in UDS. If successful, you will receive information for printing the code and a link to the graphic display of the QR code of the voucher on the check.
Marketing policy
A prerequisite for using this functionality is to configure the loyalty program module in the settings of the UDS Business administrative panel (https://admin.uds.app/). You need to specify "Accrue bonus points" in the settings block "Discount method"
Errors
| Status | Error Code | Description |
|---|---|---|
| 400 | invalidChecksum | Discount method is not CHARGE_SCORES |
| 400 | invalidChecksum | Company charge scores rate is 0. |
| 400 | invalidChecksum | Given total less then or is equal to skipLoyaltyTotal |
post/operations/voucher
Request body
Response
Voucher