The response has a property called status with value _OK_ for successful requests, _fail_ when an error occurs, or warning when some errors are found but a useful result can be returned. If a fail status is returned, a fatal error occurred and the request could not be fulfilled; as a consequence, no product recommendations are included in the response.
The API returns the following information to the client:
Parameters | Description | Column Title |
status | The status of the request (_OK_, _fail_, _warning_). |  |
errors | <br><br> "errors": […]<br><br> |  |
 | code | Error code |
 | message | Explanation of the error. |
warnings | <br><br> "warnings": […]<br><br> |  |
 | warning | <br><br> {"warning": "A warning message."}<br><br> |
smartRecs | <br><br> "smartRecs": […]<br><br> |  |
info | AB test info |  |
## Success response
If the status is different from _fail_, a success response is returned.
**Example**

## Failure response
If status is equal to _fail_ or _warning_, then an errors element is returned after the status property. The value is a list of the errors or warnings encountered. Example: