NAV Navbar
Logo
text shell

Introduction

Welcome to the Urbaner API documentation. This document describes the resources and endpoints publicly available to developers. If you have any problems or requests please contact support

Root Endpoint

curl https://api.sandbox.urbaner.com/api/

https://api.sandbox.urbaner.com/api/

Authentication

To authenticate against Urbaner CI, you need an API access token.

Token

First you need to create an account in the sandbox environment.

Then you can get the token in two ways:

  1. Enter in your account and will find the token in the bottom of the option ‘Mi Cuenta’.
  2. You can retrieve the token using the authenticate endpoint in the right side.
POST https://api.sandbox.urbaner.com/api/client/authenticate/
Content-Type: multipart/form-data

{
  "email": "your@email",
  "password": "your password"
}
curl -X POST --header "content-type: multipart/form-data" --data-binary "{
  \"email\": \"example@urbaner.pe\",
  \"password\": \"example\"
}" https://api.sandbox.urbaner.com/api/client/authenticate/

JWT Token

You can retrieve a JWT token by using this endpoint in the right side.

POST https://api.sandbox.urbaner.com/api/client/authenticate/jwt/
Content-Type: application/json

{
  "email": "your@email",
  "password": "your password"
}
curl -X POST --header "content-type: application/json" --data-binary "{
  \"email\": \"example@urbaner.pe\",
  \"password\": \"example\"
}" https://api.sandbox.urbaner.com/api/client/authenticate/jwt/

HTTP Verbs

Where possible, the API strives to use appropriate HTTP verbs for each action.

Verb Description
HEAD Can be issued against any resource to get just the HTTP header info.
GET Used for retrieving resources.
POST Used for creating resources.
PATCH Used for updating resources with partial JSON data.
PUT Used for replacing resources or collections.
DELETE Used for deleting resources.

Status Codes

The Urbaner API uses HTTP status codes to indicate the status of your requests. This includes successful and unsuccessful responses.

Responses will also include JSON formatted details for further details.

Status Code Description
200 OK: Everything went as planned.
201 Created.
204 OK but no content
304 Not Modified: Resource hasn’t been updated since the date provided.
400 Bad Request: Something went wrong with your request, most likely a missing argument or parameter.
401 Unauthorized: Authentication was incorrect.
403 Forbidden: You don’t have the necessary permissions for the resource.
404 Not Found.
500 Internal Server Error: We had a problem processing the request.
503 Service Unavailable: Try again later.

Pagination

Requests that return multiple items will be paginated to 15 items by default.

List of Values

Order Types

order_type_id name
1 Express
2 Sameday
3 Nextday

Vehicle Types

vehicle_id name
1 Bicicleta
2 Moto
3 Auto

Payment Types

======== CARD PAYMENT ========
{
    "backend": "card",
    "args": {
        "bankcard": 120
    }
}
======== PURSE PAYMENT ========
{
    "backend": "purse"
}
======== CREDIT PAYMENT ========
{
    "backend": "credit"
}
backend description
card Use your Credit Card associated
purse Use your Purse
credit Use your accepted Credit

Help Endpoints

Bankcards

Get all my bankcards - /client/bankcards/

GET https://api.sandbox.urbaner.com/api/client/bankcards/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

SUCCESSFUL RESPONSE

{
    "previous": null,
    "results": [
        {
            "id": 777,
            "number": "XXXX-XXXX-XXXX-1111",
            "card_type": "VISA"
        }
    ],
    "num_pages": 1,
    "current_page": 1,
    "count": 1,
    "next": null
}

You can get all your registered cards.

curl -X GET \
  https://api.sandbox.urbaner.com/api/client/bankcards/ \
  -H 'authorization: JWT << YOUR JWT TOKEN >>' \
  -H 'cache-control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -H 'postman-token: fddeb400-3a25-ad93-811b-fcde98e1093d'

Data Detail

Origin/Destination

{
    "contact_person": "Visanet",
    "phone": "987945643",
    "address": "Jorge Chavez 184, Miraflores 15074, Peru",
    "latlon": "-12.119847 ,  -77.0370547",
    "interior": "5",
    "special_instructions": "near a supermarket",
    "email": "hello@email.com"
}
parameter type required description
contact_person string * Name of the Person
phone string * Phone
address string * Address
latlon string * Coordinates
interior string Description of the rating
special_instructions string Some reference of the address
email string Email

Endpoints

Calculate Price - /cli/price/

