Update an invoice's line item
Changed onUpdates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.
post/v1/invoices/{invoice}/lines/{line_item_id}
Request
- Base URL: https://api.stripe.com
- URL: https://api.stripe.com/v1/invoices/{invoice}/lines/{line_item_id}
- Auth: one of:
- HTTP basic
- HTTP bearer
Path parameters
invoicestring required
Invoice ID of line item
line_item_idstring required
Invoice line item ID
Request body application/x-www-form-urlencoded
Response
Successful response.
Changes
- info
added the required property
to the response with the status
- info
- breaking
the
///response property's maxLength was unset from5000for the response status - breaking
the
///response's property type changed fromstringto no type for status
This list may be incomplete.
- breaking
Some revisions have not been checked yet.