Arguments
editProfileRequestSchemaInput
EditProfileRequestSchemaInputDescribes the request structure to edit the profile details.
platform
StringID of the application.
Response
country_code
StringThe country specific prefix for the phone number.
email
StringEmail id of user.
message
StringInformation about the operation's result.
mobile
StringThe user's mobile number without the country code.
register_token
StringUnique registration token for user.
request_id
StringA random uuid string used to track the request.
resend_email_token
StringUnique token to identify the request for OTP verification in case of unverified email.
resend_timer
IntTime in seconds before an request can be resent.
resend_token
StringA token used to authorize the resending of request.
success
BooleanWhether the operation was successful.
user
UserDetailDescribes the user details structure.
user_exists
BooleanIf user is registered or not.
verify_email_link
BooleanWhether to send a link to verify the registered email id of the user.
verify_email_otp
BooleanWhether to send a OTP to verify the registered email id of the user.
verify_mobile_otp
BooleanWhether to send a OTP to verify the registered phone of the user.
Mutation
1mutation updateProfile(2 $editProfileRequestSchemaInput: EditProfileRequestSchemaInput3 $platform: String4) {5 updateProfile(6 editProfileRequestSchemaInput: $editProfileRequestSchemaInput7 platform: $platform8 ) {9 country_code10 email11 message12 mobile13 register_token14 request_id15 resend_email_token16 resend_timer17 resend_token18 success19 user {20 id21 account_type22 active23 application_id24 created_at25 dob26 first_name27 gender28 last_name29 meta30 profile_pic_url31 updated_at32 user_id33 username34 external_id35 rr_id36 }37 user_exists38 verify_email_link39 verify_email_otp40 verify_mobile_otp41 }42}
Try it
Input Variables
1{2 "editProfileRequestSchemaInput": {3 "android_hash": "android_hash",4 "country_code": "country_code",5 "dob": "dob",6 "email": "[email protected]",7 "first_name": "first_name",8 "gender": "gender",9 "last_name": "last_name",10 "mobile": {11 "country_code": "country_code",12 "phone": "1+ 418-323-4236"13 },14 "profile_pic_url": "profile_pic_url",15 "register_token": "register_token",16 "sender": "sender"17 },18 "platform": "platform"19}
Response
1{2 "updateProfile": {3 "country_code": "country_code",4 "email": "[email protected]",5 "message": "message",6 "mobile": "mobile",7 "register_token": "register_token",8 "request_id": "request_id",9 "resend_email_token": "resend_email_token",10 "resend_timer": 42,11 "resend_token": "resend_token",12 "success": true,13 "user": {14 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",15 "account_type": "account_type",16 "active": true,17 "application_id": "application_id",18 "created_at": "created_at",19 "dob": "dob",20 "first_name": "first_name",21 "gender": "gender",22 "last_name": "last_name",23 "meta": {},24 "profile_pic_url": "profile_pic_url",25 "updated_at": "updated_at",26 "user_id": "user_id",27 "username": "username",28 "external_id": "external_id",29 "rr_id": "rr_id"30 },31 "user_exists": true,32 "verify_email_link": true,33 "verify_email_otp": true,34 "verify_mobile_otp": true35 }36}
Was this section helpful?