RejectOrderItems

rejectOrderItems

reject OrderItems

post

The rejectOrderItems service processes a rejection request for one or more items in an order. The rejection logic is driven by two key flags: maySplit and cascadeRejectByProduct, which determine the scope of the rejection. Rejection Logic: - maySplit = Y, cascadeRejectByProduct = N - Reject only the specific item included in the request. - maySplit = N, cascadeRejectByProduct = N - Reject all items in the same ship group as the specified item. - maySplit = Y, cascadeRejectByProduct = Y - Reject items with the same productId in the same facility and match the rejection criteria (e.g., shipment not yet packed or shipped). - maySplit = N, cascadeRejectByProduct = Y - Reject entire ship groups across all orders that contain the specified productId in the same facility, provided the shipment is not yet packed or shipped.

Authorizations
Body
orderIdstringRequired
rejectToFacilityIdstringOptional
Responses
200
Success
application/json
post
POST /rest/s1/poorti/rejectOrderItems HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 268

{
  "orderId": "text",
  "rejectToFacilityId": "text",
  "items": [
    {
      "orderItemSeqId": "text",
      "quantity": "1",
      "updateQOH": "text",
      "maySplit": "N",
      "cascadeRejectByProduct": "N",
      "comments": "text",
      "excludeOrderFacilityDuration": "text",
      "rejectionReasonId": "text",
      "kitComponents": [
        "text"
      ]
    }
  ]
}
{
  "cancelledReservations": [
    "text"
  ]
}

Was this helpful?