@plentymarkets/shop-api / doRegisterUser
Function: doRegisterUser() ​
doRegisterUser(
context
,params
):Promise
<Data
<UserChangeResponse
>>
Method doRegisterUser - Creates a new user account.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: RegisterParams
email: string - User email address. password: string - User password.
Returns ​
Promise
<Data
<UserChangeResponse
>>
Remarks ​
- Calls /rest/io/customer/
- This method is used to register a new user account.
Example ​
ts
const { data } = await useSdk().plentysystems.doRegisterUser({
email: email,
password: 'Testuser1234'
});