Coupons
Update a coupon collection by id
patch/couponCollections/{id}
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"
}