Coupon Codes
Update a coupon code
Changed onput/coupon-codes/{id}
Request
- Base URL: https://api.session.services
- URL: https://api.session.services/coupon-codes/{id}
- Auth: API key in header x-tenant-id
Path parameters
idstring required
A unique identifier for this coupon code.
Example:cod_01jps5cgsfzftw7hxcvr2wftk2
Request body
Example request
{
"name": "TEST50",
"active": true
}Response
OK
Example response
{
"couponCode": {
"id": "cod_01jps5cgsfzftw7hxcvr2wftk2",
"createdAt": "2026-10-17T08:46:46.697Z",
"updatedAt": "2026-10-17T08:46:46.697Z",
"name": "TEST50",
"active": true,
"couponId": "cpn_01jps5cgsfzs1ksqaet5hba8ac"
}
}Changes
- info
added the non-success response with the status
- info