---
title: "Void an active custom pricing offer"
method: PATCH
path: "/accountant/admin/custom-pricing/{id}/void"
tags: ["Accountants"]
---

# Void an active custom pricing offer

`PATCH /accountant/admin/custom-pricing/{id}/void`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/admin/custom-pricing/{id}/void`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Service-key access requires SERVICE_KEY_CUSTOM_PRICING_ENABLED (default false);
otherwise the operation is concealed with 404. Human accountant access is unchanged.

## Response `200`

Void acknowledged

- object
  - `success` true, required
  - `data` object, required
    - `ok` boolean

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
