api/v1/customer/associate-reg-token

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

ParameterValue / TypeRequired
reg_tokenSTRINGTrue
old_reg_tokenSTRINGFalse

Sample Response

{
    "status": true,
    "message": "Registration token successfully set on customer"
}
{
    "status": false,
    "errorCode": "INVALID_CUSTOMER",
    "message": "Customer could not be found"
}