provider POST /v1/invoices/{invoice}/update_lines
@utdk/stripe /v1/invoices/{invoice}/update_lines
Bulk update invoice line items
<p>Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.</p>
invoice path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postinvoicesinvoiceupdatelines
POST/v1/invoices/{invoice}/update_lines
<p>Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.</p>

Parameters

required

Input

Specifies which fields in the response should be expanded.

Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data.

required

The line items to update.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postinvoicesinvoiceupdatelines()