OneRail Location API

The Location API from OneRail — 12 operation(s) for location.

Operations 19

POST /v1/location Creates a new Location #
GET /v1/location Get all locations user has access to #
GET /v1/location/{locationId} Get location by id #
PUT /v1/location/{locationId} Updates location #
DELETE /v1/location/{locationId} Remove location #
GET /v1/location/{locationId}/users Get Location's users #
POST /v1/location/{locationId}/users adds Location's users #
GET /v1/location/{locationId}/users/api Get Location's users (API) #
DELETE /v1/location/{locationId}/user/{userId} deletes Location's users #
GET /v1/location/{locationId}/customer-locations Get the customer locations for this shipper location #
POST /v1/location/bulk-customer-locations CSV file with customer locations #
POST /v1/location/{locationId}/customer-location Create a customer location for the shipper location #
GET /v1/location/{locationId}/customer-location/{customerLocationId} Get customer location #
PUT /v1/location/{locationId}/customer-location/{customerLocationId} Update customer location #
DELETE /v1/location/{locationId}/customer-location/{customerLocationId} Remove customer location association to the shipper location #
POST /v1/location/{locationId}/customer-location/{customerLocationId}/change-association Change an existing associated customer location to a different shipper location #
POST /v1/location/{locationId}/bulk Bulk delete selected customer locations for the shipper location #
DELETE /v1/location/{locationId}/bulk Bulk delete ALL customer locations for the shipper location #
PUT /v1/location/{storeNumber}/by-store-number Update location by storeNumber #

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-location-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-location-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: OneRail Operation Dashboard Location API
  description: Defines Operations Dashboard APIs
  license:
    name: UNLICENSED
    url: ''
servers:
- url: /
  description: Default relative server URL
security:
- bearer: []
tags:


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