Miscellaneous
Using this endpoint you can request the price. You need to be logged in and have the coordinates ready for the destination.
Request parameters
The longitude of the destination
The latitude of the destination.
Responses
You will get this error if you dont send the latitude
Body
You will get this error if you dont send the longitude
Body
Everything goes well
Body
Should be false
The distance from the restaurant to the endcustomer
Testimated time to go from the restaurant to the endconsumer
The price without VAT
Authentication
Use this to create your customers who needs delivery directly in DeliverIt’s system.
You need: special agreement with DeliverIt. Upon this you will receive bearer token.
Request parameters
Firstname of the owner
Lastname of the owner
Email for the restaurant. This will be used as username
Restaurant name
Pickup address
Zip code
City
For internal use. 1= odense, 2=Aarhus, 3=aalborg, 4=Copenhagen
Latitude of the pickup address. It is prefered you send this along
Longitude of the pickup address. It is prefered you send this along
desired password for logging in the restaurant
Expected startup november 24th 2018 ( YYYY-MM-DD )
1= test, the user will not be saved. 0 (or blank) = user will be saved.
Responses
if test = 1 the HTTP code will be 200
Body
If required fieds are missing
Body
Field and error displayed here