Skip to content

Create a location

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

Creates a new location by providing the Address, LocationType, Country, 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
locationName
string
Location name
clientLocationId
string
required
Location code in the client’s ERP
address
string
required
Address
addressNumber
string
required
Address number
neighborhood
string
required
Neighborhood
complement
string | null
Address complement
city
string
required
City
state
string
required
State
postalCode
string
required
Postal code
country
string
required
Country
contact
string | null
Contact name
phoneNumber
string | null
Phone number
locationType
string
allowed values: UnknownDeliveryPlaceShippingPlaceInvoicingPlaceBillingPlaceReceivingPlaceCollectingPlace
companyNationalRegistration
object
businessOrganizations
array of object
List with the business organizations, consisting of the Company Code and the bussiness structure code and description.

Responses

202
400
Accepted

Body

application/json
correlationId
string