Here is the description of response attributes, which returns to the form of JSON.
This will return a success message if API is executed successfully.
|type||This type of API response is Success or Fail.|
|message||This contains a message for response that can be used to display to the end user.|
Here are the possible error messages, which return if any condition fails or required data is missing for processing.
|Error Code||Error Description|
|200||Email has been successfully sent.|
|400||The request could not be understood by the server due to malformed syntax.|
|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.|
|4030201||Not Event Host.|
|4040501||Order you are looking for is not found.|