---
title: "Set the delivery rates at a scope"
method: POST
path: "/delivery-rates"
tags: ["Delivery Rates"]
---

# Set the delivery rates at a scope

`POST /delivery-rates`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/delivery-rates`
- Auth: HTTP bearer

Voids the scope's active row, if it has one, and inserts the new rates. Omit all scope ids for the company default. A null rate inherits from the level above.

## Request body

- DeliveryRatePost
  - `branch_id` integer, nullable
  - `district_id` integer, nullable
  - `rate_per_hour` number, float, nullable
  - `rate_per_mile` number, float, nullable
  - `region_id` integer, nullable

## Response `201`

- DeliveryRate
  - `branch_id` integer, nullable
  - `created_by_user` DeliveryRateUser
    - `first_name` string
    - `last_name` string
    - `user_id` integer
  - `created_by_user_id` integer
  - `date_created` unknown
  - `date_voided` unknown
  - `delivery_rate_id` integer
  - `district_id` integer, nullable
  - `rate_per_hour` number, float, nullable
  - `rate_per_mile` number, float, nullable
  - `region_id` integer, nullable
  - `voided_by_user` DeliveryRateUser, nullable
    - `first_name` string
    - `last_name` string
    - `user_id` integer
  - `voided_by_user_id` integer, nullable

## Other responses

- `400`: No rate given, a negative rate, more than one scope id, or an incomplete company default.
- `401`: Unauthorized - an ES admin Bearer token is required.
- `403`: The feature flag is off or the caller is not in the delivery rates Google Group.

## Changes

- **2026-10-21** `c431bb5a8be6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/delivery-rates/post.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
