---
updatedAt: 2025-06-25T21:03:29.000Z
agentTools:
  projectIndex: https://developers.99minutos.com/llms.txt
---

# Update stops order

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "API ruta99 v1",
    "description": "This is the documentation for the public API v1 of ruta99.\n\n## First steps\n\n1.  Ask for a dedicated developers organization for your company. This will act as a sandbox.\n2.  The ruta99 team will provide a `client_id` and `client_secret`.\n3.  Use this credentials to generate the access tokens.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://{{api_url}}"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Route"
    }
  ],
  "paths": {
    "/v1/route/319/reorder": {
      "put": {
        "tags": [
          "Route"
        ],
        "summary": "Update stops order",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "example": {
                  "stops": [
                    6633,
                    6630,
                    6631,
                    6632,
                    6634
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Export completed routes](https://developers.99minutos.com/reference/get_v1-route-export.md)