---
title: "Cancel all position items of an order"
method: POST
path: "/v4/orders/{salesOrderId}/cancellation"
tags: ["Orders V4"]
---

# Cancel all position items of an order

`POST /v4/orders/{salesOrderId}/cancellation`

## Request

- Base URL: `https://api.otto.market`
- URL: `https://api.otto.market/v4/orders/{salesOrderId}/cancellation`
- Auth: HTTP bearer

Allows to cancel all position items of one or more orders by salesOrderId.<br>Note: Only position items in state PROCESSABLE can be cancelled. Position items in different states will be ignored. If no position item can be cancelled the operation will respond with a conflict error message.

## Path parameters

- `salesOrderId` string, required

## Response `202`

The request was accepted - update will be processed asynchronously

## Other responses

- `400`: Request is invalid
- `401`: Authentication failed
- `403`: Forbidden
- `404`: At least one of the given salesOrderIds is unknown
- `409`: There was a conflict while trying to cancel

## Changes

- **2026-09-01** `b1bc133112bd`: 1 info
  - for the `path` request parameter `salesOrderId`, the type was generalized from `array` to `string`

[Operation history](https://skmtc.dev/otto/apis/otto-market-api/changes/v4/orders/:salesOrderId/cancellation/post.md)

---

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