POST https://api.sandbox.urbaner.com/api/cli/price/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

{
    "destinations": [
        {
            "latlon": "-12.119847 ,  -77.0370547"
        },
        {
            "latlon": "-12.0813873 , -77.07160499999999"
        }
    ],
    "package_type_id": 1,
    "is_return": true
}

====================================================================

SUCCESSFUL RESPONSE

{
    "distance": 14664,
    "duration": 2561,
    "prices": [
        {
            "order_type": "EXPRESS",
            "price": 21.6
        },
        {
            "order_type": "SAMEDAY",
            "price": 11
        }
    ]
}

You can calculate the price of an Order using the next parameters

parameter type required description
order_type_id string ID of type of order
destinations [] * List of Destinations
package_type_id string * ID of package type (See the Vehicle Types section).
is_return boolean * Return to the origin point
curl --request POST \
  --url https://api.sandbox.urbaner.com/api/cli/order/ \
  --header 'cache-control: no-cache' \
  --header 'token: << YOUR TOKEN >>' \
  --data '{\n  "order_type_id": 1,\n  "destinations": [\n   {\n     "latlon": "-12.119847 ,  -77.0370547"\n },\n    {\n     "latlon": "-12.0813873 , -77.07160499999999"\n  }\n  ],\n  "package_type_id": 1,\n  "is_return": true\n}'

Create Order - /cli/order/

POST https://api.sandbox.urbaner.com/api/cli/order/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

{
    "type": "1",
    "destinations": [
    {
      "contact_person": "Visanet",
      "phone": "987945643",
      "address": "Jorge Chavez 184, Miraflores 15074, Peru",
      "latlon": "-12.119847 ,  -77.0370547",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    },
    {
      "contact_person": "Cliente de Visanet",
      "phone": "987456321",
      "address": "Avenida La Marina 550,  Pueblo Libre",
      "latlon": "-12.0813873 , -77.07160499999999",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    }
    ],
    "payment": {
        "backend": "purse"
    },
    "description": "comida",
    "vehicle_id": "2",
    "memo": "Orden #34",
    "programmed_date": "2018-11-10 13:00:00",
    "is_return": "true",
    "has_extended_search_time": "true",
    "coupon": "MY_REGISTERED_COUPON"
}

====================================================================

SUCCESSFUL RESPONSE

{
  "id": 1111,
  "code": "BDAY-3j3b5bdi",
  "status": "searching",
  "tracking": "https://webapp.sandbox.urbaner.com/tracking/?data=MjEzMA:1eAgyF:YmpQotOSbZXPrLRIJcS4Y_TamJk"
}

You can create an order with the next parameters.

parameter type required description
type string * ID of type of order
description string * Description of the order
memo string Memo of the order
payment {} * Backend of the payment (See the Payment Types section)
destinations [] * List of Destinations with minimun 2 (See the Origin/Destination section)
vehicle_id string * ID of vehicle. See the Vehicle Types section
programmed_date timestamp Date and hour of the Order that must be delivered (This parameter only work with EXPRESS Orders and you have to add 5 hours [GMT-5] to your date because our server hour is in UTC)
is_return boolean If the Courier return to the origin point ‘true’, otherwise ‘false’
has_extended_search_time boolean ‘False’ If the Order can be cancelled automatically when the searching time expired or ‘True’ If the time of searching for a Courier can be extended.
coupon string The registered coupon of a client. If you do not have a cupon the do not pass this parameter in the body.
curl --request POST \
  --url https://api.sandbox.urbaner.com/api/cli/order/ \
  --header 'cache-control: no-cache' \
  --header 'token: << YOUR TOKEN >>' \
  --data '{\n    "type": "1",\n    "destinations": [\n    {\n      "contact_person": "Visanet",\n      "phone": "987945643",\n      "address": "Jorge Chavez 184, Miraflores 15074, Peru",\n      "latlon": "-12.119847 ,  -77.0370547",\n      "interior": "5",\n      "special_instructions": "",\n      "email": ""\n    },\n    {\n      "contact_person": "Cliente de Visanet",\n      "phone": "987456321",\n      "address": "Avenida La Marina 550,  Pueblo Libre",\n      "latlon": "-12.0813873 , -77.07160499999999",\n      "interior": "5",\n      "special_instructions": "",\n      "email": ""\n    }\n    ],\n    "payment": {\n        "backend": "purse"\n    },\n    "description": "comida",\n    "vehicle_id": "2",\n    "memo": "Orden #34",\n    "programmed_date": "2017-11-10 13:00:00"\n    "is_return": "true",\n}'

