Create Delivery
documentedCreate a Dolly delivery request.
POST /v1/deliveriesDeliveriesno 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/deliveries" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"batchingWorkflow":"single","clientId":"{{$clientId}}","containsAlcohol":false,"deliveryWindowEndTime":"{{$deliveryWindowEndTime}}","deliveryWindowStartTime":"{{$deliveryWindowStartTime}}","dropOffInfo":{"dropOffAddress":{"addressLine1":"{{$dropOffAddress_line1}}","addressLine2":"{{$dropOffAddress_line2}}","city":"{{$dropOffCity}}","state":"{{$dropOffState}}","zipCode":"{{$dropOffZip}}","country":"US"},"dropOffContact":{"firstName":"{{$dropOffFirstName}}","lastName":"{{$dropOffLastName}}","phone":"{{$dropOffPhone}}"},"dropOffInstruction":"{{$dropOffInstruction}}","dropOffLocation":{"latitude":{{$dropOffLatitude}},"longitude":{{$dropOffLongitude}}},"isUnattended":true,"signatureRequired":true},"externalDeliveryId":"{{$externalDeliveryId}}","externalOrderId":"{{$externalOrderId}}","externalStoreId":"{{$externalStoreId}}","isAutonomousDelivery":false,"orderInfo":{"orderLineItems":[{"quantity":{{$quantity1}},"orderedWeight":{{$weight1}},"uom":"{{$uom1}}","height":{{$height1}},"width":{{$width1}},"length":{{$length1}},"uomDimension":"{{$uomDimension1}}"}],"totalWeight":{{$totalWeight}},"totalVolume":{{$totalVolume}},"totalQuantity":{{$totalQuantity}}},"pickupInfo":{"pickupAddress":{"addressLine1":"{{$pickupAddress_line1}}","addressLine2":"{{$pickupAddress_line2}}","city":"{{$pickupCity}}","state":"{{$pickupState}}","zipCode":"{{$pickupZip}}","country":"US"},"pickupContact":{"firstName":"{{$pickupFirstName}}","lastName":"{{$pickupLastName}}","phone":"{{$pickupPhone}}"},"pickupInstruction":"{{$pickupInstruction}}","pickupLocation":{"latitude":{{$pickupLatitude}},"longitude":{{$pickupLongitude}}},"signatureRequired":true},"pickupWindowStartTime":"{{$pickupWindowStartTime}}","pickupWindowEndTime":"{{$pickupWindowEndTime}}","storeName":"{{$storeName}}","tip":{{$tip}}}'"