Update a location based on the LocationId
put
https://api.mercadoe.com/v1/locations/{locationId}
Updates a location 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
locationId
int32
required
Body
application/json
locationName
string | null
Location name
clientLocationId
string | null
Location code in the client’s ERP
address
string | null
Address
addressNumber
string | null
Address number
neighborhood
string | null
Neighborhood
complement
string | null
Address complement
city
string | null
City
state
string | null
State
postalCode
string | null
Postal code
country
string | null
Country
contact
string | null
Contact name
phoneNumber
string | null
Phone number
locationType
string
allowed values:
Unknown
DeliveryPlace
ShippingPlace
InvoicingPlace
BillingPlace
ReceivingPlace
CollectingPlace
businessOrganizations
array of object
List with the business organizations, consisting of the Company Code and the bussiness structure code and description.
companyNationalRegistration
object
Responses
202
400
404
Accepted
Body
application/json
correlationId
string