Update a business organization and its associated processes
put
https://api.mercadoe.com/v1/business-organizations/{businessOrganizationId}
Update a business organization and its associated processes specified by its 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
businessOrganizationId
int32
required
the business organization id
Body
application/json
entityType
string
required
Type of organizational structure. Example: Company, branch, department.
description
string
required
Description of the business organization
isDeactivated
boolean | null
Flag to identify if the business organization is blocked (True/False)
groups
array of object
List with the product groups. This list contains the
ClientGroupId
, Description
, and AssociateAll
fields.costCenters
array of object
List with the cost centers associated with the business organization. This list contains the
ClientCostCenterId
and Description
fields.businessOrganizationParents
array of object
List with the business organizations parents. This list contains the
ClientParentCode
and ParentEntityType
fields.Responses
202
400
404
Accepted
Body
application/json
correlationId
string