---
name: rates-routes
description: Handle 4 OpenAPI operation(s) under /v1/rates for the rates route group.
---

# rates API Routes

Handle 4 OpenAPI operation(s) under /v1/rates for the rates route group.

Use the generated operation tools to make real API calls. Do not invent API responses.
If a tool reports missing setup, return the exact setup field name to the caller.
For write, update, or delete operations, state the intended action before calling the tool.

## Operations

### calculate_rates

- Operation ID: `calculate_rates`
- Route: `POST /v1/rates`
- Mode: WRITE
- Summary: Get Shipping Rates
- Body: JSON request body accepted.

### compare_bulk_rates

- Operation ID: `compare_bulk_rates`
- Route: `POST /v1/rates/bulk`
- Mode: WRITE
- Summary: Get Bulk Rates
- Body: JSON request body accepted.

### estimate_rates

- Operation ID: `estimate_rates`
- Route: `POST /v1/rates/estimate`
- Mode: WRITE
- Summary: Estimate Rates
- Body: JSON request body accepted.

### get_rate_by_id

- Operation ID: `get_rate_by_id`
- Route: `GET /v1/rates/{rate_id}`
- Mode: READ
- Summary: Get Rate By ID
- Parameters:
  - `rate_id` in `path` required
