Divendo API 2.0

We’ve rebuilt our API from the ground up to be easier than ever to integrate our platform with your favourite software

Retrieve all stock inventories

GET/store/inventory

Gets information about all stock inventories within your store.

Querystring count The number of records to return
offset The number of records from a collection to skip

Example response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "total": 11115,
  "count": 2,
  "offset": 0,
  "results": [
    {
      "sku": "ANT106179",
      "available": 22,
      "locations": [
        {
          "code": "STORE",
          "available": 1
        },
        {
          "code": "WAREHOUSE",
          "available": 21
        }
      ]
    },
    {
      "sku": "ANT106178",
      "available": 12,
      "locations": null
    }
  ]
}

Lookup a specific inventory

GET/store/inventory/{sku}

Gets information about a specific stock inventory within your store.

Parameters id The unique stock keeping unit of the inventory

Example response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "sku": "ANT106179",
  "available": 22,
  "locations": [
    {
      "code": "STORE",
      "available": 1
    },
    {
      "code": "WAREHOUSE",
      "available": 21
    }
  ]
}