cURL
curl --request POST \ --url https://jamquest-dev.techboo.net/api/v1/user/dj/update-fees \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "fee_upcoming_artist": 5, "fee_popular_song": 10 } '
{ "status": "ok", "message": "<string>", "data": { "user": { "id": 123, "name": "<string>", "email": "[email protected]", "phone": "<string>", "is_dj": true, "wallet_balance": 123, "fee_upcoming_artist": 123, "fee_popular_song": 123, "online": 123, "played": 123, "city": "<string>", "state": "<string>", "country": "<string>", "latitude": 123, "longitude": 123, "radius": 123, "email_verified": true, "phone_verified": true, "rating": 123, "rating_count": 123 } } }
Updates the authenticated DJ’s fees for upcoming artists and popular songs.
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
5
10
Fees updated successfully
"ok"
Show child attributes