Create Draft Order - /client/drafts/

POST https://api.sandbox.urbaner.com/api/client/drafts/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

{
    "type": "1",
    "destinations": [
    {
      "contact_person": "Visanet",
      "phone": "987945643",
      "address": "Jorge Chavez 184, Miraflores 15074, Peru",
      "latlon": "-12.119847 ,  -77.0370547",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    },
    {
      "contact_person": "Cliente de Visanet",
      "phone": "987456321",
      "address": "Avenida La Marina 550,  Pueblo Libre",
      "latlon": "-12.0813873 , -77.07160499999999",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    }
    ],
    "payment": {
        "backend": "purse"
    },
    "description": "comida",
    "vehicle_id": "2",
    "memo": "Orden #34",
    "is_return": "true",
    "has_extended_search_time": "true"
}

====================================================================

SUCCESSFUL RESPONSE

{
  "id": 197,
  "created_at": "2018-10-11T14:00:00.856555Z",
  "is_return": "true",
  "type": "1",
  "description": "comida",
  "payment": {
      "backend": "purse"
  },
  "destinations": [
      {
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "email": "",
          "latlon": "-12.119847 ,  -77.0370547",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
      },
      {
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "email": "",
          "latlon": "-12.0813873 , -77.07160499999999",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
      }
  ],
  "has_extended_search_time": "true",
  "vehicle_id": "2",
  "memo": "Orden #34"
}

To save a draft order, you have to pass the same JSON body that you use in the Order Creation.

curl -X POST \
  https://api.sandbox.urbaner.com/api/client/drafts/ \
  -H 'Authorization: token << YOUR TOKEN >>' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 2fb8e5a8-be8e-47fb-bd59-7f914d6d96cc' \
  -d '{
    "type": "1",
    "destinations": [
    {
      "contact_person": "Visanet",
      "phone": "987945643",
      "address": "Jorge Chavez 184, Miraflores 15074, Peru",
      "latlon": "-12.119847 ,  -77.0370547",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    },
    {
      "contact_person": "Cliente de Visanet",
      "phone": "987456321",
      "address": "Avenida La Marina 550,  Pueblo Libre",
      "latlon": "-12.0813873 , -77.07160499999999",
      "interior": "5",
      "special_instructions": "",
      "email": ""
    }
    ],
    "payment": {
        "backend": "purse"
    },
    "description": "comida",
    "vehicle_id": "2",
    "memo": "Orden #34",
    "is_return": "true",
    "has_extended_search_time": "true"
}'

List Drafts Orders - /client/drafts/

GET https://api.sandbox.urbaner.com/api/client/drafts/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

====================================================================

SUCCESSFUL RESPONSE

{
  "num_pages": 1,
  "previous": null,
  "current_page": 1,
  "next": null,
  "results": [
    {
      "created_at": "2018-10-11T22:29:07.776616Z",
      "is_return": "true",
      "type": "1",
      "has_extended_search_time": "true",
      "destinations": [
        {
          "latlon": "-12.119847 ,  -77.0370547",
          "email": "",
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
        },
        {
          "latlon": "-12.0813873 , -77.07160499999999",
          "email": "",
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
        }
      ],
      "description": "comida",
      "id": 198,
      "payment": {
        "backend": "purse"
      },
      "memo": "Orden #34",
      "vehicle_id": "2"
    },
    {
      "is_return": "true",
      "programmed_date": "2018-11-10 13:00:00",
      "type": "1",
      "description": "comida",
      "created_at": "2018-10-11T22:22:54.856555Z",
      "vehicle_id": "2",
      "memo": "Orden #34",
      "coupon": "MY_REGISTERED_COUPON",
      "has_extended_search_time": "true",
      "payment": {
        "backend": "purse"
      },
      "destinations": [
        {
          "latlon": "-12.119847 ,  -77.0370547",
          "email": "",
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
        },
        {
          "latlon": "-12.0813873 , -77.07160499999999",
          "email": "",
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
        }
      ],
      "id": 197
    },
    {
      "created_at": "2018-10-11T21:04:46.044697Z",
      "is_return": "false",
      "destinations": [
        {
          "latlon": "-12.119847 ,  -77.0370547",
          "email": "",
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
        },
        {
          "latlon": "-12.0918077,-77.02864679999999",
          "email": "",
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
        }
      ],
      "type": "1",
      "has_extended_search_time": "true",
      "description": "comida",
      "id": 196,
      "vehicle_id": "2",
      "memo": "Orden #34",
      "payment": {
        "backend": "card",
        "args": {
          "bankcard": 297
        }
      }
    },
    {
      "created_at": "2018-10-11T20:58:46.828139Z",
      "is_return": "true",
      "destinations": [
        {
          "latlon": "-12.119847 ,  -77.0370547",
          "email": "",
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
        },
        {
          "latlon": "-12.0918077,-77.02864679999999",
          "email": "",
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
        }
      ],
      "type": "1",
      "has_extended_search_time": "true",
      "programmed_date": "2017-11-09 13:59:59",
      "description": "comida",
      "id": 195,
      "vehicle_id": "2",
      "memo": "Orden #34",
      "payment": {
        "backend": "purse"
      }
    }
  ],
  "count": 4
}

