Create Quote
documentedGenerate a price quote for a delivery.
POST /v1/quoteQuotesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://papi.sandbox.dolly.com/v1/quote/" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"clientId": "{{$clientId}}", "containsAlcohol": {{$containsAlcohol}}, "deliveryWindowEndTime": "{{$deliveryWindowEndTime}}", "deliveryWindowStartTime": "{{$deliveryWindowStartTime}}", "dropOffInfo": { "dropOffAddress": { "addressLine1": "{{$dropOffAddressLine1}}", "addressLine2": "{{$dropOffAddressLine2}}", "city": "{{$dropOffCity}}", "state": "{{$dropOffState}}", "zipCode": "{{$dropOffZipCode}}", "country": "{{$dropOffCountry}}" }, "dropOffContact": { "firstName": "{{$dropOffFirstName}}", "lastName": "{{$dropOffLastName}}", "phone": "{{$dropOffPhone}}" }, "dropOffInstruction": "{{$dropOffInstruction}}", "dropOffLocation": { "latitude": {{$dropOffLatitude}}, "longitude": {{$dropOffLongitude}} }, "isUnattended": {{$dropOffIsUnattended}}, "signatureRequired": {{$dropOffSignatureRequired}} }, "externalDeliveryId": "{{$externalDeliveryId}}", "externalOrderId": "{{$externalOrderId}}", "externalStoreId": "{{$externalStoreId}}", "isAutonomousDelivery": {{$isAutonomousDelivery}}, "orderInfo": { "barcodeInfo": [ { "barcode": "{{$barcode1}}" }, { "barcode": "{{$barcode2}}" } ], "orderLineItems": [ { "quantity": {{$orderQuantity1}}, "orderedWeight": {{$orderWeight1}}, "uom": "{{$orderUOM1}}", "height": {{$orderHeight1}}, "width": {{$orderWidth1}}, "length": {{$orderLength1}}, "uomDimension": "{{$orderUOMDimension1}}" } ], "totalWeight": {{$totalWeight}}, "totalVolume": {{$totalVolume}}, "totalQuantity": {{$totalQuantity}} }, "pickupInfo": { "pickupAddress": { "addressLine1": "{{$pickupAddressLine1}}", "addressLine2": "{{$pickupAddressLine2}}", "city": "{{$pickupCity}}", "state": "{{$pickupState}}", "zipCode": "{{$pickupZipCode}}", "country": "{{$pickupCountry}}" }, "pickupContact": { "firstName": "{{$pickupFirstName}}", "lastName": "{{$pickupLastName}}", "phone": "{{$pickupPhone}}" }, "pickupInstruction": "{{$pickupInstruction}}", "pickupLocation": { "latitude": {{$pickupLatitude}}, "longitude": {{$pickupLongitude}} }, "signatureRequired": {{$pickupSignatureRequired}} }, "pickupWindowEndTime": "{{$pickupWindowEndTime}}", "pickupWindowStartTime": "{{$pickupWindowStartTime}}", "storeName": "{{$storeName}}", "tip": {{$tip}} }'"