This API is used to update triggered for exit intent popup associated with the specified event. It will return data like orderId.
To call this API, the user has to pass query param with API URLs like eventUrl, orderId, and authentication key to authenticate the user.
Here is the description of response attributes, which returns to the form of JSON.
|orderId||This will return the order id which can be used to get form data and do checkout.|
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
|Error Code||Error Description|
|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.|
|40600013||Cant create url|
|4040200||No Event could be found|