Retrieve a list of vendors
OData
P4W utilizes OData when querying database through API calls. Following example retrieves first 20 vendors, including assigned clients if applicable.
GET
https://{tenant_name}.p4warehouse.com/odata/Vendor
Query Parameters
Name
Type
Description
$expand*
String
Client base
$orderby*
String
Vendor code
$top*
Integer
Number of vendors to retrieve
$count*
Boolean
Whether to displays total number of vendors available
Headers
Name
Type
Description
ApiKey*
Stirng
System API key
Use OData syntax (https://www.odata.org/documentation/) to personalize queries through API calls.