provider POST
/v1/invoices/{invoice}/lines/{line_item_id} @utdk/stripe
/v1/invoices/{invoice}/lines/{line_item_id} Update an invoice's line item
<p>Updates an invoice’s line item. Some fields, such as <code>tax_amounts</code>, only live on the invoice line item,
so they can only be updated through this endpoint. Other fields, such as <code>amount</code>, 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.</p>
- invoice path required
- Invoice ID of line item
- string
- line_item_id path required
- Invoice line item ID
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.postinvoicesinvoicelineslineitemid()