---
title: "Cancel Order"
method: POST
path: "/{service-id}/orders/{id}/cancel"
tags: ["Order Status Update API Grubtech Endpoints"]
---

# Cancel Order

`POST /{service-id}/orders/{id}/cancel`

The **Cancel Order** endpoint is used to mark an order as canceled within the Order Status Update API. It signifies that the order is no longer active and should not proceed further in the workflow. Typically, this action is initiated when the customer, merchant, or platform cancels the order for various reasons such as stock unavailability, customer request, or other issues. Upon a successful request to this endpoint, the order status is updated to reflect the cancellation, and any further actions related to the order (e.g., preparation, delivery) are stopped.

## Path parameters

- `service-id` string, required
- `id` string, required

## Request body

- object — Order cancellation information
  - `reason` 'OUT_OF_ITEMS' | 'RESTAURANT_TOO_BUSY' | 'OTHER', required — Order cancellation reasons
  - `note` string — Reason or note for cancellation

## Response `204`

Successful response OK

## Other responses

- `400` — Bad request
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/grubtech/apis/grubtech-auth-server.md) · [All operations](https://skmtc.net/grubtech/apis/grubtech-auth-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grubtech/grubtech-auth-server/versions/21688b6dcb69/schema)
