Skip to main content

system.kanoa.inventory.getSuppliers(paramsDict)

Returns supplier records from the inventory system, optionally filtered by any combination of the fields in paramsDict. Passing an empty dictionary returns all suppliers.


Parameters​

paramsDict Dictionary

- accountNumberString
- contactNameString
- enabledBoolean
- supplierIdInteger
- supplierNameString

Returns​

data pyDataset


Example​

paramsDict = {'supplierName': 'Grayson'}

data = system.kanoa.inventory.getSuppliers(paramsDict)
costCenterInfo = system.kanoa.utilities.convertDatasetRowToJSON(data, 0)
for k,v in costCenterInfo.items():
print k,v
>>>
supplierName Grayson
lastUpdatedBy jason
supplierId 2
contactName Mr Grayson
accountNumber 12345-trty-76895
enabled True
changedDate Sun May 17 13:37:32 UTC 2026
lastUpdated Sun May 17 13:37:32 UTC 2026
createdDate Sun May 17 13:27:18 UTC 2026
phone 100-234-5678
websiteUrl www.a.ai
createdBy 5
changedBy 5
email q.a@w.ai
>>>