Create new account

Interface

It allows you:

  • to create a public Client (as a Business Partner), on specific webstore context, with:

    • one default location;

    • one default contact;

    • assign this new contact to a predefined role with role type = "Customer".

Use this method to implement "Register" (a new user/client) procedure on your application/site.

After this request, the user will rececive an email message on his Inbox. This email message will contain a link to be used to confirm your request and to activate your new registration.

Prerequisites:

  • in order to use this API Method you must have an active Web Store registered in SocrateCloud!

Actions can be done:

  • create (provisioning)

API Methods

Create:

URL: https://api.socratecloud.com/webapi/rest/public/wstore/provisioning/register_user/{version}?WebContext={web_context}

Method: POST

Return: Text stating that confirmation email was sent to email address or error message (start with "ERROR: ")

{

"UserName": "Visitor Name",

"EMail": "visitor.email@email.com",

"Password": "123",

"Phone": "9876543",

"BPartnerName": "Visitor Company",

"TaxID": "RO1234",

"DUNS": "J08/343/2011",

"Location": null,

"Address1": "Zambilelor nr. 4 Cl. A",

"Country": "RO",

"Region": "Brasov",

"City": "Brasov",

"PostalZipp":"500256",

"IsInEU": true,

"IsShippAddress": true,

"IsInvoiceAddress": true,

"IsPayFromAddress": true,

"IsRemitToAddress": true,

"GlobalLocationNumber": null

}