DELETE api/orders/{id}

Deletes the specified Order. Only Orders with status "Idle" can be deleted. To cancel an open Order use PUT request and set the status to "Cancelled".

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the Order to delete.

integer

Required

Body Parameters

None.

Response Information

Resource Description

204 No Content if operation completed successfuly. 400 Bad Request if Order is not Idle. 404 if Order is not found.

None.