1. Home
  2. API v2.0
  3. Inventory Items
  4. View Inventory Item

View Inventory Item

Method: /items/[id].[format]

Syntax

https://[subdomain].salesbinder.com/api/2.0/items/[id].json

HTTP Request Type: GET

Sample Returned JSON Data

{
    "item": {
        "name": "Motivate Pant",
        "quantity": 42,
        "threshold": 4,
        "cost": 80,
        "price": 98,
        "description": "Sample description for this item.",
        "sku": "83775",
        "serial_number": "",
        "item_number": 507,
        "barcode": "948748597",
        "published": true,
        "id": "54d7e076-96fc-4937-9eb8-0db0a2d10228",
        "category_id": "54f60687-c5fc-4182-bd7d-0dd26882ca98",
        "modified": "2016-11-09T21:34:43+00:00",
        "created": "2015-02-08T22:17:26+00:00",
        "suppliers": [
            {
                "name": "Lulu Importers",
                "customer_number": 545,
                "id": "54ac6027-d7e0-4a87-91a8-03dba2d10228",
                "_joinData": {
                    "id": "58239673-bc60-4de7-a6d4-405c6882ca98",
                    "customer_id": "54ac6027-d7e0-4a87-91a8-03dba2d10228",
                    "item_id": "54d7e076-96fc-4937-9eb8-0db0a2d10228"
                }
            }
        ],
        "unit_of_measure": {
            "id": "4dd3e070-5c03-11e1-b47b-4040248327e7",
            "full_name": "Items",
            "short_name": "item(s)"
        },
        "images": [
            {
                "id": "54d7e071-e96c-47a5-91a8-0d72a2d10228",
                "filename": "54d7e071-8e8c-43c1-98c3-0d72a2d10228.png",
                "weight": null,
                "url_small": "https://..truncated../0d72a2d10228_75x100.png",
                "url_medium": "https://..truncated../0d72a2d10228_400x500.png",
                "url_original": "https://..truncated../0d72a2d10228.png"
            }
        ],
        "location": null,
        "item_variations": [
            {
                "id": "54e679a7-b304-47e6-99c5-29446882ca98",
                "item_id": "54d7e076-96fc-4937-9eb8-0db0a2d10228",
                "quantity": 0,
                "item_variations_locations": [
                    {
                        "id": 125921,
                        "item_variation_id": "54e679a7-b304-47e6-99c5-29446882ca98",
                        "location_id": "54b6cca7-22ac-4e96-9b7b-03ffa2d10228",
                        "quantity": 8,
                        "threshold": 0
                    },
                    {
                        "id": 125947,
                        "item_variation_id": "54e679a7-b304-47e6-99c5-29446882ca98",
                        "location_id": "54e7b905-be10-4657-b1d8-29446882ca98",
                        "quantity": 0,
                        "threshold": 0
                    },
                    {
                        "id": 125973,
                        "item_variation_id": "54e679a7-b304-47e6-99c5-29446882ca98",
                        "location_id": "54e917c4-440c-4779-91c1-0dd26882ca98",
                        "quantity": 0,
                        "threshold": 0
                    }
                ]
            }
        ],
        "item_details": [
            {
                "id": "54d7e076-b188-4212-b739-0db0a2d10228",
                "item_id": "54d7e076-96fc-4937-9eb8-0db0a2d10228",
                "custom_field_id": "54f60687-ff18-4874-9dcc-0dd26882ca98",
                "value": "Black",
                "modified": "2016-11-09T21:34:43+00:00",
                "created": "2015-02-08T22:17:26+00:00",
                "custom_field": {
                    "name": "Colour",
                    "publish": true
                }
            },
            {
                "id": "54d7e076-d0bc-469e-97ec-0db0a2d10228",
                "item_id": "54d7e076-96fc-4937-9eb8-0db0a2d10228",
                "custom_field_id": "54f60687-7e54-4442-ba20-0dd26882ca98",
                "value": "Small",
                "modified": "2016-11-09T21:34:43+00:00",
                "created": "2015-02-08T22:17:26+00:00",
                "custom_field": {
                    "name": "Size",
                    "publish": true
                }
            }
        ]
    }
}

