Verify whether shipping rules can be applied

Verify whether an Unallocated consignment can be allocated using the specified shipping rules.

SecurityBasicAuth
Request
Request Body schema: application/json
required
object (ConsignmentRequest)

One or more items going from the same origin to the same destination being despatched on the same date using the same carrier service.

object (ShippingRules)

For each consignment, you have the option to define specific allocation parameters for that consignment, or you can reuse a predefined allocation rule that you created previously.

Responses
200

A subscribed carrier service is available at this time for consignment and its shipping rules

204

A subscribed carrier service is not available at this time for consignment and its shipping rules

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

post/consignment-validation
Request samples
application/json
{
  • "consignment": {
    },
  • "shippingRules": {
    }
}
Response samples
application/json
{
  • "errorCode": "string",
  • "message": "string",
  • "systemMessage": "string",
  • "traceID": "string",
  • "timestamp": "2019-08-24T14:15:22Z"
}