This endpoint is used to update a customer's profile. The profile contains information such as the customer's first_name
, last_name
, birthday
, gender
, and avatar
.Payload authenticated
#
Allowed values:malefemale
Customer code of country.
Customer profile's avatar image.
Response#
Usage#
To update the content of the customer's profile, the developer may call the methos update()
along with the customer's new information as below.in case the user change the phone/email a OTP required to complete the changes, you can take advancige of salla-verify-modal
to hanlde the OTP verifationWithout web componenet#
Events#
This endpoint may trigger two events, the onUpdated and onUpdateFailed events.onUpdated#
This event is triggered when updating the content of the customer's profile is done without having any errors coming back from the backend.onUpdateFailed#
This event is triggered when updating the content of the customer's profile is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20