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

Create a new POS order

POST/pos/order

Posts a new POS order to your store configuration.

Request body POS Cart

Example request

Content-Type: application/json; charset=utf-8

{
  "transactionid": "TRANS123",
  "customer": {
    "name": {
      "title": "Mr",
      "firstname": "Test",
      "surname": "Customer"
    },
    "company": "",
    "address": {
      "addressline1": "20-22 Wenlock Road",
      "addressline2": "",
      "addressline3": "",
      "towncity": "",
      "stateprovince": "London",
      "postalcode": "N1 7GU",
      "country": "GB"
    },
    "email": "team@diven.do",
    "numbers": [
      "02030869860"
    ]
  },
  "items": [
    {
      "sku": "200099-0536",
      "quantity": 1,
      "unitprice": 54.17,
      "unittax": 10.83
    }
  ],
  "notes": "Sample Notes",
  "totalpaid": 65.00,
  "paymentreference": "RECEIPT123"
}

Example response

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

{
  "id": "5c0fc014fd56221ba0215a2a",
  "ordernumber": "UK078767"
}