---
title: "Adds voucher"
method: POST
path: "/v1/customer/vouchers"
tags: ["uncategorized"]
---

# Adds voucher

`POST /v1/customer/vouchers`

## Request

- Base URL: `https://apiv1.linkmobility.eu/api`
- URL: `https://apiv1.linkmobility.eu/api/v1/customer/vouchers`
- Auth: none declared

## Request body

- VoucherRequest
  - `type` string: voucher type

## Response `200`

OK

- VoucherResponse
  - `type` string: voucher type
  - `id` integer: voucher id
  - `code` string: voucher code
  - `redemptionUrl` string: redemption url
  - `links` Link[]: links
    - `rel` string
    - `href` string

## Other responses

- `201`: Created
- `500`: Internal server error

---

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