Cookie Consent by Free Privacy Policy Generator Update cookies preferences

All PUT and POST endpoints can return any of the following errors:

HTTP Status CodeerrorCodeDescription
Bad Request
invalid_jsonThe request body contains invalid or improperly formatted JSON.
unauthorizedInvalid Merchant API credentials were passed in the Authorization header.
Method Not Allowed
method_not_allowedThe request was made using an unacceptable HTTP Method. Depending on the endpoint, only PUT or POST requests will be allowed. Use the OPTIONS HTTP Method to determine which methods are allowed for each endpoint.
Not Acceptable
errorThe request included an Accept header for something other than application/json or */*.
Unsupported Media Type
errorThe request did not include a Content-Type header, or its value was anything other than application/json.
Internal Server Error
errorA common cause of this response from PUT/POST endpoints is that the request body is missing or empty.