put https://api.zenoti.com/v1/workshops//registrations//cancel
Purpose: The purpose of this API is to cancel the guest's registration for a workshop.
You must provide a unique identifier for the workshop_id and the registration_id. The API call then cancels the workshop registration of a guest.
error Object
Message | Code | Description |
---|---|---|
Something went wrong. Message: The invoice for the registration is closed. Please reopen the invoice and try again. | 1035 | This error message appears when you are trying to cancel the guest's registration on a workshop for which the invoice is already closed. |
Invalid registration | 1004 | This message appears when the registration_id is invalid. |
Workshop not found | 1001 | This message appears when the workshop_id is invalid. |
The passed workshop is not associated with given registration | 1004 | This message appears when the workshop_id and the registration_id are not associated with each other. |