put https://api.accelevents.com/rest/host/ticketing//setOrderConfirmationEmail
This API is used to set the order confirmation email. API is used at host side event admin and super admin can access this API. It will return data like enabledOrderConfirmationEmail.
To call this API, user will have to pass request param with API URL like enableOrderConfirmationDto and authentication key to authenticate user.
Here is the description of response attributes, which returns to the form of JSON.
Attributes | Description |
---|---|
isEnabledOrderConfirmationEmail | This field returns a boolean value for Enabled Order Confirmation Email. This checks whether the order confirmation email is enabled. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Successfully set order confirmation email data |
201 | Created |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4040200 | Event Not Found |
4060055 | Ticket not found. |
4030201 | Not Event Host |