List products
Changed onList products
ℹ️ This endpoint requires one of the following scopes: products:all, products:readonly
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/products
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: products:all, products:readonly
Query parameters
Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.
Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.
You can choose to filter items on specific fields. Available fields and values:
- id : lt, lteq, gt, gteq, eq, not_eq, in, not_in
- label : eq, in
- reference : eq, in
- external_reference : eq, not_eq, in, not_in
You can choose to sort items on specific attributes Sort field may be prefixed with - for descending order. Example : id will sort by ascending order, -id will sort by descending order. Available fields : id
Headers
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
A list of Products
Example response
{
"has_more": true,
"next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2",
"items": [
{
"id": 1,
"label": "Product 1",
"description": "This is product 1",
"external_reference": "0e67fc3c-c632-4feb-ad34-e18ed5fbf66a",
"price_before_tax": "12.5",
"vat_rate": "FR_200",
"price": "13.6",
"unit": "piece",
"reference": "REF-123",
"archived_at": "2023-09-30T10:08:08.146343Z",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z",
"custom_fields": [
{
"name": "color"
}
]
}
]
}Changes
- warning
added the new
DE_intracom_exempt_BU0233enum value to the//response property for the response status - warning
added the new
ES_intracom_sales_goodsenum value to the//response property for the response status - warning
added the new
ES_intracom_sales_servicesenum value to the//response property for the response status - warning
added the new
ES_isp_purchases_100enum value to the//response property for the response status - warning
added the new
ES_isp_purchases_210enum value to the//response property for the response status - warning
added the new
ES_isp_salesenum value to the//response property for the response status - warning
added the new
ES_suplidoenum value to the//response property for the response status - warning
added the new
VESenum value to the//response property for the response status - info
added the new optional
headerrequest parameterX-Company-Id - info
removed the
mixedenum value from the//response property for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- warning