The Seller Labs API (SLAPI) provides a way to interact with your Seller Labs account. SLAPI is built around the REST Architectural Style.
The REST Style uses HTTP verbs to indicate the desired operation. If your HTTP client doesn't support PUT and DELETE
methods, you may override the actual HTTP Method by using a
_method= query parameter such
POST https://api.sellerlabs.com/v1/orders?_method=PUT HTTP/1.1
|Collection, such as /orders||List the URIs and abreviated details of the objects in the collection||Not supported by SLAPI||Create a new object in the collection. The new object's URI is assigned automatically and is returned as the Location header in the HTTP 201 response.||Not available with SLAPI|
|Object, such as /orders/abc-123||Retrieve a representation of the addressed member of the collection||Replace the addressed member of the collection, or if it doesn't exist, create it.||UPDATE the member of the collection with the new data||Delete the addressed member of the collection.|
The PUT and DELETE methods are idempotent methods. The GET method is a safe method (or nullipotent), meaning that calling it produces no side-effects.
We use HTTP status codes to determine high-level status codes. See Error Messages for more details about error responses
Currently all requests to SLAPI return the response in a JSON format. Please Contact Us if you need a different response format.