Error details
A guide to error responses for Merchandising API endpoints
Campaign content error responses
Response Code | Response Type | Type | Message |
---|---|---|---|
200 | OK | Array of deal response parameters | Array of deal response parameters |
400 | Invalid Input | invalid_input | An invalid request was sent in, please check the nested errors for details. |
401 | Unauthorized | request_unauthenticated | Data required to authenticate your request is missing or inaccurate. Ensure that your request follows the guidelines in our documentation. |
403 | Forbidden | request_unauthorized | Your request could not be authorized. |
410 | Gone | link.expired | The link you followed has expired. Please build a new request to restart pagination. |
426 | Upgrade Required | upgrade_required | This service requires the use of TLS. |
429 | Too Many Requests | too_many_requests | You have reached your capacity for this type of request. |
500 | Internal Server Error | unknown_internal_error | An internal server error has occurred. |
503 | Service Unavailable | service_unavailable | This service is currently unavailable. |
Promotions error responses
Response Code | Response Type | Type | Message |
---|---|---|---|
200 | OK | Array of promotion response parameters | Array of deal response parameters. If no deals match request returns an empty array. |
400 | Invalid Input | invalid_input | An invalid request was sent in, please check the nested errors for details. |
401 | Unauthorized | request_unauthenticated | Data required to authenticate your request is missing or inaccurate. Ensure that your request follows the guidelines in our documentation. |
403 | Forbidden | request_unauthorized | Your request could not be authorized. |
410 | Gone | link.expired | The link you followed has expired. Please build a new request to restart pagination. |
426 | Upgrade Required | upgrade_required | This service requires the use of TLS. |
429 | Too Many Requests | too_many_requests | You have reached your capacity for this type of request. |
500 | Internal Server Error | unknown_internal_error | An internal server error has occurred. |
503 | Service Unavailable | service_unavailable | This service is currently unavailable. |