As you make these requests, you'll see responses indicating what's happening on the other side of the wire. The following is a list of common status codes you'll see in response to the Commerce API, and what they mean.
The request was successful and the response body contains the representation requested.
The request was successful, we created a new resource and the response body contains the representation, or in some cases the unique identifier for the resource created.
The request was successful but there is no response to display.
The supplied credentials, if any, are not sufficient to access the requested resource.
The requested resource wasn't found.
Internal Server Error
We couldn't return the representation due to an internal server error - this one is The Commerce API's fault!
Indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions. Typically occurs when a resource is in a status that prohibits the requested action.
Updated over 1 year ago