Get all the drafts that you created.

curl -X GET \
  https://api.dev.urbaner.com/api/client/drafts/ \
  -H 'Authorization: token << YOUR TOKEN >>' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: d751a123-1a6e-48ec-a59e-73c68c60b286'

Retrieve Draft Order - /client/drafts/{id}/

GET https://api.sandbox.urbaner.com/api/client/drafts/197/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

====================================================================

SUCCESSFUL RESPONSE

{
  "id": 197,
  "created_at": "2018-10-11T22:22:54.856555Z",
  "is_return": "true",
  "programmed_date": "2018-11-10 13:00:00",
  "type": "1",
  "description": "comida",
  "vehicle_id": "2",
  "memo": "Orden #34",
  "has_extended_search_time": "true",
  "payment": {
      "backend": "purse"
  },
  "destinations": [
      {
          "latlon": "-12.119847 ,  -77.0370547",
          "email": "",
          "address": "Jorge Chavez 184, Miraflores 15074, Peru",
          "phone": "987945643",
          "interior": "5",
          "contact_person": "Visanet",
          "special_instructions": ""
      },
      {
          "latlon": "-12.0813873 , -77.07160499999999",
          "email": "",
          "address": "Avenida La Marina 550,  Pueblo Libre",
          "phone": "987456321",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "special_instructions": ""
      }
  ]
}

Get a specific draft giving the id.

curl -X GET \
  https://api.sandbox.urbaner.com/api/client/drafts/197/ \
  -H 'Authorization: token << YOUR TOKEN >>' \
  -H 'Cache-Control: no-cache' \
  -H 'Postman-Token: 92c2266f-c871-4b93-896b-bfb4e62349e5'

Relaunch Order - /cli/relaunch/{id}/

POST https://api.sandbox.urbaner.com/api/cli/relaunch/201/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

====================================================================

SUCCESSFUL RESPONSE

{
  "id": 205,
  "code": "BDAY-7fhsff",
  "status": "searching",
  "tracking": "https://webapp.sandbox.urbaner.com/tracking/?data=MjEzMA:1eAgyF:YmpQotOSbZXPrLRIJcS4Y_TamJk"
}

Relaunch passing an ID of a past order.

curl -X POST \
  https://api.sandbox.urbaner.com/api/cli/relaunch/201/ \
  -H 'Authorization: token << YOUR TOKEN >>' \
  -H 'Cache-Control: no-cache' \
  -H 'Postman-Token: 92c2266f-c871-4b93-896b-bfb4e62349e5'

List Orders - /client/orders/

GET https://api.sandbox.urbaner.com/api/client/orders/
Content-Type: application/json
Authorization: token << YOUR TOKEN >>

====================================================================

SUCCESSFUL RESPONSE

