Weclapp icon

Weclapp

Interact with the Weclapp ERP/CRM API

Actions136

Sales Invoice → Update

AI-generated

Summary

Updates a Weclapp sales invoice by its internal record ID, sending the selected fields and custom attributes. Use Dry Run to validate the update through Weclapp’s business logic without saving changes.

Inputs

  • Record ID (required) — The Weclapp internal ID of the sales invoice to update.
  • Fields to Update — Choose the invoice fields to send, such as customer, currency, dates, payment status, invoice type, or status. The collection defaults to empty; only selected fields are provided for the update. The Version field can carry a version from a prior GET for optimistic locking.
  • Custom Attributes — Map custom attributes available for the Sales Invoice entity. This field is only useful when Weclapp has custom attributes configured for that entity.
  • Dry Run — Defaults to false. When enabled, Weclapp validates the update and runs its business logic without persisting changes.

Output shape

A single updated sales invoice record, or a success response without the updated record when Dry Run is enabled.

The update targets the supplied record ID. Weclapp returns 200 ok for a successful dry run instead of its usual result.

Links

Discussion