---
title: "Cancel Order"
method: POST
path: "/orders/{id}/cancel"
tags: ["Orders"]
---

# Cancel Order

`POST /orders/{id}/cancel`

Cancels an existing order. This operation marks the order as cancelled and prevents further processing depending on its current state. If the order cannot be cancelled (for example, due to its status or related charge constraints), the API returns an error response.

## Path parameters

- `id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Response `200`

Successful operation

## Other responses

- `401` — authentication error
- `402` — payment required error
- `404` — not found entity
- `428` — Precondition Required
- `500` — internal server error

---

[API](https://skmtc.dev/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.dev/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/revisions/2e43caddf36b/schema)
