post https://{host}/v2/requests/
Use this API to allocate goodwill points to a user group.
This API will generate a request to the admin for the brand, to approve the request. Use the approve request API, to approve the request. Refer the API here
Request Body Parameters (for group goodwill requests)
Parameter | Datatype | Description |
---|---|---|
type | enum | Type of request. Value: GOODWILL . |
base_type | enum | Sub-type of the request. Value: POINTS. |
earning_entity_type | enum | USERGROUP2 |
identifier_value | string | Group id |
Response Parameters
Parameter | Datatype | Description |
---|---|---|
id | long | Unique ID generated for the goodwill request. |
warnings | string | Warnings if any. |