Skip to content

Update a pre-order status based on the pre-order Id

put
https://api.mercadoe.com/v1/pre-orders/{preOrderId}/status

Change a specific pre-order status field with a provided value.

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

preOrderId
int32
required
the order id

Body

application/json
clientOrderId
string | null
ERP Order Number:
- Filled = it identifies that you should modify an order.
- Empty = it identifies that you should create an order.
status
int32
required
Status code
clientSupplierId
string
required
Supplier code in the ERP
note
string
Pre-Order Notes
clientObservation
string
Pre-Order Notes
approvalDate
date-time
Approval Date/Time

Responses

202
400
404
Accepted

Body

application/json
correlationId
string