Coupons
Update a coupon collection by id
Changed onpatch/couponCollections/{id}
Request
- Base URL: https://api.brevo.com/v3
- URL: https://api.brevo.com/v3/couponCollections/{id}
- Auth: one of:
- API key in header api-key
- API key in header partner-key
Path parameters
idstring uuidv4 required
Id of the collection to update
Request body
Example request
{
"defaultCoupon": "10 OFF",
"expirationDate": "2024-01-01T00:00:00Z",
"remainingDaysAlert": 5,
"remainingCouponsAlert": 5
}Response
Coupon collection updated
Example response
{
"name": "SummerPromotions",
"id": "23befbae-1505-47a8-bd27-e30ef739f32c",
"defaultCoupon": "10 OFF"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking