# Stock posting: Bimp API methods

URL: https://bimpsoft.com/en/help/developers/api-reference/inventory-posting/

Bimp API methods for the “Stock posting” resource (`/org2/inventoryPosting/…`): 1 method. Base URL: `https://app.bimpsoft.com`. All requests except login pass the company token in the `access-token` header — see [Getting started with the API](/en/help/developers/api-getting-started/).

| Method | What it does |
|---|---|
| [`POST /org2/inventoryPosting/api-cancel`](#api-cancel) | Cancel an inventory posting document |

## api-cancel

`POST /org2/inventoryPosting/api-cancel`

Cancel an inventory posting document

**Request body (JSON)**

| Field | Type | Required | Description |
|---|---|---|---|
| `uuid` | string (uuid) | yes | A unique uuid key for the inventory posting document |

**Response: `data` field**

| Field | Type | Description |
|---|---|---|
| `success` | boolean (true) |  |

```bash
curl -X POST 'https://app.bimpsoft.com/org2/inventoryPosting/api-cancel' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"uuid":"00000000-0000-0000-0000-000000000000"}'
```

Interactive documentation with a test request option: [https://app.bimpsoft.com/docs](https://app.bimpsoft.com/docs). The OpenAPI specification is updated together with Bimp; this page is generated from it automatically.
