---
title: "Cotizar entrega sin pedido"
method: POST
path: "/admin/deliveries/quote"
---

# Cotizar entrega sin pedido

`POST /admin/deliveries/quote`

## Request

- Base URL: `https://api.service.getjusto.com/v3`
- URL: `https://api.service.getjusto.com/v3/admin/deliveries/quote`
- Auth: none declared

Cotiza una entrega sin pedido para un local de la marca autorizada. fromAddress y toAddress usan la estructura de direcciones de Ordering API; API resuelve los placeIds internamente. tipAmount se agrega a priceWithTax para calcular totalAmount. No crea entregas ni pedidos ecommerce, y no reserva un precio ni produce un quoteId. El costo se calcula nuevamente al crear el despacho. Para obtener además coordenadas, distancia, duración y geometría de la ruta, usar POST /admin/deliveries/preview.

## Request body

- object
  - `storeId` string, required: ID Justo del local solicitante.
  - `fromAddress` ApiDeliveryAddressInput, required: Dirección de origen o destino provista por la app externa. API la resuelve internamente a placeId.
    - `streetAddress` string, required: Calle y numeración ingresada por el customer o sistema externo.
    - `countryCode` string, required: Código de país ISO 3166-1 alpha-2.
    - `extendedAddress` string: Departamento, oficina u otra información secundaria.
    - `location` object: Coordenadas opcionales para mejorar la resolución de la dirección.
      - `lat` number: Latitud.
      - `lng` number: Longitud.
    - `acceptsNoLine2` boolean: Indica si el customer confirmó que no tiene línea 2.
    - `comment` string: Comentario o instrucciones de entrega.
    - `locality` string: Localidad o comuna.
    - `region` string: Región o estado.
    - `postalCode` string: Código postal.
  - `toAddress` ApiDeliveryAddressInput, required: Dirección de origen o destino provista por la app externa. API la resuelve internamente a placeId.
    - `streetAddress` string, required: Calle y numeración ingresada por el customer o sistema externo.
    - `countryCode` string, required: Código de país ISO 3166-1 alpha-2.
    - `extendedAddress` string: Departamento, oficina u otra información secundaria.
    - `location` object: Coordenadas opcionales para mejorar la resolución de la dirección.
      - `lat` number: Latitud.
      - `lng` number: Longitud.
    - `acceptsNoLine2` boolean: Indica si el customer confirmó que no tiene línea 2.
    - `comment` string: Comentario o instrucciones de entrega.
    - `locality` string: Localidad o comuna.
    - `region` string: Región o estado.
    - `postalCode` string: Código postal.
  - `isCash` boolean: Si es true, considera cobro en efectivo.
  - `amountToPay` number: Monto que debe cobrarse si isCash es true.
  - `tipAmount` number: Propina para el repartidor en moneda del local. Se suma al precio con impuestos para obtener totalAmount. Usa el mismo tipAmount al crear el despacho.
  - `isRoundTrip` boolean: Si es true, considera vuelta al origen.
  - `useCarForDelivery` boolean: Si es true, cotiza con vehículo tipo auto.

## Response `200`

The OpenAPI spec

- object
  - `success` boolean
  - `data` ApiDeliveryWithoutOrderQuote: Cotización estimada de una entrega sin pedido. No reserva un precio ni genera un identificador de cotización; el precio se calcula nuevamente al crear el despacho.
    - `price` number: Precio estimado sin impuestos.
    - `priceWithTax` number: Precio estimado con impuestos.
    - `tipAmount` number: Propina para el repartidor, en moneda del local. Por defecto: 0.
    - `totalAmount` number: Total estimado a pagar: priceWithTax más tipAmount.

## Other responses

- `400`: Solicitud rechazada por validación, autorización o reglas de la operación. Los problemas de pago y deuda reconocidos incluyen información para resolverlos.
- `500`: Error al procesar la solicitud. Un error o timeout de creación no garantiza que el despacho no se haya creado.

## Changes

- **2026-11-01** `4b46b8f3312f`: 1 warning, 7 info
  - added the new `false` enum value to the `success` response property for the response status `400`
  - added the non-success response with the status `500`
  - added the optional property `error/details` to the response with the `400` status
  - added the optional property `resolutionCode` to the response with the `400` status
  - …4 more
- **2026-10-31** `4ad06bd631ce`: 3 info
  - added the new optional request property `tipAmount`
  - added the optional property `data/tipAmount` to the response with the `200` status
  - added the optional property `data/totalAmount` to the response with the `200` status
- **2026-06-02** `1f802d7c8280`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getjusto/apis/justo-api/changes/admin/deliveries/quote/post.md)

---

[API](https://skmtc.dev/getjusto/apis/justo-api.md) - [All operations](https://skmtc.dev/getjusto/apis/justo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getjusto/apis/justo-api/revisions/c810bd8246fd?raw)
