# Hubspot Line Items

> Use when the user wants to manage HubSpot line items (deal/quote line entries, priced SKU rows) via the `hubspot` command-line tool.

- **Type:** Skill
- **Install:** `agentstack add skill-dipankar-hubspot-cli-hubspot-line-items`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dipankar](https://agentstack.voostack.com/s/dipankar)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dipankar](https://github.com/dipankar)
- **Source:** https://github.com/dipankar/hubspot-cli/tree/main/assets/skills/hubspot-line-items

## Install

```sh
agentstack add skill-dipankar-hubspot-cli-hubspot-line-items
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# HubSpot Line Items (via `hubspot` CLI)

Line items are individual priced entries attached to deals, quotes, or invoices. Each line item is usually a reference to a product with a quantity and per-line price override.

## Auth

Set `HUBSPOT_ACCESS_TOKEN`. Optional `--profile `.

## Canonical commands

| Intent | Command |
| --- | --- |
| List | `hubspot crm line-items list --limit 20` |
| Get | `hubspot crm line-items get 12345` |
| Create from product | `hubspot crm line-items create --properties '{"hs_product_id":"1001","quantity":"3","price":"99.99"}'` |
| Create ad-hoc | `hubspot crm line-items create --properties '{"name":"Custom service","quantity":"1","price":"2500.00"}'` |
| Update quantity | `hubspot crm line-items update 12345 --properties '{"quantity":"5"}'` |
| Delete | `hubspot crm line-items delete 12345 --yes` |
| Search | `hubspot crm line-items search --filter-groups '[{"filters":[{"propertyName":"hs_product_id","operator":"EQ","value":"1001"}]}]'` |

## Common properties

`name`, `hs_product_id`, `quantity`, `price`, `amount` (computed), `discount`, `tax`, `hs_recurring_billing_period`, `hs_line_item_currency_code`.

## Associating line items

A line item is only useful when attached to a deal or quote:

```bash
hubspot crm associations create line_items 12345 deals 67890
hubspot crm associations create line_items 12345 quotes 11111
```

## Scopes

- Read: `e-commerce`
- Write: `e-commerce`

## Tips

- Prefer referencing a product via `hs_product_id` over re-entering `name`/`price` so catalog updates propagate.
- All numeric properties are strings: `"quantity": "3"`, not `3`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dipankar](https://github.com/dipankar)
- **Source:** [dipankar/hubspot-cli](https://github.com/dipankar/hubspot-cli)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dipankar-hubspot-cli-hubspot-line-items
- Seller: https://agentstack.voostack.com/s/dipankar
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
