API Documentation

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

CONTENTS
RESOURCES
MACROS
VERBS
REPORTS
RESEARCH API

Move item /v1/doMoveItem

The doMoveItem macro is the way to receive new inventory, move inventory between locations, or to assign it to an order.

Before making any changes it performs some validations to ensure that the function will be able to proceed correctly


Sample Request

The following request asks the API to move one item "TEST1-TEST" on from location 14 to location 22:

    POST https://api.sellerlabs.com/v1/doMoveItem HTTP/1.1
Content-Type: application/json;charset=UTF-8

{
    "msku":"TEST1-TEST",
    "quantity":1,
    "fromLocationId":14,
    "toLocationId":22
}

Request Parameters

msku REQUIRED The msku of the item that you'd like to send to FBA
quntity REQUIRED The quantity of the item that you'd like to send to FBA
fromLocationId ONE of the from* parameters is required. fromLocationId will move items from the specification locationId. The fromLocationId must have at least the specified quantity or the request will fail
fromPurchaseId ONE of the from* parameters is required. fromPurchaseId will update the purchaseItem qtyReceived for the purchase Id. It requires that a purchaseItem exists for the specified msku on the specified purchaseId. In the future, we may allow you to pass a cost= parameter and have the purchaseItem created on the fly
toLocationId REQUIRED - the location ID to which the item will be moved

Sample Response

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

{
    "status": "success",
    "code": 200,
    "httpCode": "200",
    "user": "123",
    "data": {
        "id": "662",
        "msku": "TEST1-TEST",
        "locationId": "22",
        "quantity": "1",
        "modified": "2014-07-19T23:26:39Z",
        "acknowledged": null,
        "link": "http:\/\/api.sellerlabs.com\/v1\/itemLocations\/662"
    }
}

Response Parameters

Returns the itemLocation for the destination location