Skip to content

Update an order based on the order Id

put
https://api.mercadoe.com/v1/orders/{orderId}

Change fields of a specific purchase order with provided values.

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

orderId
int32
required
the order id

Body

application/json
deliveryPlace
int32 | null
note
string | null
paymentCondition
string | null
partnerSupplierId
int32 | null
freightValue
double | null
incoTerms
string | null
proposalExpirationDate
date-time | null
currencyCode
string | null
carrierID
int32 | null
substituteSupplierID
int32 | null
carrierSupplierID
int32 | null
isCanceled
boolean | null
items
array of object
contractId
int32 | null
clientContractId
string | null

Responses

202
400
404
Accepted

Body

application/json
correlationId
string
Credentials
shell