List vendors
Changed onEndpoint used to list vendor resources
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Query parameters
Last pagination reference
max number of Vendors returned
Filter vendors by custom field value. Your query parameter should be your custom field name. (ie: To filter by a custom field named "Industry" with the value "Construction", you would do this "/vendors?Industry=Construction"). <br><br>Adding multiple instance of the same custom field act as an <code>OR</code> and adding a different custom field act as an <code>AND</code>. (ie: To filter by a custom field named <code>Industry</code> with the value <code>Construction</code> OR <code>Transportation</code> AND the custom field <code>Manufacturer</code> with the value <code>ACME</code>, you would do this <code>/vendors?Industry=Construction&Industry=Transportation&Manufacturer=ACME</code>). <br><br>If your custom field label is the same as a reserved query parameter such as <code>limit</code>, <code>sort</code>, <code>expand</code>, etc, you can add <code>__c</code> to your custom field filtering (ie: To filter by a custom field named <code>limit</code> with the value <code>ten</code>, you would do this <code>/vendors?limit__c=ten</code>). <br><br>Note that your custom field needs to be created beforehand. Only number and single line text custom field types are supported.
Headers
Required if using a multi organizations token
Response
Successfully fetched Vendors list
Example response
{
"vendors": [
{
"id": 963,
"name": "Acme Corp",
"extraFields": {
"Qualifications": "ISO 000"
}
}
]
}Changes
- info
the response property
became required for the status - info
the response property
became required for the status
- info
- info
added the new optional
headerrequest parameterx-organization-id - info
added the new optional
queryrequest parametercustomFieldName - info
added the new optional
queryrequest parameterexpand - info
added the optional property
//to the response with the status
- info