Benefits
Cancel or renew benefit subscription
Changed onpatch/benefits/{benefitId}
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
benefitIdstring required
Request body
Response
Benefit subscription status updated successfully
Example response
{
"id": "60965cfccf2844a6",
"beneficiary": {
"name": "Eva Koster",
"email": "evko@softix.nl"
},
"city": "Utrecht",
"country": "Netherlands",
"service": {
"name": "MultiSport Active Plus",
"provider": "Benefit Systems"
},
"monthlyFee": 250,
"subscribedAtDate": "2016-01-01",
"cancelledAtDate": "2016-05-31"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
removed the non-success response with the status
- breaking