Skip to main content

Add Order

POST 

/api/orders/createorder

Tier: Public — stable, supported for third-party integration.

Creates a new order in state Open and raises OrderCreated.

Line prices/costs are auto-captured from the current ItemAggregate.SkuMaster values for any line that omits AddOrderSkuDto.UnitPriceSnapshot/AddOrderSkuDto.UnitCostSnapshot. New Orders.AddOrderSkuDto lines must reference an operational SKU (not Draft/Discontinued); place requirements (FromPlaceId/ToPlaceId) and constraint-setting fallbacks depend on AddOrderDto.OrderType — see the remarks on Orders.AddOrderDto.

Request

Responses

Returns the newly created Orders.OrderDetailDto.