---
title: "Removes a voucher from an in progress order base"
method: DELETE
path: "/ocapi/v1/orders/{orderId}/vouchers/{voucherId}"
tags: ["Orders", "Vouchers"]
---

# Removes a voucher from an in progress order base

`DELETE /ocapi/v1/orders/{orderId}/vouchers/{voucherId}`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/orders/{orderId}/vouchers/{voucherId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/orders/:orderId/vouchers/:voucherId/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint is not available for in progress tab order entities.



If the voucher is not a deal voucher, all usages of the voucher on the order must be cancelled before the
voucher can be removed.

#### Licenses Required


- Vista.Ocapi

## Path parameters

- `orderId` string, required
- `voucherId` string, required

## Headers

- `Connect-Region-Code` string

## Response `204`

Voucher removed.

## Other responses

- `400`: Voucher cannot be removed.

## Changes

- **2026-10-09** `41415d239083`: 1 info
  - api tag `Orders` added

[Operation history](https://skmtc.dev/vista/apis/vista-digital-platform/changes/ocapi/v1/orders/:orderId/vouchers/:voucherId/delete.md)

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
