{
  "info": {
    "_postman_id": "00e7cd09-bd8c-4f15-8eaf-00d4e813a99e",
    "name": "Pipedrive API v1 Activities DealProducts API",
    "description": "Activities are appointments/tasks/events on a calendar that can be associated with a deal, a lead, a person and an organization. Activities can be of different type (such as call, meeting, lunch or a custom type - see ActivityTypes object) and can be assigned to a particular user. Note that activities can also be created without a specific date/time.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:37:15.000Z",
    "updatedAt": "2026-07-28T02:37:15.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-00e7cd09-bd8c-4f15-8eaf-00d4e813a99e"
  },
  "item": [
    {
      "name": "deals",
      "item": [
        {
          "name": "products",
          "item": [
            {
              "name": "Get deal products of several deals",
              "id": "352cb516-be9c-4e16-93b2-9c204931e087",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/deals/products?deal_ids=<integer>&deal_ids=<integer>&cursor=<string>&limit=<integer>&sort_by=id&sort_direction=asc",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "deals",
                    "products"
                  ],
                  "query": [
                    {
                      "description": "(Required) An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.",
                      "key": "deal_ids",
                      "value": "<integer>"
                    },
                    {
                      "description": "(Required) An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.",
                      "key": "deal_ids",
                      "value": "<integer>"
                    },
                    {
                      "description": "For pagination, the marker (an opaque string value) representing the first item on the next page",
                      "key": "cursor",
                      "value": "<string>"
                    },
                    {
                      "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.",
                      "key": "limit",
                      "value": "<integer>"
                    },
                    {
                      "description": "The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.",
                      "key": "sort_by",
                      "value": "id"
                    },
                    {
                      "description": "The sorting direction. Supported values: `asc`, `desc`.",
                      "key": "sort_direction",
                      "value": "asc"
                    }
                  ]
                },
                "description": "Returns data about products attached to deals"
              },
              "response": [
                {
                  "id": "e7256fc8-d0fd-4578-aeef-e49e0de4a59e",
                  "name": "List of products attached to deals",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/deals/products?deal_ids=<integer>&cursor=<string>&limit=<integer>&sort_by=id&sort_direction=asc",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "deals",
                        "products"
                      ],
                      "query": [
                        {
                          "description": "(Required) An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.",
                          "key": "deal_ids",
                          "value": "<integer>"
                        },
                        {
                          "description": "For pagination, the marker (an opaque string value) representing the first item on the next page",
                          "key": "cursor",
                          "value": "<string>"
                        },
                        {
                          "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.",
                          "key": "limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.",
                          "key": "sort_by",
                          "value": "id"
                        },
                        {
                          "description": "The sorting direction. Supported values: `asc`, `desc`.",
                          "key": "sort_direction",
                          "value": "asc"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"inclusive\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    },\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"none\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    }\n  ],\n  \"additional_data\": {\n    \"next_cursor\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-e7256fc8-d0fd-4578-aeef-e49e0de4a59e"
                }
              ],
              "createdAt": "2026-07-28T02:37:15.000Z",
              "updatedAt": "2026-07-28T02:37:15.000Z",
              "uid": "35240-352cb516-be9c-4e16-93b2-9c204931e087"
            }
          ],
          "id": "afc2db01-9ce2-4594-9fb2-bd36a3e7fc33",
          "createdAt": "2026-07-28T02:37:15.000Z",
          "updatedAt": "2026-07-28T02:37:15.000Z",
          "uid": "35240-afc2db01-9ce2-4594-9fb2-bd36a3e7fc33"
        },
        {
          "name": "{id}",
          "item": [
            {
              "name": "products",
              "item": [
                {
                  "name": "{product_attachment_id}",
                  "item": [
                    {
                      "name": "Update the product attached to a deal",
                      "id": "906b6343-f8d1-442d-80d2-4a6db6b8a35e",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "x-api-token",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"product_id\": \"<integer>\",\n  \"item_price\": \"<number>\",\n  \"quantity\": \"<number>\",\n  \"tax\": 0,\n  \"comments\": \"<string>\",\n  \"discount\": 0,\n  \"is_enabled\": true,\n  \"tax_method\": \"inclusive\",\n  \"discount_type\": \"percentage\",\n  \"product_variation_id\": \"<integer>\",\n  \"billing_frequency\": \"annually\",\n  \"billing_frequency_cycles\": \"<integer>\",\n  \"billing_start_date\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products/:product_attachment_id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products",
                            ":product_attachment_id"
                          ],
                          "variable": [
                            {
                              "id": "669fa492-d7ac-4c31-a996-a1093047025c",
                              "key": "id",
                              "value": "<integer>",
                              "description": "(Required) The ID of the deal"
                            },
                            {
                              "id": "452832c9-3aad-4d7b-86ff-197eb7056a7f",
                              "key": "product_attachment_id",
                              "value": "<integer>",
                              "description": "(Required) The ID of the deal-product (the ID of the product attached to the deal)"
                            }
                          ]
                        },
                        "description": "Updates the details of the product that has been attached to a deal."
                      },
                      "response": [
                        {
                          "id": "4c573338-a894-4b47-8ef7-a4ff3da473b4",
                          "name": "Add a product to the deal",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"product_id\": \"<integer>\",\n  \"item_price\": \"<number>\",\n  \"quantity\": \"<number>\",\n  \"tax\": 0,\n  \"comments\": \"<string>\",\n  \"discount\": 0,\n  \"is_enabled\": true,\n  \"tax_method\": \"inclusive\",\n  \"discount_type\": \"percentage\",\n  \"product_variation_id\": \"<integer>\",\n  \"billing_frequency\": \"annually\",\n  \"billing_frequency_cycles\": \"<integer>\",\n  \"billing_start_date\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/deals/:id/products/:product_attachment_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "deals",
                                ":id",
                                "products",
                                ":product_attachment_id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                },
                                {
                                  "key": "product_attachment_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\",\n    \"sum\": \"<number>\",\n    \"tax\": \"<number>\",\n    \"deal_id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"product_id\": \"<integer>\",\n    \"product_variation_id\": \"<integer>\",\n    \"order_nr\": \"<integer>\",\n    \"add_time\": \"<string>\",\n    \"update_time\": \"<string>\",\n    \"comments\": \"<string>\",\n    \"currency\": \"<string>\",\n    \"discount\": 0,\n    \"discount_type\": \"percentage\",\n    \"quantity\": \"<integer>\",\n    \"item_price\": \"<number>\",\n    \"tax_method\": \"exclusive\",\n    \"is_enabled\": true,\n    \"billing_frequency\": \"one-time\",\n    \"billing_frequency_cycles\": null,\n    \"billing_start_date\": null\n  }\n}",
                          "createdAt": "2026-07-28T02:37:15.000Z",
                          "updatedAt": "2026-07-28T02:37:15.000Z",
                          "uid": "35240-4c573338-a894-4b47-8ef7-a4ff3da473b4"
                        }
                      ],
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-906b6343-f8d1-442d-80d2-4a6db6b8a35e"
                    },
                    {
                      "name": "Delete an attached product from a deal",
                      "id": "edc71b87-e25f-4813-9603-c7cabe009090",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "x-api-token",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products/:product_attachment_id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products",
                            ":product_attachment_id"
                          ],
                          "variable": [
                            {
                              "id": "213c27f8-7f93-48de-84c1-e99fcddc72e1",
                              "key": "id",
                              "value": "<integer>",
                              "description": "(Required) The ID of the deal"
                            },
                            {
                              "id": "5fd0933a-73ae-4a20-beb8-4d73c31dcbd6",
                              "key": "product_attachment_id",
                              "value": "<integer>",
                              "description": "(Required) The product attachment ID"
                            }
                          ]
                        },
                        "description": "Deletes a product attachment from a deal, using the `product_attachment_id`."
                      },
                      "response": [
                        {
                          "id": "e4d5affe-7c0d-467c-9b57-1a4e91afe976",
                          "name": "Delete an attached product from a deal",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/deals/:id/products/:product_attachment_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "deals",
                                ":id",
                                "products",
                                ":product_attachment_id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                },
                                {
                                  "key": "product_attachment_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\"\n  }\n}",
                          "createdAt": "2026-07-28T02:37:15.000Z",
                          "updatedAt": "2026-07-28T02:37:15.000Z",
                          "uid": "35240-e4d5affe-7c0d-467c-9b57-1a4e91afe976"
                        }
                      ],
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-edc71b87-e25f-4813-9603-c7cabe009090"
                    }
                  ],
                  "id": "82bc43a7-2f53-4212-9deb-9e3040f8ba82",
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-82bc43a7-2f53-4212-9deb-9e3040f8ba82"
                },
                {
                  "name": "bulk",
                  "item": [
                    {
                      "name": "Add multiple products to a deal",
                      "id": "acf156bc-2f67-43ca-bef2-329dc37ae106",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "x-api-token",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"data\": [\n    {\n      \"item_price\": \"<number>\",\n      \"quantity\": \"<number>\",\n      \"product_id\": \"<integer>\",\n      \"tax\": 0,\n      \"comments\": \"<string>\",\n      \"discount\": 0,\n      \"is_enabled\": true,\n      \"tax_method\": \"exclusive\",\n      \"discount_type\": \"percentage\",\n      \"product_variation_id\": \"<integer>\",\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    },\n    {\n      \"item_price\": \"<number>\",\n      \"quantity\": \"<number>\",\n      \"product_id\": \"<integer>\",\n      \"tax\": 0,\n      \"comments\": \"<string>\",\n      \"discount\": 0,\n      \"is_enabled\": true,\n      \"tax_method\": \"inclusive\",\n      \"discount_type\": \"percentage\",\n      \"product_variation_id\": \"<integer>\",\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    }\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products/bulk",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products",
                            "bulk"
                          ],
                          "variable": [
                            {
                              "id": "ce03c764-f008-4a75-90ce-507a6feecb9d",
                              "key": "id",
                              "value": "<integer>",
                              "description": "(Required) The ID of the deal"
                            }
                          ]
                        },
                        "description": "Adds multiple products to a deal in a single request. Maximum of 100 products allowed per request."
                      },
                      "response": [
                        {
                          "id": "a9f637cb-da46-4c0a-a223-91fb187c6589",
                          "name": "Add many products to a deal",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"data\": [\n    {\n      \"item_price\": \"<number>\",\n      \"quantity\": \"<number>\",\n      \"product_id\": \"<integer>\",\n      \"tax\": 0,\n      \"comments\": \"<string>\",\n      \"discount\": 0,\n      \"is_enabled\": true,\n      \"tax_method\": \"exclusive\",\n      \"discount_type\": \"percentage\",\n      \"product_variation_id\": \"<integer>\",\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    },\n    {\n      \"item_price\": \"<number>\",\n      \"quantity\": \"<number>\",\n      \"product_id\": \"<integer>\",\n      \"tax\": 0,\n      \"comments\": \"<string>\",\n      \"discount\": 0,\n      \"is_enabled\": true,\n      \"tax_method\": \"inclusive\",\n      \"discount_type\": \"percentage\",\n      \"product_variation_id\": \"<integer>\",\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    }\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/deals/:id/products/bulk",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "deals",
                                ":id",
                                "products",
                                "bulk"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"inclusive\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    },\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"inclusive\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T02:37:15.000Z",
                          "updatedAt": "2026-07-28T02:37:15.000Z",
                          "uid": "35240-a9f637cb-da46-4c0a-a223-91fb187c6589"
                        }
                      ],
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-acf156bc-2f67-43ca-bef2-329dc37ae106"
                    }
                  ],
                  "id": "6caf109a-61ce-4873-b0c5-2b6385ccd122",
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-6caf109a-61ce-4873-b0c5-2b6385ccd122"
                },
                {
                  "name": "List products attached to a deal",
                  "id": "26a7ed8f-2d04-4c62-a927-161772f272cb",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "x-api-token",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/deals/:id/products?cursor=<string>&limit=<integer>&sort_by=id&sort_direction=asc",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "deals",
                        ":id",
                        "products"
                      ],
                      "query": [
                        {
                          "description": "For pagination, the marker (an opaque string value) representing the first item on the next page",
                          "key": "cursor",
                          "value": "<string>"
                        },
                        {
                          "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.",
                          "key": "limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.",
                          "key": "sort_by",
                          "value": "id"
                        },
                        {
                          "description": "The sorting direction. Supported values: `asc`, `desc`.",
                          "key": "sort_direction",
                          "value": "asc"
                        }
                      ],
                      "variable": [
                        {
                          "id": "a8f8e88d-cd9c-4e8e-8613-72daf73abe85",
                          "key": "id",
                          "value": "<integer>",
                          "description": "(Required) The ID of the deal"
                        }
                      ]
                    },
                    "description": "Lists products attached to a deal."
                  },
                  "response": [
                    {
                      "id": "e23a6c96-fa83-47f1-ba16-a88599b8f000",
                      "name": "List of products attached to deals",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-token",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products?cursor=<string>&limit=<integer>&sort_by=id&sort_direction=asc",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products"
                          ],
                          "query": [
                            {
                              "description": "For pagination, the marker (an opaque string value) representing the first item on the next page",
                              "key": "cursor",
                              "value": "<string>"
                            },
                            {
                              "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.",
                              "key": "sort_by",
                              "value": "id"
                            },
                            {
                              "description": "The sorting direction. Supported values: `asc`, `desc`.",
                              "key": "sort_direction",
                              "value": "asc"
                            }
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"inclusive\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    },\n    {\n      \"id\": \"<integer>\",\n      \"sum\": \"<number>\",\n      \"tax\": \"<number>\",\n      \"deal_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"product_id\": \"<integer>\",\n      \"product_variation_id\": \"<integer>\",\n      \"order_nr\": \"<integer>\",\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"comments\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"discount\": 0,\n      \"discount_type\": \"percentage\",\n      \"quantity\": \"<integer>\",\n      \"item_price\": \"<number>\",\n      \"tax_method\": \"none\",\n      \"is_enabled\": true,\n      \"billing_frequency\": \"one-time\",\n      \"billing_frequency_cycles\": null,\n      \"billing_start_date\": null\n    }\n  ],\n  \"additional_data\": {\n    \"next_cursor\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-e23a6c96-fa83-47f1-ba16-a88599b8f000"
                    }
                  ],
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-26a7ed8f-2d04-4c62-a927-161772f272cb"
                },
                {
                  "name": "Add a product to a deal",
                  "id": "98554c8f-e92d-47ef-93ef-a38167fee6d6",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "x-api-token",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"item_price\": \"<number>\",\n  \"quantity\": \"<number>\",\n  \"product_id\": \"<integer>\",\n  \"tax\": 0,\n  \"comments\": \"<string>\",\n  \"discount\": 0,\n  \"is_enabled\": true,\n  \"tax_method\": \"exclusive\",\n  \"discount_type\": \"percentage\",\n  \"product_variation_id\": \"<integer>\",\n  \"billing_frequency\": \"one-time\",\n  \"billing_frequency_cycles\": null,\n  \"billing_start_date\": null\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/deals/:id/products",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "deals",
                        ":id",
                        "products"
                      ],
                      "variable": [
                        {
                          "id": "6744e3ce-7204-4159-b746-8c19f1a89c3e",
                          "key": "id",
                          "value": "<integer>",
                          "description": "(Required) The ID of the deal"
                        }
                      ]
                    },
                    "description": "Adds a product to a deal, creating a new item called a deal-product."
                  },
                  "response": [
                    {
                      "id": "7fe266d9-9eb2-4b2a-b420-c61b0c082688",
                      "name": "Add a product to the deal",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-token",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"item_price\": \"<number>\",\n  \"quantity\": \"<number>\",\n  \"product_id\": \"<integer>\",\n  \"tax\": 0,\n  \"comments\": \"<string>\",\n  \"discount\": 0,\n  \"is_enabled\": true,\n  \"tax_method\": \"exclusive\",\n  \"discount_type\": \"percentage\",\n  \"product_variation_id\": \"<integer>\",\n  \"billing_frequency\": \"one-time\",\n  \"billing_frequency_cycles\": null,\n  \"billing_start_date\": null\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products"
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\",\n    \"sum\": \"<number>\",\n    \"tax\": \"<number>\",\n    \"deal_id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"product_id\": \"<integer>\",\n    \"product_variation_id\": \"<integer>\",\n    \"order_nr\": \"<integer>\",\n    \"add_time\": \"<string>\",\n    \"update_time\": \"<string>\",\n    \"comments\": \"<string>\",\n    \"currency\": \"<string>\",\n    \"discount\": 0,\n    \"discount_type\": \"percentage\",\n    \"quantity\": \"<integer>\",\n    \"item_price\": \"<number>\",\n    \"tax_method\": \"exclusive\",\n    \"is_enabled\": true,\n    \"billing_frequency\": \"one-time\",\n    \"billing_frequency_cycles\": null,\n    \"billing_start_date\": null\n  }\n}",
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-7fe266d9-9eb2-4b2a-b420-c61b0c082688"
                    }
                  ],
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-98554c8f-e92d-47ef-93ef-a38167fee6d6"
                },
                {
                  "name": "Delete many products from a deal",
                  "id": "8da4909a-1617-4815-81ac-74a9b989f782",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "x-api-token",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/deals/:id/products?ids=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "deals",
                        ":id",
                        "products"
                      ],
                      "query": [
                        {
                          "description": "Comma-separated list of deal product IDs to delete. If not provided, all deal products will be deleted up to 100 items. Maximum 100 IDs allowed.",
                          "key": "ids",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "id": "36b05add-5c82-43e3-a08d-c788ce94d700",
                          "key": "id",
                          "value": "<integer>",
                          "description": "(Required) The ID of the deal"
                        }
                      ]
                    },
                    "description": "Deletes multiple products from a deal. If no product IDs are specified, up to 100 products will be removed from the deal. A maximum of 100 product IDs can be provided per request."
                  },
                  "response": [
                    {
                      "id": "f93d95bf-55bf-4f48-a036-b2b1041c0b14",
                      "name": "Delete many products from a deal",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-token",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/deals/:id/products?ids=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "deals",
                            ":id",
                            "products"
                          ],
                          "query": [
                            {
                              "description": "Comma-separated list of deal product IDs to delete. If not provided, all deal products will be deleted up to 100 items. Maximum 100 IDs allowed.",
                              "key": "ids",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"ids\": [\n      \"<integer>\",\n      \"<integer>\"\n    ]\n  },\n  \"additional_data\": {\n    \"more_items_in_collection\": \"<boolean>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:37:15.000Z",
                      "updatedAt": "2026-07-28T02:37:15.000Z",
                      "uid": "35240-f93d95bf-55bf-4f48-a036-b2b1041c0b14"
                    }
                  ],
                  "createdAt": "2026-07-28T02:37:15.000Z",
                  "updatedAt": "2026-07-28T02:37:15.000Z",
                  "uid": "35240-8da4909a-1617-4815-81ac-74a9b989f782"
                }
              ],
              "id": "070b0c1a-95d1-4814-8242-74d6ae489bf7",
              "createdAt": "2026-07-28T02:37:15.000Z",
              "updatedAt": "2026-07-28T02:37:15.000Z",
              "uid": "35240-070b0c1a-95d1-4814-8242-74d6ae489bf7"
            }
          ],
          "id": "dcc7755e-18e3-46c9-809b-f2d2ab6664f2",
          "createdAt": "2026-07-28T02:37:15.000Z",
          "updatedAt": "2026-07-28T02:37:15.000Z",
          "uid": "35240-dcc7755e-18e3-46c9-809b-f2d2ab6664f2"
        }
      ],
      "id": "9e9f9dd7-af2e-439f-8136-da850d6bc011",
      "createdAt": "2026-07-28T02:37:15.000Z",
      "updatedAt": "2026-07-28T02:37:15.000Z",
      "uid": "35240-9e9f9dd7-af2e-439f-8136-da850d6bc011"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.pipedrive.com/v1"
    }
  ]
}