Locus LocationMaster API

The LocationMaster API from Locus — 2 operation(s) for locationmaster.

Operations 3

GET /client/{clientId}/location/{locationId} Get a location #
PUT /client/{clientId}/location/{locationId} Create a location #
POST /client/{clientId}/location/{locationId}/disable #

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/locus-sh-locationmaster-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

locus-sh-locationmaster-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus HomebaseMaster Location Master API
  description: Manage your deliveries with the Locus API
  version: 1.0.0
servers:
- url: https://oms.locus-api.com/v1
tags:
- name: LocationMaster
paths:
  /client/{clientId}/location/{locationId}:
    parameters:
    - $ref: '#/components/parameters/ClientIdParam'
    - $ref: '#/components/parameters/LocationIdParam'
    get:
      summary: Get a location
      operationId: getLocation
      tags:
      - LocationMaster
      parameters:
      - name: include
        in: query
        description: Comma separated list of extra fields that should be returned. Supported values are CONTACT.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: location object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterLocation'
      security:
      - locusauth: []
    put:
      summary: Create a location
      operationId: createLocation
      parameters:
      - $ref: '#/components/parameters/OverwriteParam'
      tags:
      - LocationMaster
      responses:
        '200':
          description: Created location
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterLocation'
      security:
      - locusauth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLocationRequest'
        description: Create location request
        required: true
  /client/{clientId}/location/{locationId}/disable:
    parameters:
    - $ref: '#/components/parameters/ClientIdParam'
    - $ref: '#/components/parameters/LocationIdParam'
    post:
      description: Disable a specific location
      operationId: disableLocation
      tags:
      - LocationMaster
      responses:
        '200':
          description: Updated location
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MasterLocation'
      security:
      - locusauth: []
components:
  schemas:
    MasterLocation:
      $ref: https://swagger.locus-api.com/common-entities.yaml#/definitions/MasterLocation
    CreateLocationRequest:
      $ref: https://swagger.locus-api.com/common-entities.yaml#/definitions/CreateLocationRequest
  parameters:
    OverwriteParam:
      name: overwrite
      in: query
      description: Boolean flag if true, will overwrite the existing entity
      required: false
      schema:
        type: boolean
    ClientIdParam:
      name: clientId
      in: path
      description: Id of the client
      required: true
      schema:
        type: string
    LocationIdParam:
      name: locationId
      in: path
      description: Id of the location
      required: true
      schema:
        type: string
  securitySchemes:
    locusauth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization