PlaySuper LogoPlaySuper
API ReferenceSwaggerPlayer

Update player profile details

PATCH
/player/gcommerce/profile
AuthorizationBearer <token>

In: header

Header Parameters

x-api-keystring

Game API Key

x-game-uuid?string

Game UUID

firstNamestring

First name of the player

lastNamestring

Last name of the player

genderstring

Gender of the player

Value in"MALE" | "FEMALE" | "OTHER"
dateOfBirthstring

Date of birth of the player in ISO format

emailstring

Email address of the player

phoneNumberstring

Phone number of the player

Response Body

curl -X PATCH "https://api.playsuper.club/player/gcommerce/profile" \  -H "x-api-key: string" \  -H "x-game-uuid: string" \  -H "Content-Type: application/json" \  -d '{    "firstName": "John",    "lastName": "Doe",    "gender": "MALE",    "dateOfBirth": "1990-01-01",    "email": "john.doe@example.com",    "phoneNumber": "+1234567890"  }'
{
  "firstName": "John",
  "lastName": "Doe",
  "gender": "MALE",
  "dateOfBirth": "1990-01-01",
  "email": "john.doe@example.com",
  "phoneNumber": "+1234567890",
  "profilePicUrl": "https://example.com/profile.jpg",
  "playerId": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
Empty