---
title: "Cancel Order"
method: POST
path: "/{applicationId}/orders/{orderId}/cancel"
tags: ["Order API Grubtech Endpoints"]
---

# Cancel Order

`POST /{applicationId}/orders/{orderId}/cancel`

The Cancel Order endpoint enables the request to cancel an active order. Grubtech will process this request and either approve or reject it, depending on the order's current status.

## Path parameters

- `applicationId` string, required
- `orderId` string, required

## Request body

- OrderCancellationRequest
  - `cancellationReason` string, required — order cancellation reason
  - `canceledAt` string, required — order cancellatation time

## Response `204`

Successful response

## Other responses

- `400` — Bad request
- `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)
