Update invoice
Update invoice
Updates an invoice (INVOICE type) by :id. Accepts any subset of the create fields (all optional). The invoice must belong to the store resolved from the API key.
Authentication
Merchant API key in x-api-key. Requires scope Merchant.payment_link.update. Optionally scope with x-application-account-id.
Path parameters
id— invoice (payment request) id.
Body (application/json)
Partial invoice — any of: amount, currency, title, frecuency, frecuencyData, customerId, invoiceNumber, invoiceDate, dueDate, salesTax, quantity, items[], repeat, poNumber, memo, appId.
Returns the updated invoice (BillingInvoiceResponseDto).
Notas: Handler: billingInvoicesService.update. Lifecycle/status changes use the shared /v1/payment-requests routes.
Authentication
Path parameters
Id of the invoice (payment request).
Headers
Scope the request to a specific store / account instead of the one resolved from the API key. Aliases: the x-account-id header, or the application_account_id / account_id query parameter.
