onesignal update device api code example
Example: onesignal update device api
curl --include \
--request PUT \
--header "Content-Type: application/json" \
--data-binary "{\"app_id\" : \"APP_ID\",
\"language\":\"es\",
\"timezone\":-28800,
\"game_version\":\"1.0\",
\"device_os\":\"7.0.4\",
\"device_type\":0,
\"device_model\":\"iPhone\",
\"tags\":{\"a\":\"1\",\"foo\":\"\"}}" \
https://onesignal.com/api/v1/players/PLAYER_ID