put https://api.accelevents.com/rest/abandonment/cart/saveOrUpdate
This API is used to send cart data for the current order associated with the specified event. It will return data like the message, type.
To call this API, the user has to pass query param with API URL like email.
Response
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
message | This contains a message for response that can be used to display to end user. |
type | Type of api response. i.e Success or Fail. |
Error Code
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. |
4061302 | Entry for card abandonment already exists. |