Skip to content

GET.INVENTORY

This endpoint retrieves Inventory Detail as a JSON encoded repsonse.

POST Request Attributes

AttributeDescriptionRequired
atokenAuthorization token to allow access to the service and dictate what inventory and fields will be returned✔️
entityThis tells the api what database to use✔️
debugIf flag is set then error messages will be more verbose. Also used for internal testing

Example Request

javascript
{
    "atoken" : "atoken",
    "entity" : "entity",
    "debug"  : "0"
}

Example Response

AttributeDescription
idInternal Inventory ID
statusStatus Code
descDescription
mfgrManufacturer Internal Number
styleStyle Code
colorColor Code
sizeSize Code
rtl.priceRetail Unit Price
taxableTaxable Flag
vendorsVendor Array
vend.idInternal Vendor ID
vend.catVendor Catalog Number
vend.listVendor Suggested List Price
vend.costVendor Cost
classClass Code
qohQuantity On Hand
serialSerial Number Array
Javascript
{
    "inventory": [
        {
            "id": "1*103179200301",
            "status": "A",
            "desc": "MATRIX WITH SERIAL NUMBERS",
            "mfgr": "445",
            "style": "",
            "color": "RED",
            "size": "MD",
            "rtl.price": "2195",
            "taxable": "",
            "vendors": [
                {
                    "vend.id": "445",
                    "vend.cat": "",
                    "vend.list": "1995",
                    "vend.cost": "113500",
                },
            ],
            "class": "401",
            "qoh": "5",
            "serial": [
                "X1",
                "X2",
                "X3",
                "TEST333",
                "TEST334",
            ],
        },
        {
            "id": "1*103179200302",
            "status": "A",
            "desc": "MATRIX WITH SERIAL NUMBERS",
            "mfgr": "445",
            "style": "",
            "color": "RED",
            "size": "LG",
            "rtl.price": "2195",
            "taxable": "",
            "vendors": [
                {
                    "vend.id": "445",
                    "vend.cat": "",
                    "vend.list": "1995",
                    "vend.cost": "113500",
                },
            ],
            "class": "401",
            "qoh": "5",
            "serial": [
                "T3",
                "TEST211",
                "TEST212",
                "TEST213",
                "TEST344",
            ],
        },
    ]
}