# Orders v2 The following things are changed from version 1: - You will get an error code and an error message when the order is incorrect. - You will get an `orderId` back from the post request to check the status of your order. `"Intraday"` orders will be rejected from this endpoints when `"XBID"` functionality is **enabled**. `"Expost"` orders will still work. You can create `"Intraday"` orders for `"XBID"` using the **XBID Orders endpoints** ## Get Order - [GET /public-api/2.0/electricity/orders/{id}](https://api-reference.etpa.nl/api/orders-v2/getorder.md): Get order by id. ## Update Order - [PUT /public-api/2.0/electricity/orders/{id}](https://api-reference.etpa.nl/api/orders-v2/putorder.md): Updates existing order. When creating a new order, a regular user has 2 options: - Creating a buy order - Creating a sell order Brokers have the ability to create a direct trade. This enables the broker to do trades between his own clients. ## Cancel Order - [DELETE /public-api/2.0/electricity/orders/{id}](https://api-reference.etpa.nl/api/orders-v2/cancelorder.md): Cancel order by ID. ## Get Orders - [GET /public-api/2.0/electricity/orders](https://api-reference.etpa.nl/api/orders-v2/getorders.md): Get orders filtered on the selected timeblock(s), on participantId, on own orders or not with the my-parameter. ## Create Order - [POST /public-api/2.0/electricity/orders](https://api-reference.etpa.nl/api/orders-v2/postorder.md): Creates new order. When creating a new order, there are 2 options - Creating a buy order - Creating a sell order