API Documentation

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

CONTENTS
RESOURCES
MACROS
VERBS
REPORTS
RESEARCH API

itemLocationHistory

The /itemLocationHistory resource contains information about the movement of inventory through the system. Data is automatically added to itemLocationHistory whenever a PUT or POST request is made to itemLocations (including changes made indirectly through macros)

itemLocationHistory Objects

id Unique Identifier for this event
msku msku of the Item
locationId locationId for this specific itemLocation
change The quantity of items that were changed (may be positive if items were added and negative if removed)
text A short text explanation of why this event occurred
timestamp The time at which the event occurred
referenceType The type of event that triggered this change (ie: purchase, or order)
referenceId A Reference ID that triggered this change (ie: purchaseId or orderId)
clientId The clientId that made this change
userId userId of the user that made this change

Request Parameters

Any of the object attributes used above can be used in a GET request

Example: get the movement history for a specific SKU

https://api.sellerlabs.com/v1/itemLocationHistory?msku=abc-123


Example: get the movement history for a particular order ID

https://api.sellerlabs.com/v1/itemLocationHistory?referenceType=order&referenceId=1-107-75839487-19385756