---
search:
  tags:
    - Inventory
    - POST
seo:
  description: >-
    Changes expiry only while reserved. Specify a future timestamp… Reference
    for the POST /inventory/holds/{id}/extend endpoint in the Toreca Cloud
    Partner API.
sidebar:
  label: Change a hold expiry
  badge: POST
title: Change a hold expiry
type: openapi-operation
---
Changes expiry only while reserved. Specify a future timestamp no more than 90 days ahead. In addition to inventory:read, this needs its operation scope and the approving member’s inventory.write permission.

`POST /inventory/holds/{id}/extend`

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

- `expiresAt` (string<date-time>, required)

Request body example:

```json
{
  "expiresAt": "2019-08-24T14:15:22Z"
}
```

**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\`.
- `404` — \`not\_found\`
- `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
{
  "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"
  }
}
```
