Update profile
first_name
, last_name
, birthday
, gender
, and avatar
.Payload authenticated
UpdateProfilePayload
first_name
string
required
last_name
string
required
birthday
string
optional
Example:
2022-02-22
gender
enum<string>
optional
Allowed values:
malefemale
email
string
required
mobile
string
required
country_code
string
required
Default:
SA
country_key
string
required
Default:
+966
avatar
object
BinaryType
Response
Success
Error
UpdateProfileSuccess
success
boolean
success
status
enum<number>
status
Allowed values:
200201202
data
object
data
first_name
string
first_name
last_name
string
last_name
phone
object
phone
email
string
email
avatar
string
avatar
gender
gender
birthday
string
birthday
verification
object
optional
Usage
update()
along with the customer's new information as below.salla-verify-modal
to hanlde the OTP verifation
Without web componenet
Events
onUpdated
onUpdateFailed
Modified at 2024-02-19 07:53:44