---
title: "extendDiscountValidity discount"
method: PUT
path: "/ops/discount/{id}/extend"
tags: ["ops"]
---

# extendDiscountValidity discount

`PUT /ops/discount/{id}/extend`

Extend a discount's valid start and/or end datetimes

## Path parameters

- `id` string, regexp, required — discount ID

## Request body

- ExtendDiscountValidityRequestBody
  - `valid_from` string, date-time — Discount start datetime
  - `valid_until` string, date-time — Discount end datetime

## Response `200`

OK response.

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.
- `404` — NotFound: Not Found response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/versions/fa134b7fc959/schema)
