API Documentation

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


Common Parameters

Most SLAPI endpoints support various common parameters and have a consistent response format

Request to Collections

Parameter Explanation
modifiedSince Resources modified since the requested timestamp
offset Commonly used to paginate results. The zero-based offset parameter indicates at which record to start the responses. Defaults to zero.
limit Specify the maximum number of results you want in the result set. Most collections default to 50. Maximum of 100

Responses from Collections

All GET requests to collections return some metadata about the collection that may be useful for paginating results. The following format is found under the data element of the response

Sample response:
    HTTP/1.1 200 OK
Content-Length: 0
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: application/json

    "status" :"success",
    "code": 200,
    "httpCode": "200",
    "user": "117",
    "data": {
        "offset": 0,
        "limit": 50,
        "count": "1",
        "next": "",
        "prev": "",
        "first": "https:\/\/api.sellerlabs.com\/v1\/venues?offset=0&limit=50",
        "last": "https:\/\/api.sellerlabs.com\/v1\/venues?offset=0&limit=50",
        "pages": 1,
        "venues": {
            "1": {
                "id": "1",
                "type": "amazon",
                "merchantId": "ABC123",
                "name": "Amazon.com - Your Seller Name",
                "created": "2013-12-02T12:03:24-05:00Z",
                "modified": "2013-12-02T12:03:24-05:00Z",
                "status": "ACTIVE"
Response variables overview:
offset The offset specified in the request. Defaults to zero
limit The limit specified in the request. Defaults to 50
count The total number of objects in the complete result set
prev URI to the prev "page" of results. Blank if none are available
next URI to the next "page" of results. Blank if none are available
first URI to the first "page" of results.
last URI to the last "page" of results.
page Total number of pages of results