POST
/api/v1/customer/{id}/gift/{store_id}
id refers to the team member of store provided by customer for which points are being transferred.
This API method will allow you to gift points to your team member.
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
gift_pts | INTEGER | true |
store_id | INTEGER | true |
Sample Response
{
"status": true,
"message": "Successfully gifted 10 points"
}{
"status": false,
"message": "The provided member does not exist in your team."
}{
"status": false,
"message": "Not enough points to give to team member"
}{
"status": false,
"errorCode": "VALIDATION_EXCEPTION",
"messages": {
"store_id": [
"store id could not be found. Check your ID"
]
}
}