- Back to home
- Core
- Authentication
- User
- Point Reward
- Notification
- HealthcheckGET
- Renew OTPPOST
Update Notification
Developing
PUT
/core/v1/notifications/{deviceId}
Last modified:2025-04-18 11:52:13
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
deviceId
string
required
Body Params application/json
eating_time
boolean
optional
trip_popular
boolean
optional
trip_upcoming
boolean
optional
trip_review
boolean
optional
trip_daily
boolean
optional
fcm_token
string
optional
Example
{
"eating_time": true,
"trip_popular": true,
"trip_upcoming": true,
"trip_review": true,
"trip_daily": true,
"fcm_token": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/core/v1/notifications/' \
--header 'Content-Type: application/json' \
--data-raw '{
"eating_time": true,
"trip_popular": true,
"trip_upcoming": true,
"trip_review": true,
"trip_daily": true,
"fcm_token": "string"
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}