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

# Update Line Item Status

> Enables, pauses, archives, or permanently deletes DV360 line items

Enables, pauses, archives, or permanently deletes DV360 line items. DELETED cannot be undone and requires the line item to be archived first.

|                       |                                 |
| --------------------- | ------------------------------- |
| **App**               | DV360                           |
| **Operation ID**      | `dv360_update_line_item_status` |
| **Type**              | Action                          |
| **Connection**        | `dv360` (required)              |
| **Credits per run**   | 1                               |
| **Agent / MCP tool**  | Yes                             |
| **Requires approval** | Yes (write operation)           |

## Inputs

| Field             | Type                                          | Required | Default | Description                                                                                                                                                                                                                     |
| ----------------- | --------------------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`         | DynamicAccount                                | Yes      | -       | Select DV360 advertiser account to update line items in                                                                                                                                                                         |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to update a single line item or multiple line items at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates)                                                                                            |
| `line_item_id`    | string                                        | No       | -       | The line item ID to update (required for single update)                                                                                                                                                                         |
| `status`          | string or SelectableOption                    | No       | -       | Select the new status for the line item. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED' (required for single update). DELETED permanently deletes the line item and cannot be undone; the line item must be ARCHIVED first. |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Structured data with 'line\_item\_id' and 'status' fields for each row (required for bulk update)                                                                                                                               |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `str`

Returns success message confirming line item status update.
