--- name: feedback_syncro_line_items description: Correct Syncro API endpoint for adding labor/product line items to tickets metadata: node_type: memory type: feedback originSessionId: 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} ```