Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
curl -X GET \
-H 'cache-control: no-cache' \
-H 'Content-Type: application/json' \
-d '{ "api_key": "YOUR_API_KEY",
"vendorId": "VENDOR_ID",
"destination": "ADDRESS_OR_COORDS"
"allowedTransport": "[Walk,Skate,Bike,DeliveryBike,Car,Van]"
- the ```destination``` param can either be an address or coords:
- address: '2198 N Broad St' //can be any format of address, mapbox is pretty good at parsing
- coords: '-75.156812,39.986591' //for now just a string, mapbox does lng first
quoteId: 'QUOTE_ID',
isAvailable: false, //can we do the delivery?
rate: 5, //returns false if insideZone is false
currency: 'USD',
companyName: 'Sangkee Noodle House',
vendorId: 'thm89eD8so6ERG8qn',
coordinates: [ -75.156812, 39.986591 ],
address: '1413 W Susquehanna Ave, Philadelphia, Pennsylvania 19132, United States'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.