Shop games
Record Game Progress
Updates the progress of a specific game session
PUT
/{locale}/shop/game-sessions/{sessionKey}/progressUpdates the progress of a specific game session
Authorization
bearerAuth AuthorizationBearer <token>
Enter JWT token in the format: Bearer {token}
In: header
Path Parameters
locale*string
Locale code
sessionKey*string
Session key
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/en/shop/game-sessions/game_session_1234567890abcdef1234567890abcdef/progress" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "data": { "id": 1, "user_id": 1, "game_id": 1, "session_key": "game_session_1234567890abcdef1234567890abcdef", "status": "active", "score": 1500, "level": 6, "progress_data": { "level": 6, "score": 1500 }, "started_at": "2023-10-27T10:00:00Z", "expires_at": "2023-10-27T11:00:00Z", "completed_at": null, "reward_claimed": false, "game": { "id": 1, "name": "Wheel of Fortune", "type": "wheel_of_fortune", "description": "Spin the wheel to win prizes", "is_active": true, "is_featured": false, "points_cost": 100, "daily_limit": 5, "can_play": true, "play_restriction": null } }}