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