AfterShip Orders API

The Orders API from AfterShip — 4 operation(s) for orders.

Operations 8

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 /orders Create an order · Create an order #
Ask an LLM
“How do I push a new order into AfterShip for tracking and returns?”
“What fields are required when I create an order?”
Tell an agent
Create order number {number} in {currency} totaling {order_total} with items {items}.
Add order {number} to store {store} with delivery method {delivery_method}.
GET /orders List orders in a store · Get orders #
Ask an LLM
“How do I pull a list of orders from my store?”
“Can I fetch several specific orders at once by their IDs?”
Tell an agent
List orders in store {store}.
Get orders {ids} sorted by {sort}.
GET /orders/{id} Get an order by ID · Get order by ID #
Ask an LLM
“What are the details of a specific order?”
“Can I look up one order by its ID?”
Tell an agent
Show order {id} from store {store}.
Get order {id}.
PATCH /orders/{id} Update an order's details or status · Update order by ID #
Ask an LLM
“Can I change the shipping address on an order I already created?”
“How do I update an order's financial or fulfillment status?”
Tell an agent
Update the shipping address of order {id} to {shipping_address}.
Set order {id} fulfillment status to {fulfillment_status}.
POST /orders/{id}/items Add a line item to an order · Create an order item #
Ask an LLM
“How do I add another product line to an existing order?”
“Can I include an HS code and origin country on a new order item?”
Tell an agent
Add {quantity} of {product_title} to order {id} as item {item_id}.
Create item {item_id} with SKU {sku} on order {id}.
GET /orders/{id}/items/{item_id} Get one line item from an order · Get order item by ID #
Ask an LLM
“What are the details of a single item within an order?”
“Can I look up one order line item by its ID?”
Tell an agent
Show item {item_id} on order {id}.
Get order {id} line item {item_id} from store {store}.
PATCH /orders/{id}/items/{item_id} Update an order line item · Update order item by ID #
Ask an LLM
“Can I change the quantity of an item on an order?”
“How do I correct the price or SKU of an order line?”
Tell an agent
Change the quantity of item {item_id} on order {id} to {quantity}.
Set the unit price of order {id} item {item_id} to {unit_price}.
DELETE /orders/{id}/items/{item_id} Delete a line item from an order · Delete an order item #
Ask an LLM
“How do I remove a product line from an order?”
“Can I delete a single item without deleting the whole order?”
Tell an agent destructive · confirm first
Delete item {item_id} from order {id}.
Remove line {item_id} from order {id} in store {store}.

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-orders-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-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Overview Orders API
  version: 2026-07
  summary: API Overview
  contact:
    name: AfterShip Support
    url: https://www.aftership.com/contact-us
    email: support@aftership.com
  termsOfService: https://www.aftership.com/legal/terms-of-service
  description: '> OAS Schema can be downloaded here'
servers:
- url: https://api.aftership.com/commerce/2026-07
  description: API Endpoint
security:
- as-api-key: []
tags:


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