POST
/api/v1/customer/associate-reg-token
This API method will associate a registration token from Firebase, with a customer. Use this to set or replace an existing registration token.
Sample Request body
Parameter | Value / Type | Required |
|---|---|---|
reg_token | STRING | True |
old_reg_token | STRING | False |
Sample Response
{
"status": true,
"message": "Registration token successfully set on customer"
}{
"status": false,
"errorCode": "INVALID_CUSTOMER",
"message": "Customer could not be found"
}