---
title: "Validates and applies a discount voucher/gift voucher code against an order"
method: GET
path: "/applyvoucher/{orderId}/{orderKey}/{voucherCode}"
tags: ["BookingFlow"]
---

# Validates and applies a discount voucher/gift voucher code against an order

`GET /applyvoucher/{orderId}/{orderKey}/{voucherCode}`

## Path parameters

- `orderId` integer, required
- `orderKey` string, required
- `voucherCode` string, required

## Query parameters

- `interactSession` string
- `giftAmount` number, double
- `isSecond` boolean
- `delete` boolean

## Response `200`

Success - Returns the payment profile of the requested search session.

## Other responses

- `400` — Bad request - check the response message for what information is missing or incorrect.
- `401` — Authentication error - check your authentication headers.
- `417` — Error response - check the response errors for more information.
- `500` — Error response - internal unrecoverable system error.

---

[API](https://skmtc.dev/travelify/apis/travelify-io-api.md) · [All operations](https://skmtc.dev/travelify/apis/travelify-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/travelify/travelify-io-api/revisions/b09ce3f0c6d5/schema)
