curl --request PUT \
--url https://storekit.samarthh.me/v1/user/profile \
--header 'Content-Type: */*' \
--data '
"\"{\\n \\\"name\\\": \\\"Samarth\\\"\\n //\\\"avatar\\\": \\\"https://example.com/avatar.jpg\\\"\\n}\""
'Update user profile (name, avatar). Requires authentication.
curl --request PUT \
--url https://storekit.samarthh.me/v1/user/profile \
--header 'Content-Type: */*' \
--data '
"\"{\\n \\\"name\\\": \\\"Samarth\\\"\\n //\\\"avatar\\\": \\\"https://example.com/avatar.jpg\\\"\\n}\""
'The body is of type string.
"\"{\\n \\\"name\\\": \\\"Samarth\\\"\\n //\\\"avatar\\\": \\\"https://example.com/avatar.jpg\\\"\\n}\""
Successful response