Create HubSpot product records and associate them with line items on a quote

domain: HubSpot · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a product in the HubSpot product library: POST https://api.hubapi.com/crm/v3/objects/products with properties including 'name', 'price', and optionally 'description' and 'hs_sku'.
  2. Retrieve the product ID from the response.
  3. When creating a line item for a quote, include 'hs_product_id': '{productId}' in the line item properties; this associates the line item to the product record and may auto-populate fields like name and price from the product.
  4. Create the line item: POST https://api.hubapi.com/crm/v3/objects/line_items with the required properties and hs_product_id.
  5. Associate the line item to the relevant quote using the Associations API v4: POST https://api.hubapi.com/crm/v4/objects/line_items/{lineItemId}/associations/default/quotes/{quoteId}.
  6. To update a product's price globally, PATCH https://api.hubapi.com/crm/v3/objects/products/{productId} — note this does not retroactively update existing line items.

Known gotchas

Related routes

Create a HubSpot quote and associate line items via the CRM Quotes API
HubSpot · 6 steps · unrated
Associate a HubSpot deal to a quote using the Associations API v4
HubSpot · 6 steps · unrated
Create labeled associations between HubSpot CRM objects using Associations API v4
developers.hubspot.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans