API Documentation

Inventory ItemsAdd Inventory Item

Method: /items.[format]
Document Fields:
NameData TypeDescription
nameStringItem Name
descriptionStringOptional description of item
serial_numberStringItem Serial Number (for unique items)
SKUStringStock Keeping Unit
multipleInteger0 = Unique Item, 1 = Quantity Item
thresholdIntegerLow Quantity Threshold
costDecimalItem/Unit Cost
priceDecimalSelling price of item/unit
quantityIntegerItems in stock (unique items should have 1)
location_idStringLocation ID
category_idStringCategory ID
unit_of_measure_idStringUnit of Measure ID
Permissions Required:
  • Modify Inventory
Syntax:
https://[subdomain].salesbinder.com/api/2.0/items.json
HTTP Request Type: POST
Example JSON Data to Submit
{
   "item": {
      "name":"My First API Added Item",
      "description":"Hello world.",
      "serial_number":"123456",
      "sku":"ABC123",
      "multiple":"1",
      "quantity":"14.00",
      "threshold":"2",
      "cost":"1200.00",
      "price":"1500.00",
      "category_id":"54f53d13-aa14-48e2-974f-29436882ca98"
   }
}
Example XML Data to Submit
<item>
  <name>My Second API Added Item</name>
  <description>Hello world.</description>
  <serial_number>123456</serial_number>
  <sku>ABC123</sku>
  <multiple>1</multiple>
  <quantity>14.00</quantity>
  <threshold>2</threshold>
  <cost>1200.00</cost>
  <price>1500.00</price>
  <category_id>54f53d13-aa14-48e2-974f-29436882ca98</category_id>
</item>
Success:

If you have been successful in saving a new item, the response will return the newly created data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response
{
    "message": "Saved",
    "item": {
        "name": "My First API Added Item",
        "description": "Hello world.",
        "serial_number": "123456",
        "sku": "ABC123",
        "multiple": true,
        "quantity": 14,
        "threshold": 2,
        "cost": 1200,
        "price": 1500,
        "category_id": "54f53d13-aa14-48e2-974f-29436882ca98",
        "account_id": "4d76bc2e-b198-4bd6-95f5-7439b86a92d9",
        "item_number": 5285,
        "created": "2016-11-11T00:50:35+00:00",
        "modified": "2016-11-11T00:50:35+00:00",
        "id": "8eb67f97-8ec1-4ec5-ae49-87be9dec43b0"
    }
}

Updated on February 8th, 2022

Network Status:
100% Global Availability