OneRail Order API

The Order API from OneRail — 22 operation(s) for order.

Business capability
Last-Mile Delivery Operations Management BC-2420.40

Operations 24

POST /v2/order Create an order with deliveries and returns #
PATCH /order/{orderId}/partial-update Partial update an order with deliveries, appending items and containers #
PUT /order/{orderId}/partial-update Partial update an order with deliveries, replacing items and containers #
POST /order/create Create an order with deliveries #
POST /order/add-return Add return delivery to order #
POST /order/add-delivery Create an order with deliveries #
POST /v1/order/optimize/{organizationId} Optimize system orders #
POST /v1/order/optimize/{organizationId}/with-multiple-locations Optimize system orders with multiple locations #
GET /v1/order/control-tower Optimize system orders #
GET /v1/order/control-tower/locations Load locations from an org that the user has access to #
GET /v1/order/optimized-drivers-location Get Driver Locations of optimized orders #
POST /v1/bulk-orders-delete Bulk delete orders and associated data. #
GET /v1/bulk-status Get status of a bulk process #
POST /v1/order/set-status Change orders status to Shipping #
POST /v1/order/advance Advance order status #
GET /v1/order/{orderId} Get a order details #
POST /v1/order/add-deliveries-api Add one or more deliveries to an order using an apikey for auth #
POST /v1/order/add-returns-api Add one or more returns to an order using an apikey for auth #
POST /v1/order/add-returns-api/{deliveryId} Add one or more returns to an order using an apikey for auth, update original… #
POST /v1/order/api Creates an order from API call with one or more deliveries #
PATCH /v1/order/partial-update-api Partial update order from API call with one or more deliveries #
PUT /v1/order/partial-update-api Partial update order from API call with one or more deliveries #
GET /v1/order/{orderId}/container/{containerId}/scan-history Get the scan history for a container inside an order #
GET /v1/order/{orderId}/delivery/{deliveryId}/items Get a paginated list of a delivery's order items #

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/onerail-order-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

onerail-order-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onerail Order API
  version: '1.0'
  description: 'Operations tagged Order across 2 of this provider''s published API definitions: onerail-delivery-api-openapi.json, onerail-operations-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
  description: Default relative server URL
tags:


# --- truncated at 32 KB (197 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/onerail/refs/heads/main/openapi/onerail-order-api-openapi.yml