Products
This feature is not available for Link buttons
Please note: Pipedrive products needs to be enabled in order to be able use this feature
You can include Deal Products in your button payload, which helps you by not having to fetch the Deal Products separately in your automation / end-point, and you can also make sure products are selected for the deal where required.
If you wish to include Deal Products in your button payload you can enable this feature in the Products section. You can also require the deal to have at least 1 product:
Please note: If you trigger a button which has Deal products required from an organization or a person you will see an error message, as Deal products are not available. It is recommended to use the Include deal products -feature together with the Limit visibility feature to avoid unexpected behavior.
Data sent with a button click
The additional Deal Product data will be automatically added to your button HTTP call payload. The data will also automatically include Product data with it, so you don't need to fetch them separately in your process later.
As an example:
"products": [
{
"id": 4527,
"deal_id": 1924,
"order_nr": 0,
"product_id": 9874,
"product_variation_id": null,
"item_price": 522,
"discount": 0,
"discount_type": "percentage",
"sum": 522,
"currency": "EUR",
"enabled_flag": true,
"add_time": "2024-10-02 12:09:28",
"last_edit": "2024-10-02 12:09:28",
"comments": null,
"active_flag": true,
"tax": 0,
"tax_method": "none",
"name": "Awesome Cotton Pants",
"sum_formatted": "522 €",
"quantity_formatted": "1",
"quantity": 1,
"product": {
"id": 9874,
"name": "Awesome Cotton Pants",
"code": "573",
"unit": "CM",
"tax": 24,
"active_flag": true,
"selectable": true,
"visible_to": "3",
"owner_id": {
"id": 11257768,
"name": "Test Zimple",
"email": "test.user@zimple.fi",
"has_pic": 1,
"pic_hash": "2bd5ee0f1913cee94d4187bc05a35f96",
"active_flag": true,
"value": 11257768
},
"billing_frequency": "one-time",
"billing_frequency_cycles": null,
"description": "",
"category": null,
"first_char": "a",
"files_count": null,
"add_time": "2022-10-11 10:43:29",
"update_time": "2022-10-24 08:07:58",
"prices": [
{
"id": 10452,
"product_id": 9874,
"price": 522,
"currency": "EUR",
"cost": 0,
"overhead_cost": 0,
"notes": "",
"price_formatted": "522 €"
}
],
"product_variations": [],
"d0de6213db8ba9470ed060cc3103404eed832df2": null,
"8c283774c78f004ed580a4d80714933cd98f80db": null,
"cc9fe512ccef0cf0bbf337c62fafef0fd7625482": null,
"ec624def214d9f0b4a5bea9920b581733dfb1017": null,
"162d30ccf1b50245335f58bac6d2f69b9021605b": null,
"6445fc865de96765cd4c296602f8f9c95fbe4195": null,
"c114dfa2667ecea2307dcba744af7df5fd5ce35f": null
},
"billing_frequency": "one-time",
"billing_frequency_cycles": null,
"billing_start_date": null
}
]