Skip to navigation

Create a voucher group

Create a group and the price its voucher holders would pay. The price is stored only; it is not applied to sessions.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
namestringRequired1-255 characters
pricingobjectRequired
Price voucher holders would pay. Not applied to sessions.
notesstring or nullOptional
customer_idinteger or nullOptional>=1

Response

The created object.
idinteger
organization_idstring
namestring
pricingobject
Price voucher holders would pay. Not applied to sessions.
created_atdatetime
updated_atdatetime
notesstring or nullOptional
customer_idinteger or nullOptional

Errors

401
Unauthorized Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error