POST
/ordersCreate order
Create a new order (place order). Converts cart to order or creates order with provided details.
Orders
Request
Make a POST request to /orders with a JSON request body.
Request Body
Required
Content-Type: application/json
Response
201Order created successfully
400Bad Request
409Conflict (e.g., items out of stock)
500Internal Server Error