v1

latestSwagger 2.02026-08-045928532.7 MB
Vouchers

post/api/v1.0/{appId}/vouchers/{voucherId}/usage

Path parameters

appIdstring required
voucherIdinteger required

Request body

IsUsedboolean

Flag indicating whether the voucher is used

UsedByCustomerIdinteger nullable

Indicates Customer that used the voucher.

TransactionKeystring

An opaque string, to ensure idempotency. This allows for safely retrying requests without accidentally performing the same stamp operation twice. This will typically contain the the ID of the sale order.

Response

OK