Points
Points redemption
New point redemption record is created. ⚠️ Action methods are available only in the Enterprise interface.
post/points/actions/reduce-points
Request
- Base URLhttps://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"amount": 100,
"customer_id": "8ea2591121e636086a4a9c0992",
"partner_id": "86e05affc7a7abefcd513ab400",
"point_type_id": "86e05affc7a7abefcd513ab400",
"note": "Birthdate point reward"
}Response
Created
Example response
{
"data": {
"point_id": "80c2c110a50db9f8134b6b72b3"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.