Update Device Token
Updating device tokem for firebase messaging
URL
sales/update_device_token
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
---|---|---|---|---|---|---|
key | String | 32 | 32 | M | KQ5648nzLgUuqO4cEayw9wfeIeop9WVp | Key obtained from authentiaction. |
deviceid | String | M | 1234 | |||
fcm_token | String | M | 11111 | |||
gp_fyear | String | M | 1_25 |
Response Values
Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
---|---|---|---|---|---|---|
status | String | M |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"deviceid": "1234",
"fcm_token": "11111",
"gp_fyear": "1_25"
}
Sample Success Response
{
"status": "",
"e": 200,
"msg": "Success"
}