RapidAPI logo

Sign Up

Log In

UberDelivery

FREE
By dimashirokov
Updated 3 months ago
Logistics
-/10
Popularity Score
-
Latency
-
Success Rate

UberDelivery API Documentation

Request an Uber delivery from within your app

View API Details
POSTcancelDelivery
POSTgetAccessToken
POSTgetDeliveries
POSTgetDelivery
POSTgetQuote
POSTrequestDelivery
POSTcancelDelivery

Cancels an existing delivery.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accessTokenSTRING
REQUIREDThe valid access token.
deliveryIdSTRING
REQUIREDUnique identifier representing a Delivery.
Optional Parameters
sandboxSELECT
OPTIONALUberAPI Sandbox: 1 to set to sandbox
Request Snippet
unirest.post("https://UberDeliverydimashirokovV1.p.rapidapi.com/cancelDelivery")
.header("X-RapidAPI-Host", "UberDeliverydimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://UberDeliverydimashirokovV1.p.rapidapi.com/cancelDelivery")
.header("X-RapidAPI-Host", "UberDeliverydimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication