Create supplier exchange plan
Creates a new supplier exchange plan in DRAFT status for the given supplier. Used by agents and external tools to initiate a bilateral exchange operation where items are both returned to and received from a supplier.
Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Body
Identifier of the supplier for the exchange plan
1Optional exchange deadline in ISO-8601 format (e.g. 2025-09-30)
Optional free-text description of the plan
Optional identifier of the shop that will receive items from the supplier (RECEIVE side)
Optional display name for the plan; auto-generated when omitted
Optional free-text reason for creating the plan; recorded in the audit trail
500Optional identifier of the business-logic rule group to attach to the plan
Optional identifier of the shop from which items are returned (RETURN side)

