Browse Documentation
GET Get item

List All Items

Get a list of all items

GET /items


Request

      
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://app.accounteer.com/api/v0.1/items/


     

Get List Of Tracked Item With Quantity on hand Below Reorder point:

Note: To retrieve list of tracked items with Quantity on Hand below the Reorder Point, You can pass the optional `low_stock` as query as demonstrated below.

      
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://app.accounteer.com/api/v0.1/items/?low_stock


     

Response

[  
   {  
      "id":"ea5aa6f73fcb434ac9172cd6ca6b3ab560da51ee",
      "organization_id":"63563de311606b6528fdf949b7c9128afba414d3",
      "title":"item name",
      "description":"item description",
      "sales_price":"120.00",
      "purchase_price":"100.00",
      "show_invoices":true,
      "show_purchases":true,
      "tracked": true,
      "reorder_point": 10
      "tax":null,
      "gl_account_sales":{  
         "id":"cd48f5ccfd5069c7e5f066404c0e372bec1ccca1",
         "code":"4000",
         "title":"Sales",
         "description":null
      },
      "gl_account_purchases":{  
         "id":"10a2d9acddf01204756487a6775e3db1a37f1f92",
         "code":"6000",
         "title":"Productive labor",
         "description":null
      },
      "sale_tax": {
        "id": "fd62ee6c1d65e4729da41f85cdd328dfc816d161",
        "name": "VAT 21%",
        "percentage": "21.00"
      },
     "purchase_tax": {
        "id": "81807769a53a85cbf3b4a8d2bcbd2b73ec23f9bf",
        "name": "VAT 6%",
        "percentage": "6.00"
      },    
      "gl_account_inventory_asset": {
        "id": "27f1826332f9ac48a21f362bc7cf16b874f1dd34",
        "code": "56000",
        "title": "Inventory Asset",
        "description": null
      },
      "item_category":null,
      "images":[  
         {  
            "id":"f53fa136c53657367d73add5788faf818483fc28",
            "file_url":"https://f.accounteer.com/f53fa136c53657367d73add5788faf818483fc28/63563de311606b6528fdf949b7c9128afba414d3/test.png",
            "file_name":"test.png",
            "date_created":"2018-02-22"
         },
         {  
            "id":"16df7928c8c04f1e0442dc2c7931d9fed7e17bf7",
            "file_url":"https://f.accounteer.com/16df7928c8c04f1e0442dc2c7931d9fed7e17bf7/63563de311606b6528fdf949b7c9128afba414d3/test.png",
            "file_name":"test.png",
            "date_created":"2018-02-22"
         }
      ],
      "date_created":"2018-01-04",
      "date_updated":"2018-01-04"
   },
   {  
      "id":"1492565a3f176aa0d7212c6e5f77e899bd8e96bf",
      "organization_id":"63563de311606b6528fdf949b7c9128afba414d3",
      "title":"item name",
      "description":"item description",
      "sales_price":"120.00",
      "purchase_price":"100.00",
      "show_invoices":true,
      "show_purchases":true,
      "tracked": true,
      "tax":{  
         "id":"24b5da9208a0e715d17df06465a2424af22fbade",
         "name":"5%",
         "percentage":"5.00"
      },
      "gl_account_sales":{  
         "id":"cd48f5ccfd5069c7e5f066404c0e372bec1ccca1",
         "code":"4000",
         "title":"Sales",
         "description":null
      },
      "gl_account_purchases":{  
         "id":"10a2d9acddf01204756487a6775e3db1a37f1f92",
         "code":"6000",
         "title":"Productive labor",
         "description":null
      },
      "gl_account_inventory_asset": {
        "id": "27f1826332f9ac48a21f362bc7cf16b874f1dd34",
        "code": "56000",
        "title": "Inventory Asset",
        "description": null
      },
      "sale_tax": {
        "id": "fd62ee6c1d65e4729da41f85cdd328dfc816d161",
        "name": "VAT 21%",
        "percentage": "21.00"
    },
    "purchase_tax": {
        "id": "81807769a53a85cbf3b4a8d2bcbd2b73ec23f9bf",
        "name": "VAT 6%",
        "percentage": "6.00"
    },
      "item_category":null,
      "images":[  

      ],
      "date_created":"2018-01-04",
      "date_updated":"2018-01-04"
   }
]


Get Item

GET /items/:id

Request

     
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://app.accounteer.com/api/v0.1/items/ea5aa6f73fcb434ac9172cd6ca6b3ab560da51ee
   

Response

{  
      "id":"ea5aa6f73fcb434ac9172cd6ca6b3ab560da51ee",
      "organization_id":"63563de311606b6528fdf949b7c9128afba414d3",
      "title":"item name",
      "description":"item description",
      "sales_price":"120.00",
      "purchase_price":"100.00",
      "show_invoices":true,
      "show_purchases":true,
      "tracked": true,
      "reorder_point": 10
      "tax":null,
      "gl_account_sales":{  
         "id":"cd48f5ccfd5069c7e5f066404c0e372bec1ccca1",
         "code":"4000",
         "title":"Sales",
         "description":null
      },
      "gl_account_purchases":{  
         "id":"10a2d9acddf01204756487a6775e3db1a37f1f92",
         "code":"6000",
         "title":"Productive labor",
         "description":null
      },   
      "gl_account_inventory_asset": {
        "id": "27f1826332f9ac48a21f362bc7cf16b874f1dd34",
        "code": "56000",
        "title": "Inventory Asset",
        "description": null
      },
      "sale_tax": {
        "id": "fd62ee6c1d65e4729da41f85cdd328dfc816d161",
        "name": "VAT 21%",
        "percentage": "21.00"
     },
     "purchase_tax": {
        "id": "81807769a53a85cbf3b4a8d2bcbd2b73ec23f9bf",
        "name": "VAT 6%",
        "percentage": "6.00"
       },
     "item_category":null,
     "images":[  
         {  
            "id":"f53fa136c53657367d73add5788faf818483fc28",
            "file_url":"https://f.accounteer.com/f53fa136c53657367d73add5788faf818483fc28/63563de3116                        06b6528fdf949b7c9128afba414d3/test.png",
            "file_name":"test.png",
            "date_created":"2018-02-22"
         },
         {  
            "id":"16df7928c8c04f1e0442dc2c7931d9fed7e17bf7",
            "file_url":"https://f.accounteer.com/16df7928c8c04f1e0442dc2c7931d9fed7e17bf7/63563de3116                        06b6528fdf949b7c9128afba414d3/test.png",
            "file_name":"test.png",
            "date_created":"2018-02-22"
         }