Skip to main content
POST
/
organizations
/
{organization_id}
/
vouchers
/
apply
Apply voucher
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>"
}
'
{
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.upsun.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string<ulid>
required

The ID of the organization.

Body

application/json
code
string
required

The voucher code.

Response

No Content

Last modified on May 7, 2026