{
  "current_page": 1,
  "num_pages": 63,
  "count": 3129,
  "results": [
    {
      "id": 45834,
      "code": "EXP-eJNlpahs",
      "type": 1,
      "price": 7.2,
      "cancelation_price": 0,
      "waiting_time_price": 0,
      "price_modification": 0,
      "total_price": 7.2,
      "duration": "11728.00",
      "distance": "0.00",
      "description": "comida",
      "memo": "Orden #34",
      "destinations": [
        {
          "number": 1,
          "task": "pickup",
          "task_label": "Recojo",
          "phone": "987945643",
          "email": "",
          "interior": "",
          "contact_person": "Visanet",
          "name_destination": "Jorge Chavez 184, Miraflores 15074, Peru",
          "special_instructions": "",
          "status": "completed",
          "latlon": "-12.119847,-77.0370547",
          "created_at": "2018-10-11T22:13:54+0000",
          "updated_at": "2018-10-12T18:51:15+0000",
          "started_at": "2018-10-12T15:35:33+0000",
          "status_label": "Completado",
          "arrived_at": "2018-10-12T15:35:47+0000",
          "failed_at": null,
          "completed_at": "2018-10-12T18:51:15+0000",
          "signature": "signature_9lGU1sP.png",
          "photo": "photo_C1sdknm.png",
          "photo2": "photo_TflFpBl.png",
          "destination_contact": "Visanet",
          "destination_dni": "34677855",
          "collection": null,
          "rating": null,
          "rating_description": null,
          "waiting_time_seconds": 0,
          "estimated_time": null,
          "leaves_at": null,
          "out_point": null,
          "failed_reason": null,
          "is_secure": false
        },
        {
          "number": 2,
          "task": "dropoff",
          "task_label": "Entrega",
          "phone": "987456321",
          "email": "",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "name_destination": "Avenida La Marina 550,  Pueblo Libre, San Isidro",
          "special_instructions": "",
          "status": "completed",
          "latlon": "-12.0918077,-77.02864679999999",
          "created_at": "2018-10-11T22:13:54+0000",
          "updated_at": "2018-10-12T22:04:12+0000",
          "started_at": "2018-10-12T18:51:15+0000",
          "status_label": "Completado",
          "arrived_at": "2018-10-12T22:03:10+0000",
          "failed_at": null,
          "completed_at": "2018-10-12T22:04:12+0000",
          "signature": "signature_B5PUChc.png",
          "photo": null,
          "photo2": null,
          "destination_contact": "Cliente de Visanet",
          "destination_dni": "54646464",
          "collection": null,
          "rating": null,
          "rating_description": null,
          "waiting_time_seconds": 62,
          "estimated_time": null,
          "leaves_at": null,
          "out_point": null,
          "failed_reason": null,
          "is_secure": false
        }
      ],
      "status": "ended",
      "courier": {
        "id": "8ddfaf81-aca9-4d58-8a3a-86fa31a18eb2",
        "date_of_birth": "asdsadsad",
        "address": "",
        "district": "Lima",
        "dni": "46464646",
        "email": "mi@urba.pe",
        "last_name": "A",
        "name": "Michel",
        "phone": "+51978963254",
        "photo": "photoProfile_G6ZUmNB.png",
        "ruc": "",
        "is_active": true,
        "score": "4.00",
        "status": "busy",
        "vehicle_plate": "HOD48569",
        "vehicle_model": "HONDA17"
      },
      "package_type": {
        "id": 2,
        "name": "Moto con maletin o caja",
        "image": "moto_con_caja_omaleta.png",
        "description": "Hasta 45x45x35cm ó 15Kgs",
        "specification": ""
      },
      "end_date": "2018-10-12T22:04:12+0000",
      "start_date": "2018-10-12T15:35:33+0000",
      "created_at": "2018-10-11T22:13:54+0000",
      "assignment_date": "2018-10-12T15:35:30+0000",
      "programmed_date": "2018-10-11T23:17:00+0000",
      "score": null,
      "score_description": null,
      "url": "https://app.sandbox.urbaner.com/tracking/?data=NDU4MzQ:1gCAQy:BIGLvAPc108TTMv3GHxBluggZPs",
      "is_return": false,
      "collection_type": null,
      "status_label": "Completado",
      "current_destination_label": "Entrega Completado 2/2",
      "current_destination_number": 2,
      "expiration_time": 0,
      "payment_type": "card",
      "has_rated": false,
      "assignment_code": "215f3f",
      "has_extended_search_time": true,
      "waiting_time_alert": 60,
      "cancellation_reason": null,
      "delivery_window_from": null,
      "delivery_window_to": null,
      "estimated_end_time": "2018-10-12T22:07:31.843784Z",
      "extra_data": {

      }
    },
    {
      "id": 45833,
      "code": "EXP-A9PP2Whm",
      "type": 1,
      "price": 7.2,
      "cancelation_price": 0,
      "waiting_time_price": 0,
      "price_modification": 0,
      "total_price": 7.2,
      "duration": "3.00",
      "distance": "0.00",
      "description": "comida",
      "memo": "Orden #34",
      "destinations": [
        {
          "number": 1,
          "task": "pickup",
          "task_label": "Recojo",
          "phone": "987945643",
          "email": "",
          "interior": "",
          "contact_person": "Visanet",
          "name_destination": "Jorge Chavez 184, Miraflores 15074, Peru",
          "special_instructions": "",
          "status": "completed",
          "latlon": "-12.119847,-77.0370547",
          "created_at": "2018-10-11T22:13:22+0000",
          "updated_at": "2018-10-12T15:25:08+0000",
          "started_at": "2018-10-12T15:24:56+0000",
          "status_label": "Completado",
          "arrived_at": "2018-10-12T15:25:04+0000",
          "failed_at": null,
          "completed_at": "2018-10-12T17:20:43+0000",
          "signature": null,
          "photo": null,
          "photo2": null,
          "destination_contact": "Visanet",
          "destination_dni": null,
          "collection": null,
          "rating": null,
          "rating_description": null,
          "waiting_time_seconds": 0,
          "estimated_time": null,
          "leaves_at": null,
          "out_point": null,
          "failed_reason": null,
          "is_secure": false
        },
        {
          "number": 2,
          "task": "dropoff",
          "task_label": "Entrega",
          "phone": "987456321",
          "email": "",
          "interior": "5",
          "contact_person": "Cliente de Visanet",
          "name_destination": "Avenida La Marina 550,  Pueblo Libre, San Isidro",
          "special_instructions": "",
          "status": "completed",
          "latlon": "-12.0918077,-77.02864679999999",
          "created_at": "2018-10-11T22:13:22+0000",
          "updated_at": "2018-10-12T15:25:08+0000",
          "started_at": "2018-10-12T15:25:08+0000",
          "status_label": "Completado",
          "arrived_at": null,
          "failed_at": null,
          "completed_at": "2018-10-12T17:20:43+0000",
          "signature": null,
          "photo": null,
          "photo2": null,
          "destination_contact": null,
          "destination_dni": null,
          "collection": null,
          "rating": null,
          "rating_description": null,
          "waiting_time_seconds": 0,
          "estimated_time": null,
          "leaves_at": null,
          "out_point": null,
          "failed_reason": null,
          "is_secure": false
        }
      ],
      "status": "ended",
      "courier": {
        "id": "ce803dcc-1f08-4bf8-803a-b547927ecb33",
        "date_of_birth": "12/12/1231",
        "address": "",
        "district": "San Miguel",
        "dni": "00212530",
        "email": "gustavo@urbaner.pe",
        "last_name": "Ordaz Silva",
        "name": "Gustavo A",
        "phone": "+51987654321",
        "photo": "f6de1e11-62f.png",
        "ruc": "10123456786",
        "is_active": true,
        "score": "5.00",
        "status": "available",
        "vehicle_plate": "qweqwe",
        "vehicle_model": "Modelo"
      },
      "package_type": {
        "id": 2,
        "name": "Moto con maletin o caja",
        "image": "moto_con_caja_omaleta.png",
        "description": "Hasta 45x45x35cm ó 15Kgs",
        "specification": ""
      },
      "end_date": "2018-10-12T17:20:43+0000",
      "start_date": "2018-10-12T15:24:56+0000",
      "created_at": "2018-10-11T22:13:22+0000",
      "assignment_date": "2018-10-12T15:24:44+0000",
      "programmed_date": "2018-10-11T22:18:50+0000",
      "score": null,
      "score_description": null,
      "url": "https://app.sandbox.urbaner.com/tracking/?data=NDU4MzM:1gCAQy:qyIipudGVbJMk8bsxg_RTj4jrm4",
      "is_return": false,
      "collection_type": null,
      "status_label": "Completado",
      "current_destination_label": "Entrega Completado 2/2",
      "current_destination_number": 2,
      "expiration_time": 0,
      "payment_type": "card",
      "has_rated": false,
      "assignment_code": "e999a7",
      "has_extended_search_time": true,
      "waiting_time_alert": 60,
      "cancellation_reason": null,
      "delivery_window_from": null,
      "delivery_window_to": null,
      "estimated_end_time": "2018-10-12T17:20:38.502290Z",
      "extra_data": {

      }
    }
  ],
  "previous": null,
  "next": "https://api.sandbox.urbaner.com/api/client/orders/?page=2"
}

List all your orders.

curl -X POST \
  https://api.sandbox.urbaner.com/api/client/orders/ \
  -H 'Authorization: token << YOUR TOKEN >>' \
  -H 'Cache-Control: no-cache' \
  -H 'Postman-Token: 92c2266f-c871-4b93-896b-bfb4e62349e5'