post https://api.zenoti.com/v1/workshops//registrations
Purpose: Use this API to register a guest to a workshop.
You must specify workshop_id
, along with the body params track_id
, guest_id
, and center_id
.
Response Object
Name | Type | Description |
---|---|---|
registrations | object | Object containing the registration details of the guest. |
registrations Object
Name | Type | Description |
---|---|---|
id | id | Identifier of the guest's registration |
status | enum | Status of the registration. |
error Object
Code | Message | Description |
---|---|---|
1004 | SessionId/Workshop Details/user id/ center id were not passed. Please check the input params. | Error occurs when the body params are not passed. |
1001 | Workshop is invalid | When the workshop_id is invalid. |
502 | The track passed is not associated with the passed workshop | When the track_id is not associated with the workshop. |
1010 | Guest is already enrolled to the workshop or is on the waiting list | When the guest is already enrolled. |
1009 | Workshop is not open for registrations, cannot add guest to waitlist | When the workshop is not yet open for registrations or waitlist entries. |
1009 | Workshop is not open for registrations, cannot register to class | When the workshop is not yet open for registrations. |
1011 | Workshop capacity exceeded, cannot register to Workshop | When the capacity of the workshop is met and cannot accomodate additional registrations. |