mba-cli voucher

3 commands

Read vouchers (key-scoped)

Synopsis#

bash
mba-cli voucher <command> [flags]

Available commands#

mba-cli voucher getGet one voucher by id
Retrieve a voucher by id Returns the voucher with the given `id`. Related: `List vouchers`. Get one voucher by id
--idstringVoucher record id
mba-cli voucher get-by-codeGet one voucher by voucher code
Retrieve a voucher by code Returns the voucher with the given `voucherCode`. Related: `List vouchers`. Get one voucher by voucher code
--codestringVoucher code
--team-idstringTeam id scoping the lookup
mba-cli voucher lsList vouchers
List vouchers Returns the vouchers for the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`; filter by team. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Retrieve a voucher by code`. List vouchers
--allbool = falseReturn all vouchers (paginate=false)
--limitint = 20Items per page
--pageint = 1Page number
Was this page helpful?