Skip to content

Create a user

post
https://api.mercadoe.com/v1/users

Create a new user by providing the name, login, profile, and other details.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Body

application/json
name
string
required
Name
login
string
required
Login
contact
string
required
Contact
email
string
required
Email
phone
string
Phone
profile
string
required
Profile
permission
string
required
Permission
role
string
required
Role/ Position in the company
integrationTag
string
required
Identification of the ME user used in the integration.
isDeactivated
boolean
Is this user deactivated?
languageId
int32
required
Default language:
0=EN/BR
1=English
3=Spanish
businessOrganizations
array of object | null
Business Organizations is a list consisting of the Company Code and the Delivery Center/Location Code.
costCenters
array of object | null
Cost centers is a list consisting of the Cost center codes.
purchasingGroups
array of object | null
Purchasing groups is a list consisting of the Purchasing group code and the Purchasing group description.

Responses

202
400
Accepted

Body

application/json
correlationId
string