ORDER-150 - Update commercial order lines

Add or update lines on an existing commercial order.

Scope

  • Front Office only; caller must be an ACCOUNT user.

Store scoping

  • Effective store is dj-store header if provided; otherwise the tenant default store.
  • Caller must be attached to the effective store; otherwise 403.

Operation context

  • If the order originates from an Operation (sourceType = OPERATION) and you are in a PARTIAL flow:
  • For a line whose variant belongs to the Operation, apply Operation constraints (visibility, dates, minQuantity / maxQuantity) alongside standard rules.
  • For a line whose variant does not belong to the Operation, apply standard rules only (no Operation constraints).
  • If none of the requested lines are eligible after applying all applicable constraints, the request fails with 422.

Response model

  • On success, returns an array of non-blocking warnings (may be empty) describing adjustments performed by the system (for example, quantity bounded to min/max).
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!