Supplier List

List of suppliers - for use when creating a PO or re-assigning a different supplier

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=supplierslist

Example request:

http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.7&action=supplierslist&company=1

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 144,
  "totalpages": 48,
  "responsemessage": "",
  "pagerows": 3,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "supplieruuid": "F3AD44183AFC1949941E25E23BEC2C73",
      "supplierTimeStampModified": 1506350938,
      "supplierRecordVersionNumber": 1,
      "supplierCustomField317": "",
      "supplierCustomField321": "",
      "supplierName": "",
      "supplierCode": "1/23329028",
      "supplierPhone": "",
      "supplierExpense": false,
      "supplierInactive": false,
      "supplierOnHold": false,
      "supplierMainEmail": "",
      "supplierSupplytypeDescription": "",
      "supplierMarkup": 1,
      "supplierWebURL": "",
      "supplierProspect": false
    },
    {
      "supplieruuid": "E9B3A17AB538094A9B6AC531E072C16D",
      "supplierTimeStampModified": 1472053839,
      "supplierRecordVersionNumber": 1,
      "supplierCustomField317": "",
      "supplierCustomField321": "",
      "supplierName": "Fred smith",
      "supplierCode": "1/454",
      "supplierPhone": "",
      "supplierExpense": false,
      "supplierInactive": false,
      "supplierOnHold": false,
      "supplierMainEmail": "",
      "supplierSupplytypeDescription": "Couriers",
      "supplierMarkup": 0,
      "supplierWebURL": "",
      "supplierProspect": false
    }
]
}