API Documentation

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

CONTENTS
RESOURCES
MACROS
VERBS
REPORTS
RESEARCH API

purchases

The /purchases resource describes purchases that have been entered into the system. A purchase is intended to be a group of items that were bought at the same time, in one trasaction. Using purchases allows for some reporting by supplier, date, etc

purchase Objects

id Unique Identifier for this location
shortname A Short identifier for this purchase (Ie: Invoice Number)
date Date of the purchase
amount Total amount of the purchase
notes Text field for specific notes
status One of 'NEW', 'OPEN', or 'CLOSED'. Purchases that have been CLOSED to not allow modifications to the purchaseItems

Sample Purchase Object

{"status":"success","code":200,"httpCode":"200","user":"117","data":{"id":"16","shortname":"test Purchase","date":"2013-01-01","amount":"100","notes":"This purchase is OPEN for testing","status":"OPEN","pricingPlan":"","link":"https:\/\/api.sellerlabs.com\/v1\/purchases\/16"}}

Request Parameters

All parameters operate very RESTfully

Response Parameters

All parameters operate very RESTfully