Book Quoted Delivery
documentedBook a delivery using a previously generated quote.
PATCH /v1/quote/{id}Quotesno 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/{{$quote_id}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"deliveryWindowStartTime":"{{$deliveryWindowStartTime}}","deliveryWindowEndTime":"{{$deliveryWindowEndTime}}","pickupInfo":{"pickupAddress":{"addressLine1":"{{$pickupAddressLine1}}","addressLine2":"{{$pickupAddressLine2}}","city":"{{$pickupCity}}","state":"{{$pickupState}}","zipCode":"{{$pickupZipCode}}","country":"{{$pickupCountry}}"},"pickupContact":{"firstName":"{{$pickupContactFirstName}}","lastName":"{{$pickupContactLastName}}","phone":"{{$pickupContactPhone}}"},"pickupInstruction":"{{$pickupInstruction}}","pickupLocation":{"latitude":{{$pickupLatitude}},"longitude":{{$pickupLongitude}}},"signatureRequired":{{$pickupSignatureRequired}}},"dropOffInfo":{"dropOffAddress":{"addressLine1":"{{$dropOffAddressLine1}}","addressLine2":"{{$dropOffAddressLine2}}","city":"{{$dropOffCity}}","state":"{{$dropOffState}}","zipCode":"{{$dropOffZipCode}}","country":"{{$dropOffCountry}}"},"dropOffContact":{"firstName":"{{$dropOffContactFirstName}}","lastName":"{{$dropOffContactLastName}}","phone":"{{$dropOffContactPhone}}"},"dropOffInstruction":"{{$dropOffInstruction}}","dropOffLocation":{"latitude":{{$dropOffLatitude}},"longitude":{{$dropOffLongitude}}},"isUnattended":{{$dropOffIsUnattended}},"signatureRequired":{{$dropOffSignatureRequired}}},"externalDeliveryId":"{{$externalDeliveryId}}","externalOrderId":"{{$externalOrderId}}","externalStoreId":"{{$externalStoreId}}","isAutonomousDelivery":{{$isAutonomousDelivery}},"orderInfo":{"barcodeInfo":[{"barcode":"{{$barcode}}"}],"orderLineItems":[{"name":"{{$orderItemName}}","description":"{{$orderItemDescription}}","photoUrl":"{{$orderItemPhotoUrl}}","quantity":{{$orderItemQuantity}},"orderedWeight":{{$orderItemWeight}},"uom":"{{$orderItemUom}}","height":{{$orderItemHeight}},"width":{{$orderItemWidth}},"length":{{$orderItemLength}},"uomDimension":"{{$orderItemUomDimension}}"}],"totalWeight":{{$totalWeight}},"totalVolume":{{$totalVolume}},"totalQuantity":{{$totalQuantity}}},"pickupWindowStartTime":"{{$pickupWindowStartTime}}","pickupWindowEndTime":"{{$pickupWindowEndTime}}","storeName":"{{$storeName}}","tip":{{$tip}}}'"