Poq.SDK.Node

Home > @poq/sdk-sfcc > IAccountService > updateProfile

IAccountService.updateProfile() method

Method handles user profile update operation.

Signature:

updateProfile(token: string, profileParams: ProfileRequest): Promise<PoqResponse<ProfileResponse>>;

Parameters

Parameter Type Description
token string Auth token.
profileParams ProfileRequest Profile data to update.

Returns:

Promise<PoqResponse<ProfileResponse>>

Profile an updated profile of the user.