Skip to content

Create an order delivery

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

Create a new order delivery after the creation of a purchase order. The delivery can be partially by informing false in the closed field.

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
orderItemId
int32
required
The order item number for ME.
deliveryDate
date-time
required
The delivery date for the item.
quantity
double
required
The quantity of delivered items.
invoice
string | null
Invoice
invoiceNumber
string | null
Invoice Number
invoiceSerie
string | null
Invoice Series
electronicInvoiceKey
string | null
Electronic invoice key
invoiceItemValue
double | null
Invoice item value
invoiceTotalValue
double | null
Invoice total value
convertedValueInvoiceItem
double | null
Converted value invoice item
notes
string | null
Delivery notes
clientDocumentId
string | null
Client document id
clientDeliveryId
string | null
Client delivery id
isChargeback
boolean | null
It indicates if it is a chargeback (True/False).

Responses

202
400
Accepted

Body

application/json
correlationId
string