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>"
}
'
{
  "status": "<string>",
  "message": "<string>",
  "code": 123,
  "detail": {},
  "title": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

organization_id
string<ulid>
required

The ID of the organization.

Body

application/json
code
string
required

The voucher code.

Response

No Content