> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pipedrive: Delete Many Deal Products

> Delete many products from a deal. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Delete many products from a deal.

<Info>
  Tool ID: `pipedrive_delete_many_deal_products`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'pipedrive_delete_many_deal_products',
  {
    "id": 123
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute pipedrive_delete_many_deal_products --input '{
  "id": 123
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "success": true,
    "data": {
      "ids": [
        123
      ]
    },
    "additional_data": {
      "more_items_in_collection": true
    }
  }
}
```

Use `deepline tools get pipedrive_delete_many_deal_products --json` for the latest machine-readable contract.

## Input reference

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.

| Name          | Type      | Required | Default | Details                                                                                                                                          |
| ------------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `payload.id`  | `integer` | Yes      | —       | The ID of the deal                                                                                                                               |
| `payload.ids` | `string`  | No       | —       | 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. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "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.",
    "properties": {
      "id": {
        "type": "integer",
        "description": "The ID of the deal"
      },
      "ids": {
        "type": "string",
        "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."
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                   | Type             | Required | Default | Details                                                                              |
| ------------------------------------------------------ | ---------------- | -------- | ------- | ------------------------------------------------------------------------------------ |
| `result.data`                                          | `object`         | Yes      | —       | Provider response payload.                                                           |
| `result.data.success`                                  | `boolean`        | No       | —       | If the response is successful or not                                                 |
| `result.data.data`                                     | `object`         | No       | —       | —                                                                                    |
| `result.data.data.ids`                                 | `array`          | No       | —       | Array of IDs of products that were deleted from the deal                             |
| `result.data.additional_data`                          | `object \| null` | No       | —       | —                                                                                    |
| `result.data.additional_data.more_items_in_collection` | `boolean`        | No       | —       | Whether there are more products to delete (when the deal has more than 100 products) |
| `result.meta`                                          | `object`         | No       | —       | Additional response metadata (status, paging).                                       |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "If the response is successful or not"
          },
          "data": {
            "type": "object",
            "properties": {
              "ids": {
                "type": "array",
                "description": "Array of IDs of products that were deleted from the deal",
                "items": {
                  "type": "integer"
                }
              }
            },
            "additionalProperties": false
          },
          "additional_data": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "more_items_in_collection": {
                "type": "boolean",
                "description": "Whether there are more products to delete (when the deal has more than 100 products)"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Pipedrive provider guide](/docs/providers/pipedrive/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
