# MD for: https://www.mercadopago.com.ar/developers/en/docs/mp-delivery/order-management/cancel-order.md \# Cancel order To cancel an order that was accepted in the POS, perform a PUT sending the \`shipment\_id\` and the\` access\_token\` (generated by the OAuth authentication process) to the endpoint \[/proximity-integration/shipment/{shipment\_id}/cancel\](https://www.mercadopago.com.ar/developers/pt/reference/mp\_delivery/\_proximity-integration\_shipments\_shipment\_id\_cancel/put). Check \[Security\](https://www.mercadopago.com.ar/developers/en/guides/additional-content/security/oauth/introduction) for more information about OAuth.