Developers
English
English
  • 👋Welcome
  • 🛒E-commerce
    • Introduction
    • Shopify
      • Functionalities
      • Steps to integrate
      • User guide
      • FAQs
    • Mercado Livre
      • Functionalities
      • Steps to integrate
      • FAQs
    • Vtex
      • Funcionalities
      • Steps to integrate
      • FAQs
    • Beetrack
      • Funcionalities
      • Steps to integrate
      • FAQs
    • Prestashop
      • Functionalities
      • Steps to integrate
      • FAQs
  • 👨‍💻Integration Guide
    • Basic processes
      • Delivery creation
        • Dash
        • Import
        • Zapier
        • API
        • SFTP
        • Custom
      • Status update
        • Webhook subscriptions
        • Continuous Polling
        • Statuses
    • Advanced process
      • Interactive delivery tracking
      • Security
        • [2FA] Two Factor Authentication Method
        • Activate SAML SSO for a Company
  • 📄Shippify Api
    • First steps
    • Deliveries
      • Delivery creation
      • Delivery Quotes
      • Get delivery information
      • Update pickup point
      • Update delivery
      • Change delivery statuses
      • Assign driver
      • Print delivery labels
      • Get a tracking link
      • Attach documents to a delivery
    • Routes
      • Create route
      • Get route information
      • Add a delivery
      • Remove a delivery
      • Break a route
      • Change the status of a route
  • 📝Processes
    • Create a Shippify account
Con tecnología de GitBook
En esta página
  1. Shippify Api
  2. Routes

Get route information

You can retrieve a route by its ID or by any delivery ID belonging to the route

AnteriorCreate routeSiguienteAdd a delivery

Última actualización hace 12 meses

📄

Route inquiry

get

Retrieve data for a route.

Autorizaciones
Parámetros de ruta
idstringRequerido

Identifier of the route to query.

Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
get
GET /v1/routes/{id} HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Accept: */*
{
  "payload": {
    "route": {
      "id": "r-shiinc-27946",
      "city": {
        "id": "3",
        "name": "Santiago de Chile"
      },
      "deliveries": [
        {
          "id": "t-shiinc-27946",
          "referenceId": "PO-00012",
          "state": 3,
          "status": "assigned",
          "company": {
            "id": 2,
            "name": "TextLam"
          },
          "pickup": {
            "location": {
              "address": "Vicuna Mackenna 6100, La Florida, Region Metropolitana, Chile",
              "instructions": "Unit 1001",
              "lat": -33.511333999,
              "lng": -70.6102933
            },
            "timeWindow": {
              "start": "2023-10-27T18:24:11.000Z",
              "end": "2023-10-27T18:54:11.000Z"
            },
            "contact": {
              "name": "Iliana Bolaños",
              "email": "iliana@shippify.co",
              "phonenumber": "0998976565"
            }
          },
          "dropoff": {
            "location": {
              "address": "Vicuna Mackenna 6100, La Florida, Region Metropolitana, Chile",
              "instructions": "Unit 1001",
              "lat": -33.511333999,
              "lng": -70.6102933
            },
            "timeWindow": {
              "start": "2023-10-27T19:24:11.000Z",
              "end": "2023-10-27T19:54:11.000Z"
            },
            "contact": {
              "name": "Iliana Bolaños",
              "email": "iliana@shippify.co",
              "phonenumber": "0998976565"
            }
          },
          "fare": {
            "service": 3.2,
            "cash": 10,
            "currencyCode": "CLP"
          },
          "packages": {
            "capacity": 2,
            "contents": [
              {
                "id": "Product-001",
                "name": "Color box",
                "qty": 4,
                "weight": 5.3,
                "size": "flex",
                "price": 5.3
              }
            ]
          },
          "tags": [
            "Delicate"
          ],
          "receiver": {
            "name": "Iliana Bolaños",
            "email": "iliana@shippify.co",
            "phonenumber": "0998976565"
          },
          "chargedDistance": 10.4,
          "routeDistance": 10.4,
          "deliveryType": "slot",
          "jobId": "JOB-1234"
        }
      ],
      "status": "assigned",
      "minimumCapacity": 2,
      "stepIds": [
        {
          "deliveryId": "t-pruaas-4973",
          "activityType": "pickup"
        }
      ]
    }
  }
}