Skip to content

Reject an order based on the order Id and the reason for rejection

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

The supplier rejects an order by its Id by informing the reason for the rejection.

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
reason
string
allowed values: UnknownOutOfStockDoesNotWorkWithItemItemIsNoLongerProducedDoesNotMeetTheSpecifiedDeliveryTimeUnableToReplyWithinTheSetResponseTimeDoesNotMeetSpecifiedPaymentConditionDoesNotMeetTheSpecifiedPaymentDeadlineOtherDoNotAcceptTheConditionOfSupplyDelayedApprovalOfDrawingsInspectionDelayDelaysInEventsRequiringCustomerAuthorizationDelayDueToStrikeMovementDelayDueToForceMajeure
reasonDescription
string
Description of the reason for rejection.

Responses

204
404
No Content