Discussions

Ask a Question
Back to all

Question about invoice_line_sections

Hello,

I am integrating the Pennylane API V2 (/api/external/v2) and I am facing an issue when trying to update the title and description of sections (invoice_line_sections) on an existing quote.

While I can successfully create sections with titles during the initial quote creation (POST /quotes), I cannot modify them afterwards:

I tried sending a PUT request to https://app.pennylane.com/api/external/v2/invoice_line_sections/{section_id} with a payload like { "label": "New Title" } or { "title": "New Title" }, but the API returns a 404 Not Found.

I also tried updating the quote via PUT /quotes/{quote_id} using nested attributes (invoice_line_sections or invoice_line_sections_attributes), but I haven't been able to rename existing sections properly.

My question is: What is the correct endpoint or payload structure to update the title/label of an existing invoice_line_section linked to a quote in API V2?

Thank you for your help.

Best,

Alex