Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Use this method to add a new user to your E-Commerce Account. You can create up to ten users at the same time.

Tip

Valid Tokens: Component and Company.


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "e-commerce" , "user-setup" , "company-token" )

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. 


Code Block
{
  "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


Code Block
{
    "message": "User was successfully created.",
    "status": "1"
}

We've encountered an issue exporting this macro. Please try exporting this page again later.