Mile Order Optimization API

The Order Optimization API from Mile — 1 operation(s) for order optimization.

Operations 1

POST /api/v1/partners/optimize-orders Webhook endpoint for receiving orders and creating optimized Orders #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mile-order-optimization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mile-order-optimization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Documentation Aramex Order Optimization API
  description: Api Documentation
  version: 1.0.0
servers:
- url: https://lastmile.milenow.com/index.php
  description: Api Documentation
security:
- Bearer: []
tags:
- name: Order Optimization
paths:
  /api/v1/partners/optimize-orders:
    post:
      tags:
      - Order Optimization
      summary: Webhook endpoint for receiving orders and creating optimized Orders
      description: This endpoint receives order data and creates optimized orders automatically
      operationId: post_app_apiv1_trackingapi_optimizeorderswebhook
      parameters:
      - name: access_token
        in: query
        description: Access Token
        schema:
          type: string
      - name: orders
        in: query
        description: 'Orders JSON - Array of orders to optimize. Example: [{"warehouse_id": "00","deliver_on": "2026-01-22","reference_id": "TEST-1735647600","customer": "Mobi mariam","phone": "123344566","customer_address": "123 Test Street","latitude": 12.0000000000,"longitude": 12.0000000000,"product_items": [{"product_id": 123456,"qty": 10,"unitPrice": 5.50 }]}]'
        schema:
          type: string
      responses:
        '200':
          description: Returns success status with optimization results
components:
  securitySchemes:
    Bearer:
      type: http
      bearerFormat: JWT
      scheme: bearer