v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Vouchers

Application of a voucher

Sets a voucher as applied.

post/vouchers/{voucher_id}/actions/apply-voucher

Path parameters

voucher_idstring required

The unique ID of the voucher.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

store_idstring

The unique ID of the store where voucher was applied.

date_appliedstring required

Date (ISO 8601) of voucher application. (YYYY-MM-DD HH:MM:SS)

Example request

{
  "store_id": "81eaeea13b8984a169c490a325",
  "date_applied": "2023-03-29 10:00:00"
}

Response

No Content