---
title: "Update a coupon collection by id"
method: PATCH
path: "/couponCollections/{id}"
tags: ["Coupons"]
---

# Update a coupon collection by id

`PATCH /couponCollections/{id}`

## Path parameters

- `id` string, uuidv4, required

## Request body

- UpdateCouponCollection
  - `defaultCoupon` string — A default coupon to be used in case there are no coupons left
  - `expirationDate` string, date-time — Specify an expiration date for the coupon collection in RFC3339 format. Use null to remove the expiration date.
  - `remainingDaysAlert` integer — Send a notification alert (email) when the remaining days until the expiration date are equal or fall bellow this number. Use null to disable alerts.
  - `remainingCouponsAlert` integer — Send a notification alert (email) when the remaining coupons count is equal or fall bellow this number. Use null to disable alerts.

## Response `200`

Coupon collection updated

- InlineResponse2008
  - `id` string, uuidv4, required — The id of the collection
  - `name` string, uuidv4, required — The name of the collection
  - `defaultCoupon` string — The default coupon of the collection

## Other responses

- `400` — bad request
- `401` — unauthorized

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/revisions/2aec3cf66501/schema)
