API Documentation

This service is in BETA. For access please Fill out the application

CONTENTS
RESOURCES
MACROS
VERBS
REPORTS

Overview

The Seller Labs API (SLAPI) provides a way to interact with your Seller Labs account. SLAPI is built around the REST Architectural Style.


HTTP Methods

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 as:

    POST https://api.sellerlabs.com/v1/orders?_method=PUT HTTP/1.1
Method overview:
Resource GET PUT POST DELETE
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.

Error Handling

We use HTTP status codes to determine high-level status codes. See Error Messages for more details about error responses

Response Format

Currently all requests to SLAPI return the response in a JSON format. Please Contact Us if you need a different response format.