Add a new E-Commerce User
Use this method to add a new user to your E-Commerce Account. You can create up to ten users at the same time.
Valid Tokens: Component and Company.
Related Articles
-
Invite Customers to your E-Commerce (Knowledge Base)
-
Future Sales in E-Commerce (Knowledge Base)
-
Create Promotional Messages for E-Commerce (Knowledge Base)
-
Featured Products (Knowledge Base)
-
Delete a Prebook 1.0 (API)
Request
URL: https://api.kometsales.com/api/v2/user/e-commerce
Method: POST
Content-Type: application/JSON
Headers
X-ACCOUNTÂ (required)(integer:20)
ID of the Company using the API.
Please ask the Komet Sales team to provide this ID.Â
authenticationToken (required)(string:50)
Komet Sales security token.
Input parameters
customerCodes (required)(string:20)
Customer code assigned to the new user.
If the code already exists, the system associates the new customer to the selected code.
First Name (required)(string:200)
First name of the new user.
Last Name (required)(string:200)
Last name of the new user.
Email (required)(string:500)
Email address associated to the new user.
Login (required)(string:500)
Username selected to login into the system.Â
{
"customerCodes": ["B310","C910"],
"firstName": "John",
"lastName": "Gomez",
"email": "jgomez1@kometsales.com",
"login": "jgomez1@kometsales.com"
}
Â
Response
message (string:200)
Transaction status description.
status (boolean:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
{
"message": "User was successfully created.",
"status": "1"
}