List vendors

Vendors whose company name starts with the text you give.

GET https://cotlet.dev/api/v1/resman/vendors

read

Returns the vendor id, company, abbreviation, whether it is approved, the contact and the phone number. The match is on the start of the name, so "Classic" finds "Classic Tile".

Parameters

Parameters: list_vendors
NameTypeDescription
company string required string Start of the vendor company name.

Request

cURL
curl "https://cotlet.dev/api/v1/resman/vendors?company=company" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("resman", "list_vendors", {"company":"company"})
Node.js
const result = await cotlet.call('resman', 'list_vendors', {"company":"company"});
CLI
cotlet call resman list_vendors --data '{"company":"company"}'

Example response

JSON

{
  "vendors": [
    {
      "vendor_id": "9ff22dfc-e1b7-4ee9-a9eb-902ef70b5776",
      "company": "Classic Tile",
      "abbreviation": "CT",
      "is_approved": true,
      "contact": "Classic Tile",
      "phone": "800-123-4576"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.