AfterShip Locations API

The Locations API from AfterShip — 2 operation(s) for locations.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /locations Create a manual location · Create a location #
Ask an LLM
“How do I add a new warehouse or pickup location?”
“Can I set opening hours and pickup settings on a new location?”
Tell an agent
Create a location named {name} at {address}.
Add location {name} at {address} in time zone {timezone_identifier}.
GET /locations List store and warehouse locations · Get locations #
Ask an LLM
“How do I see all my warehouse and store locations?”
“Can I list only locations from a particular source?”
Tell an agent
List my locations.
Show locations from source {source}.
GET /locations/{id} Get a location by ID · Get location by ID #
Ask an LLM
“What are the details of one of my locations?”
“Can I look up a location's address and hours by ID?”
Tell an agent
Show location {id}.
Get the address and opening hours for location {id}.
PATCH /locations/{id} Update a location's details · Update location by ID #
Ask an LLM
“How do I change the opening hours of an existing location?”
“Can I rename a location without touching its other fields?”
Tell an agent
Rename location {id} to {name}.
Set the opening hours of location {id} to {opening_hours}.

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/aftership:aftership-locations-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

aftership-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aftership Locations API
  contact:
    name: AfterShip Support
    url: https://www.aftership.com/contact-us
    email: support@aftership.com
  termsOfService: https://www.aftership.com/legal/terms-of-service
  version: '1.0'
  description: 'Operations tagged Locations across 2 of this provider''s published API definitions: aftership-commerce-api-openapi.yml, aftership-shipping-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.aftership.com/commerce/2026-07
  description: API Endpoint
- description: Sandbox
  url: https://sandbox-api.aftership.com/postmen/v3
- url: https://api.aftership.com/postmen/v3
  description: Production
security:
- as-api-key: []
tags:


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