Place order
Basically, it is changing or moving the order's status to Placed
There are 2 ways to place an order:
- Set orderStatus to placed when creating the order
- Move order's status to placed using place endpoint
Here is an example on how to move order to placed status using place endpoint:
No request body is needed
PUT https://api.discover.swiss/test/market/orders/{{ orderId }}/place
{
"order": {
"orderNumber": "{{ orderId }}",
"orderStatus": "Placed",
...
},
"validationMessages": []
}
Warning
It is not possible to place an order once it's paid.