---
search:
  tags:
    - Inventory
    - POST
seo:
  description: >-
    Up to 100 unique IDs. A confirmed or shipped hold refuses the… Reference for
    the POST /inventory/holds/release-batch endpoint in the Toreca Cloud Partner
    API.
sidebar:
  label: Release holds in a batch
  badge: POST
title: Release holds in a batch
type: openapi-operation
---
Up to 100 unique IDs. A confirmed or shipped hold refuses the entire batch. Already cancelled holds are unchanged. In addition to inventory:read, this needs its operation scope and the approving member’s inventory.write permission.

`POST /inventory/holds/release-batch`

**Request body** (`application/json`, required)

- `holdIds` (string<uuid>[], required)
- `reason` (string, required)

Request body example:

```json
{
  "holdIds": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "reason": "string"
}
```

**Responses**

- `200` — Success
- `400` — \`invalid\_request\`: a parameter is invalid.
- `401` — \`invalid\_token\`: the token is missing, expired, or for another resource.
- `403` — One of \`insufficient\_scope\`, \`connection\_revoked\`, \`client\_disabled\` or \`forbidden\`.
- `409` — Conflict, reused requestId or receipt not confirmed
- `422` — The state, target or value refuses the operation. Inspect error and affected IDs.

Response example, 200:

```json
{
  "holds": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "orderNumber": "string",
      "status": "reserved",
      "version": 0,
      "inventoryItemId": "ef1bc09e-447a-46aa-a9d9-d86e3d490831",
      "purpose": "oripa",
      "destinationLabel": "string",
      "externalRef": "string",
      "expiresAt": "2019-08-24T14:15:22Z",
      "trackingNumber": "string",
      "sale": {
        "amountMinor": 0,
        "currency": "string",
        "source": "entered"
      }
    }
  ]
}
```
