---
title: "Cancel an order item"
method: POST
path: "/v1/orders/{orderId}/cancel"
tags: ["Orders"]
---

# Cancel an order item

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

## Request

- Base URL: `https://api.bluehive.com`
- URL: `https://api.bluehive.com/v1/orders/{orderId}/cancel`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bluehive-health/apis/bluehive-api/docs/v1/orders/:orderId/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Cancel a specific order by its orderId.

## Path parameters

- `orderId` string, required

## Response `200`

Default Response

- object
  - `success` true, required
  - `message` string

## Other responses

- `401`: Default Response
- `404`: Default Response
- `500`: Default Response

## Changes

- **2025-12-17** `ff8c0cdd5854`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bluehive-health/apis/bluehive-api/changes/v1/orders/:orderId/cancel/post.md)

---

[API](https://skmtc.dev/bluehive-health/apis/bluehive-api.md) - [All operations](https://skmtc.dev/bluehive-health/apis/bluehive-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bluehive-health/apis/bluehive-api/revisions/a8bcbdf02e33?raw)
