HubSpot Products (via hubspot CLI)
Products are reusable catalog entries referenced by line items on deals and quotes.
Auth
Set HUBSPOT_ACCESS_TOKEN. Optional --profile <name>.
Canonical commands
| Intent | Command |
|---|---|
| List | hubspot crm products list --limit 20 |
| Get | hubspot crm products get 12345 |
| Create | hubspot crm products create --name "Pro Plan" --price 99.99 |
| Create from JSON | hubspot crm products create --properties '{"name":"Pro","price":"99.99","hs_sku":"PRO-001","description":"Monthly plan"}' |
| Update price | hubspot crm products update 12345 --properties '{"price":"129.99"}' |
| Delete | hubspot crm products delete 12345 --yes |
| Search by SKU | hubspot crm products search --query "hs_sku:PRO-001" |
| Discover properties | hubspot discover properties products |
Common properties
name, price (string-encoded number), hs_sku, description, hs_cost_of_goods_sold, hs_recurring_billing_period, hs_product_type.
Output / errors
Standard envelope. Error codes: AUTH_ERROR (3), VALIDATION_ERROR (5), NOT_FOUND (6).
Scopes
- Read:
e-commerce - Write:
e-commerce
Tips
hs_skuis the canonical unique identifier. Search by SKU before creating to avoid duplicates.- Prices are strings.
"99.99"not99.99.