Cancel an order

To cancel a previously registered order, it is necessary to have the unique order identifier generated by Eden

The HTTP DELETE method is used for this service, but the record is not deleted; it is only canceled and remains in the history in case any subsequent validation is necessary.

Cancel an order.

delete
/orders/{id}/

Cancel an order from the provided data.

Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Body
cancel_reasonstringRequired

Reason for which the order was cancelled. The options are "non-attendance", "room-not-available", "pregnant-risk", "physical-limitation" and "other".

cancel_descriptionstringOptional

Details of the reason why the order was cancelled. Max length is 255 characters.

Responses
chevron-right
200

A successful response that returns the order details.

application/json
delete
/orders/{id}/

Last updated