HelperStable

Finalize return

Closes a Return with its final resolution and the business objects that materialize that resolution.

Business object
Finalize return
Business lifecycle
Updated state

Vue d’ensemble

Closes a Return with its final resolution and the business objects that materialize that resolution.

Exemple

Finalize a return as refunded after creating the corresponding credit note and refund intent.

Parameters 5

returnRequisReturn
Platform Return whose lifecycle or quantities must be updated.
resolution_statusRequisenum
Final business resolution to apply to the case or return.
quantity_basisRequisenum
Return quantity stage used as the calculation basis: requested, authorized, received, or accepted quantity according to the node contract.
resolution_detailOptionnelstring
Human-readable explanation of the final resolution.
related_objectsOptionnelreturn related object[]
Business objects associated with the resolution, for example credit note, refund, or replacement when the contract allows it.

Outputs 1

returnReturn
Canonical Return after applying the lifecycle step.

Behavior

The node sets the resolution, may materialize the accepted quantity basis, and attaches related objects that explain the final outcome.

Key point The node applies a canonical business operation: it does not bypass the object's lifecycle and fails when the requested transition is incompatible with the current state.

Limits and responsibilities

  • Related objects must already have been created by the appropriate steps; finalization does not replace their lifecycle.
  • The resolution must reflect what was actually granted to the customer.