Cancelar una orden

Para cancelar una orden previamente registrada, es necesario contar con el identificador único de la orden generado por Eden

Para este servicio se utiliza el método HTTP DELETE, pero el registro no se borra, solo se cancela y queda en el histórico por si es necesario hacer alguna validación posterior.

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
200

A successful response that returns the order details.

application/json
delete
/orders/{id}/

Last updated