---
title: "Cancel Sold Package"
method: PUT
path: "/inventory/packages/cancel-sold-package/{sold_package_id}"
tags: ["provider", "inventory"]
---

# Cancel Sold Package

`PUT /inventory/packages/cancel-sold-package/{sold_package_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/inventory/packages/cancel-sold-package/{sold_package_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/inventory/packages/cancel-sold-package/:sold_package_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Revoke a sold package by setting its status to REVOKED.

## Path parameters

- `sold_package_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
