top of page

Kiwire 3.0 API Documentation      >        Voucher  

Kiwire 3.0 API Documentation - Voucher

 

Create

Use POST method to create new subordinate resources.

 

Example request URIs

[POST] https://{{kiwire_ip}}/api/voucher/

Parameters Required

API 11.png

delete

Use DELETE method as the name applies to delete resources.

 

Example request URIs

[DELETE] https://{{kiwire_ip}}/api/voucher/{{id}}/

 

get

Use GET method to retrieve resource information only and not to modify it in any way.

 

Example request URIs

[GET] https://{{kiwire_ip}}/api/voucher/

[GET] https://{{kiwire_ip}}/api/voucher/{{id}}/

[GET] https://{{kiwire_ip}}/api/voucher/{{offset}}/{{limit}}/{{column}}/{{order}}/

Parameters Required

API 12.png

NOTE:

For GET method, if {{offset}}, {{limit}}, {{column}}, and {{order}} not provided then Kiwire will return default value eg :

https://{{kiwire_ip}}/api/voucher/0/10/id/desc/

bottom of page