post https://{host}/v1.1/request/approve
Allows approving requests that are in pending status. You can use this API only when the auto-approval configurations are not enabled for your organization. Also, you cannot approve force approval requests made using client_auto_approve=true
.
Request Body Parameters
Parameter | Datatype | Description |
---|---|---|
id* | long | Reference id of the request that you want to approve. |
type* | enum | Type of request. Value: CHANGE_IDENTIFIER , GOODWILL , TRANSACTION_UPDATE . |
base_type* | enum | Sub-type of the request. Value: If type=CHANGE_IDENTIFIER , base_type could be MOBILE , EMAIL , EXTERNAL_ID , MERGE , or REALLOCATION . |
If type=GOODWILL
, base_type will be POINTS
, or COUPONS
.