API endpoint:
https://www.vouchersystem.codesett.com/api/v1/vouchers
Request example:
curl --location --request GET 'https://www.vouchersystem.codesett.com/api/v1/vouchers' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bycode for Code. Defaults to: code.favoritesort_byid for Date created, code for Code. Defaults to: id.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://www.vouchersystem.codesett.com/api/v1/vouchers/{id}
Request example:
curl --location --request GET 'https://www.vouchersystem.codesett.com/api/v1/vouchers/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'