@plentymarkets/shop-api / doRegisterUser
Function: doRegisterUser() ​
doRegisterUser(
context
,params
):Promise
<Data
<UserChangeResponse
>>
Defined in: api/doRegisterUser/index.ts:25
Method doRegisterUser - Creates a new user account.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
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'
});