Files
claudetools/.claude/memory/feedback_syncro_line_items.md
Mike Swanson f8ed03c75a sync: auto-sync from GURU-5070 at 2026-06-02 07:25:49
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-06-02 07:25:49
2026-06-02 07:25:55 -07:00

1.1 KiB

name, description, metadata
name description metadata
feedback_syncro_line_items Correct Syncro API endpoint for adding labor/product line items to tickets
node_type type originSessionId
memory feedback 282e0176-1bdb-49b7-8c15-faf152774d7e

Use POST /api/v1/tickets/{internal_ticket_id}/add_line_item to add line items to tickets. Both name and description fields are required (422 if either missing). Never use timers.

Why: /line_item, /line_items, and PUT line_items_attributes all 404. The correct endpoint was found via Syncro Swagger spec at api-docs.syncromsp.com. Mike has explicitly said never use timers.

How to apply:

  • Path uses internal ticket ID (e.g., 111387456), not ticket number (32339)
  • Required fields: name, description, quantity, price, taxable (and product_id if catalog item)
  • Response is a flat object — parse .id directly (not .line_item.id)
  • For testing/practice, use internal ACG account only (customer ID 15353550)

Example:

POST /api/v1/tickets/111387456/add_line_item
{"product_id":1049360,"name":"Labor- Warranty work","description":"...","quantity":1,"price":0.0,"taxable":false}