kiolyn-api-specs
Version:
41 lines (40 loc) • 1.1 kB
YAML
/delivery/{storeid}/quote:
get:
tags:
- delivery
description: Return the delivery quote of a online order
operationId: getQuote
security:
- bearerAuth: []
parameters:
- $ref#storeid: "./parameters/storeid.yaml"
- name: origin
in: query
required: true
description: The pickup address of the online order
schema:
type: string
- name: destination
in: query
required: true
description: The dropoff address of the online order
schema:
type: string
- name: dropoff_time
in: query
description: The dropoff time of the online order
schema:
type: string
- name: order_value
in: query
description: Total order this field for delivery DoorDash
schema:
type: number
responses:
$ref#4xx: "./responses/4xx.yaml"
200:
description: The delivery quote
content:
application/json:
schema:
$ref: "#/components/schemas/DeliveryQuote"