Sample Returned XML Data

<?xml version="1.0" encoding="UTF-8" ?>
<response>
    <item>
        <name>Motivate Pant</name>
        <quantity>42</quantity>
        <threshold>4</threshold>
        <cost>80</cost>
        <price>98</price>
        <description>Sample description for this item.</description>
        <sku>83775</sku>
        <serial_number/>
        <item_number>507</item_number>
        <barcode>948748597</barcode>
        <published>1</published>
        <id>54d7e076-96fc-4937-9eb8-0db0a2d10228</id>
        <category_id>54f60687-c5fc-4182-bd7d-0dd26882ca98</category_id>
        <modified>11/9/16, 9:34 PM</modified>
        <created>2/8/15, 10:17 PM</created>
        <suppliers>
            <name>Lulu Importers</name>
            <customer_number>545</customer_number>
            <id>54ac6027-d7e0-4a87-91a8-03dba2d10228</id>
            <_joinData>
                <id>58239673-bc60-4de7-a6d4-405c6882ca98</id>
                <customer_id>54ac6027-d7e0-4a87-91a8-03dba2d10228</customer_id>
                <item_id>54d7e076-96fc-4937-9eb8-0db0a2d10228</item_id>
            </_joinData>
        </suppliers>
        <unit_of_measure>
            <id>4dd3e070-5c03-11e1-b47b-4040248327e7</id>
            <full_name>Items</full_name>
            <short_name>item(s)</short_name>
        </unit_of_measure>
        <images>
            <id>54d7e071-e96c-47a5-91a8-0d72a2d10228</id>
            <filename>54d7e071-8e8c-43c1-98c3-0d72a2d10228.png</filename>
            <weight/>
            <url_small>https://..truncated../0d72a2d10228_75x100.png</url_small>
            <url_medium>https://..truncated../0d72a2d10228_400x500.png</url_medium>
            <url_original>https://..truncated../0d72a2d10228.png</url_original>
        </images>
        <location/>
        <item_variations>
            <id>54e679a7-b304-47e6-99c5-29446882ca98</id>
            <item_id>54d7e076-96fc-4937-9eb8-0db0a2d10228</item_id>
            <quantity>0</quantity>
            <item_variations_locations>
                <id>125921</id>
                <item_variation_id>54e679a7-b304-47e6-99c5-29446882ca98</item_variation_id>
                <location_id>54b6cca7-22ac-4e96-9b7b-03ffa2d10228</location_id>
                <quantity>8</quantity>
                <threshold>0</threshold>
            </item_variations_locations>
        </item_variations>
        <item_details>
            <id>54d7e076-b188-4212-b739-0db0a2d10228</id>
            <item_id>54d7e076-96fc-4937-9eb8-0db0a2d10228</item_id>
            <custom_field_id>54f60687-ff18-4874-9dcc-0dd26882ca98</custom_field_id>
            <value>Black</value>
            <modified>11/9/16, 9:34 PM</modified>
            <created>2/8/15, 10:17 PM</created>
            <custom_field>
                <name>Colour</name>
                <publish>1</publish>
            </custom_field>
        </item_details>
        <item_details>
            <id>54d7e076-d0bc-469e-97ec-0db0a2d10228</id>
            <item_id>54d7e076-96fc-4937-9eb8-0db0a2d10228</item_id>
            <custom_field_id>54f60687-7e54-4442-ba20-0dd26882ca98</custom_field_id>
            <value>Small</value>
            <modified>11/9/16, 9:34 PM</modified>
            <created>2/8/15, 10:17 PM</created>
            <custom_field>
                <name>Size</name>
                <publish>1</publish>
            </custom_field>
        </item_details>
    </item>
</response>
Was this article helpful to you? Yes 2 No