Update a user by id
put
https://api.mercadoe.com/v1/users/{id}
Update fields of user by providing the Id
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.
Path Parameters
id
int32
required
User id
Body
application/json
name
string
required
Name
contact
string
Contact
email
string
Email
phone
string
Phone
profile
string
Profile
permission
string
Permission
role
string
Role/ Position in the company
integrationTag
string
Identification of the ME user used in the integration.
isDeactivated
boolean | null
Is this user deactivated?
languageId
int32 | null
Default language selection:
- 0 = Portuguese (BR)
- 1 = English
- 2 = Spanish
- 0 = Portuguese (BR)
- 1 = English
- 2 = 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.
supplierGroups
array of object | null
It is a list of group of suppliers used by the user with the buyer profile
Responses
202
400
404
Accepted
Body
application/json
correlationId
string