AfterShip · Schema

courier_connection

This model represents user-created courier connection details. AfterShip will use this information to retrieve tracking updates from carriers based on the provided tracking numbers.

ShippingTrackingE-CommercePost-PurchaseNotificationLogisticsReturnsWarrantyAddress ValidationFulfillmentCarrierWebhookMCPRetail

Properties

Name Type Description
id string The courier connection ID is a special set of numbers generated by AfterShip to define each user-created connection.
courier_slug string Unique courier code. Get courier codes [here](https://www.aftership.com/docs/tracking/others/supported-couriers).
credentials object It refers to the authentication details required for each specific carrier details required for each specific carrier (such as API keys, username, password, etc.) that the user must provide to establi
created_at string The date and time the courier connection was created. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0.
updated_at string The date and time the courier connection was updated. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0.
View JSON Schema on GitHub

JSON Schema

aftership-courier-connection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-courier-connection-schema.json",
  "title": "courier_connection",
  "description": "This model represents user-created courier connection details. AfterShip will use this information to retrieve tracking updates from carriers based on the provided tracking numbers.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-courier-connection-api-openapi.yml#/components/schemas/Courier_connection",
  "x-stoplight": {
    "id": "h993xw7eds2r0"
  },
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "x-stoplight": {
        "id": "201rqv73grnrb"
      },
      "description": "The courier connection ID is a special set of numbers generated by AfterShip to define each user-created connection."
    },
    "courier_slug": {
      "type": "string",
      "x-stoplight": {
        "id": "ee7qhv7as4q73"
      },
      "description": "Unique courier code. Get courier codes [here](https://www.aftership.com/docs/tracking/others/supported-couriers)."
    },
    "credentials": {
      "type": "object",
      "x-stoplight": {
        "id": "xi69b9bloyj4v"
      },
      "description": "It refers to the authentication details required for each specific carrier details required for each specific carrier (such as API keys, username, password, etc.) that the user must provide to establish a carrier connection. The content varies by carrier.",
      "additionalProperties": {
        "x-stoplight": {
          "id": "ocqnsnsekerdh"
        },
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "x-stoplight": {
        "id": "zop3vvrqzfmmx"
      },
      "description": "The date and time the courier connection was created. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0."
    },
    "updated_at": {
      "type": "string",
      "x-stoplight": {
        "id": "jr9fxq11w9ghx"
      },
      "description": "The date and time the courier connection was updated. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/aftership-courier-connection"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.