Service Rates

Service rates determine the price and maximum dimensions for a given service. A user has access to service rates that are related to the contracts the user has access to.

Attributes

API specification

Attribute Type Description Required
weight_min integer The minimum weight in grams a shipment should have for this service rate to apply to it.
weight_max integer The maximum weight in grams a shipment should have for this service rate to apply to it.
length_max integer The maximum length of the shipment in mm.
width_max integer The maximum width of the shipment in mm.
height_max integer The maximum height of the shipment in mm.
volume_max float The maximum volume of the shipment in liters.
price price The price of the service in cents (where applicable).
step_size integer When the service supports sending shipments that exceed the max weight, this indicates in what weight steps (in grams) the increments are calculated with.
step_price price The price per increment of step_size.
Relationship Type Description Required
contract contracts The contract this rate belongs to.
service services The service this rate belongs to.
service_options service-options The service service options that are available for this contract and service combination. The price and whether it is always included are available in the meta.

Endpoints

GET /service-rates
GET /service-rates/{service_rate_id}
17-07-2019