Skip to content

Create a business organization

post
https://api.mercadoe.com/v1/business-organizations

Create a new business organization by providing the business organization entity type, business organization description, 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
entityType
string
required
Type of organizational structure. Example: Company, branch, department.
description
string
required
Description of the business organization
clientBusinessOrganizationId
string
required
Business organization code in the client’s ERP
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
Accepted

Body

application/json
correlationId
string