Reject an order based on the order Id and the reason for rejection
patch
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
Path Parameters
orderId
int32
required
the order id
Body
application/json
reason
string
allowed values:
Unknown
OutOfStock
DoesNotWorkWithItem
ItemIsNoLongerProduced
DoesNotMeetTheSpecifiedDeliveryTime
UnableToReplyWithinTheSetResponseTime
DoesNotMeetSpecifiedPaymentCondition
DoesNotMeetTheSpecifiedPaymentDeadline
Other
DoNotAcceptTheConditionOfSupply
DelayedApprovalOfDrawings
InspectionDelay
DelaysInEventsRequiringCustomerAuthorization
DelayDueToStrikeMovement
DelayDueToForceMajeure
reasonDescription
string
Description of the reason for rejection.
Responses
204
404
No Content