Orders

orders

reject OrderItems

post
Authorizations
Path parameters
orderIdstringRequired
Body
orderIdstringRequired
notifybooleanOptional

If set to true, an email notification will be sent on rejection, provided it is configured.

Default: false
Responses
200
Success
application/json
post
POST /rest/s1/order-routing/orders/{orderId}/reject HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 204

{
  "orderId": "text",
  "notify": "false",
  "items": [
    {
      "facilityId": "text",
      "shipmentMethodTypeId": "text",
      "quantity": "1",
      "orderItemSeqId": "text",
      "toFacilityId": "text",
      "recordVariance": "text",
      "rejectReason": "text"
    }
  ]
}
{
  "rejectedItemsList": [
    {
      "orderId": "text",
      "orderItemSeqId": "text",
      "shipGroupSeqId": "text",
      "shipmentMethodTypeId": "text",
      "quantity": "text"
    }
  ]
}

get RecentRoutingHistory

get
Authorizations
Path parameters
orderIdstringRequired
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/orders/{orderId}/routing-history/recent HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "routingHistoryList": [
    "text"
  ]
}

Was this helpful?