Avisi cloud logo
Vouchers

Use Voucher

POST
/api/v1/orgs/{organisationSlug}/vouchers/use

Path Parameters

organisationSlugstring
Match^[a-z0-9-_]+$
codestring
Length1 <= length

Response Body

curl -X POST "https://api.avisi.cloud/api/v1/orgs/string/vouchers/use" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "string"
  }'
Empty
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}