ORDER-223 - Synchronise a commercial order

Overview
Synchronises a commercial order so it remains consistent with the current pricing, availability and configuration rules applied to its order lines.

User scoping
Only dj-client: ACCOUNT is allowed (customer users).

Store scoping
The store context is resolved from dj-store (when provided) or from the tenant default store.
dj-store-view may further refine the store view context when applicable.

Visibility
Access and visibility rules apply to the order and its content, including ownership/permissions and catalog visibility (eligible catalog views).

Validation rules
The commercial order must be editable and not validated.
When at least one blocking warning is detected, no change is applied.
This endpoint only applies to commercial orders created through an order-based checkout.

Business rules
This endpoint supports two execution contexts depending on the tenant configuration:

  • RTP (Real Time Pricing): synchronisation relies on pricing and availability data provided by an external system outside of Djust, accessed in real time.
  • Standard mode: synchronisation relies on persisted Djust data (catalog, offer prices, offer stock, custom fields).
    In both contexts, offer eligibility rules apply (offer price, offer stock and supplier status, account eligibility).

Errors
This endpoint may return authentication, authorisation (permissions), validation, not found or conflict errors.
Standard Djust error codes apply.

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!