Skip to main content

Products

Please note that thisThis feature is not available for Link buttons

Please note: The Pipedrive products feature 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:

oc-prod.png

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": {
  "0": {
    "id": 12671,
    "deal_id": 21597,
    "product_id": 3997,
    "product_variation_id": null,
    "name": "Awesome Metal Pants",
    "order_nr": 0,
    "item_price": 604,
    "quantity": 2,
    "discount_percentage": 5,
    "duration": 1,
    "duration_unit": null,
    "sum": 1147.6,
    "currency": "EUR",
    "active_flag": true,
    "enabled_flag": true,
    "add_time": "2023-09-08 11:44:39",
    "last_edit": "2023-09-08 11:44:39",
    "comments": null,
    "tax": 24,
    "quantity_formatted": "2",
    "sum_formatted": "€1,147.60",
    "tax_method": "inclusive",
    "discount": 5,
    "discount_type": "percentage",
    "product": {
      "id": 3997,
      "name": "Awesome Metal Pants",
      "code": "43",
      "description": null,
      "unit": "CM",
      "tax": 24,
      "category": null,
      "active_flag": true,
      "selectable": true,
      "first_char": "a",
      "visible_to": "7",
      "owner_id": {
        "id": 11109077,
        "name": "Demo User",
        "email": "demo.professional@zimple.fi",
        "has_pic": 1,
        "pic_hash": "9976f9ecc969efcc02d8783cefd7cc23",
        "active_flag": true,
        "value": 11109077
      },
      "files_count": null,
      "add_time": "2023-03-28 09:31:07",
      "update_time": "2023-03-28 09:31:08",
      "prices": [
        {
          "id": 4028,
          "product_id": 3997,
          "price": 604,
          "currency": "EUR",
          "cost": 0,
          "overhead_cost": 0
        }
      ],
      "product_variations": [],
      "5b34bc4d67d7032544761274f1c7270522a6b4f4": null,
      "239b2be6ac3d905f5559f8879ec3b527966d4ea0": null,
      "b2b00f5ee2a8b5c4f64c035ef7cdea6155974413": null,
      "4bc73109c7eaaf1338c1152473bd078f69786442": null
    }
  }
}