NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Invoice → Update Invoice

AI-generated

Summary

Update an existing invoice in NinjaPipe by its record ID

Inputs

  • resourcePathOverride — Custom endpoint path for the invoice resource; overrides the default '/invoices' if your workspace uses a different path
  • id (required) — The unique identifier of the invoice to update
  • showAdvanced — Toggle display of advanced options such as raw JSON body and path overrides

Output shape

a single updated invoice record

The returned JSON contains the updated invoice object; optional fields omitted if not sent.

Examples

Example 1: Update an invoice by its ID

resource=invoice, operation=update, id='456', resourcePathOverride='' (default), showAdvanced=false

Example 2: Update invoice using custom path override

resource=invoice, operation=update, id='789', resourcePathOverride='/custom/invoices', showAdvanced=false

Example 3: Update invoice with advanced body JSON

resource=invoice, operation=update, id='101', showAdvanced=true, advancedBodyJson='{"total": 250}'

Links

Discussion