Create Quote

POST {{baseUrl}}/customers/:customer_id/delivery_quotes

Create a quote to check deliverability, validity and cost for delivery between two addresses.

Request Body

{"dropoff_address"=>"<string>", "pickup_address"=>"<string>", "pickup_latitude"=>"<number>", "pickup_longitude"=>"<number>", "dropoff_latitude"=>"<number>", "dropoff_longitude"=>"<number>", "pickup_ready_dt"=>"<string>", "pickup_deadline_dt"=>"<string>", "dropoff_ready_dt"=>"<string>", "dropoff_deadline_dt"=>"<string>", "pickup_phone_number"=>"+667", "dropoff_phone_number"=>"+709", "manifest_total_value"=>"<integer>", "external_store_id"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
User-Agentstring

RESPONSES

status: OK

{&quot;kind&quot;:&quot;delivery_quote&quot;,&quot;id&quot;:&quot;dqt_6gQ2dt31TjiOPfwux-NCXg&quot;,&quot;created&quot;:&quot;2023-04-06T19:00:37.887Z&quot;,&quot;expires&quot;:&quot;2023-04-06T19:15:37.887Z&quot;,&quot;fee&quot;:600,&quot;currency&quot;:&quot;usd&quot;,&quot;currency_type&quot;:&quot;USD&quot;,&quot;dropoff_eta&quot;:&quot;2023-04-06T19:34:22.000Z&quot;,&quot;duration&quot;:33,&quot;pickup_duration&quot;:24,&quot;dropoff_deadline&quot;:&quot;2023-04-06T20:09:20.000Z&quot;}