Create shipping rates

Verify which carrier services associated with your Metapack shipper account can offer the best rates for delivering a consignment.

You also have the option to specify shipping rules, which enable you to search for an optimal subscribed carrier service by using acceptable and unacceptable collection and delivery days and date and time slots, carrier services, delivery location, and other filtering options.

A successful response returns all carrier services that can deliver the consignment in order of shipping cost, with the cheapest first.

Prerequisites: Warehouses, carriers, carrier services, and carrier costs must be configured for your Metapack shipper account. Refer to API setup data.

Tip: You can reuse the request body for this operation to create a consignment.

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

Consignment shipping rates

400

Bad Request

401

Unauthorized

500

Internal Server Error

post/rates
Request samples
application/json
{
  • "consignment": {
    },
  • "shippingRules": {
    }
}
Response samples
application/json
[
  • {
    }
]