cURL
curl --request POST \ --url {schemes}://api.upsun.com/organizations/{organization_id}/vouchers/apply \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "code": "<string>" } '
{ "status": "<string>", "message": "<string>", "code": 123, "detail": {}, "title": "<string>" }
Applies a voucher for the specified organization, and refreshes the currently open order.
The ID of the organization.
The voucher code.
No Content