---
title: "Create a quote"
method: POST
path: "/quotes"
tags: ["Quotes"]
---

# Create a quote

`POST /quotes`

Creates a fare estimate for a delivery.

You can create a quote in two ways:
- **Two-stop quote**: Provide `origin` + `destination` + `product`
- **Multi-stop quote**: Provide `stops` array + `product`

`fare_estimate` returns one fare object for a fixed price, or two fare objects as `[low, high]` for variable-labor products. Fare amounts are integer cents in USD. Quote IDs are intended for near-term booking creation; create a new quote if an unused quote is stale or no longer found.

## Request body

- object
  - `stops` object[] — Array of stops in route order. First stop is origin, last is destination.
    - `location` union, required
      - string, uuid — Location UUID from a previously created location
      - number[] — Coordinates as [longitude, latitude] in decimal degrees
      - string — Free-form address string (street address, business name, or place)
    - `instructions` string, nullable — Operational instructions for this stop.
  - `origin` union
    - string, uuid — Location UUID from a previously created location
    - number[] — Coordinates as [longitude, latitude] in decimal degrees
    - string — Free-form address string (street address, business name, or place)
  - `destination` union
    - string, uuid — Location UUID from a previously created location
    - number[] — Coordinates as [longitude, latitude] in decimal degrees
    - string — Free-form address string (street address, business name, or place)
  - `product` 'lite' | 'pickup' | 'van' | 'xl' | 'box' — Product type for the service

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Content

---

[API](https://skmtc.net/lugg/apis/lugg-partner-api.md) · [All operations](https://skmtc.net/lugg/apis/lugg-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lugg/lugg-partner-api/revisions/cdae4166b346/schema)
