AfterShip Specific Shipper Accounts API

The Specific Shipper Accounts API from AfterShip — 2 operation(s) for specific shipper accounts.

Operations 2

POST /couriers/fedex/shipper-accounts Create a FedEx shipper account #
POST /couriers/fedex/shipper-accounts/{id}/update Update a FedEx shipper account #

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-specific-shipper-accounts-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 email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aftership-specific-shipper-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Overview Specific Shipper Accounts API
  version: '1.0'
  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](https://stoplight.io/api/v1/projects/automizely/docs-core-postmenapi-com/nodes/reference/api.v3.json?branch=master&deref=optimizedBundle)'
servers:
- description: Sandbox
  url: https://sandbox-api.aftership.com/postmen/v3
- url: https://api.aftership.com/postmen/v3
  description: Production
security:
- as-api-key: []
tags:
- name: Specific Shipper Accounts
paths:
  /couriers/fedex/shipper-accounts:
    parameters: []
    post:
      summary: Create a FedEx shipper account
      operationId: post-v3-couriers-fedex-shipper-accounts
      responses:
        '200':
          description: Create a FedEx or FedEx Ground® Economy shipper account
          content:
            application/json:
              schema:
                type: object
                x-examples:
                  example-1:
                    meta:
                      code: 200
                      message: OK
                      details: []
                    data:
                      id: 00000000-0000-0000-0000-000000000000
                      description: My Shipper Account
                      slug: fedex
                      status: enabled
                      timezone: Asia/Hong_Kong
                      type: user
                      created_at: '2016-02-12T10:30:50+00:00'
                      updated_at: '2016-09-23T04:56:26+00:00'
                      address:
                        country: HKG
                        contact_name: Sir Foo
                        phone: '11111111'
                        fax: null
                        email: foo@foo.com
                        company_name: Foo Store
                        street1: Workshop A, 10/F, Wah Shing Industrial Building
                        street2: 18 Cheung Shun Street, Lai Chi Kok
                        city: Lai Chi Kok
                        type: business
                        postal_code: null
                        state: null
                        street3: null
                        tax_id: null
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta.v3'
                  data:
                    type: object
                    x-stoplight:
                      id: 0l3adq18m6kir
                    properties:
                      id:
                        type: string
                        x-stoplight:
                          id: l6399y8cvu0oh
                        description: Shipper Account ID
                      address:
                        $ref: '#/components/schemas/Address.v3'
                        x-stoplight:
                          id: lz1k0e7j4hsgi
                        description: 'Address object: the description of address information'
                      slug:
                        type: string
                        x-stoplight:
                          id: 5y06213fs77dz
                        description: Couirer slug
                      status:
                        type: string
                        x-stoplight:
                          id: r7y62sxswkdua
                        enum:
                        - enabled
                        - disabled
                        - deleted
                      description:
                        type: string
                        x-stoplight:
                          id: 3wp361kj1kjwf
                        description: The description of the account
                      type:
                        type: string
                        x-stoplight:
                          id: z4abx0k3banyl
                        enum:
                        - default
                        - user
                        description: The type of the shipper_account
                      timezone:
                        type: string
                        x-stoplight:
                          id: knijyh5uvhvnb
                        description: Shipper account timezone
                      settings:
                        type: object
                        x-stoplight:
                          id: d81id3b6i3uhb
                        description: 'Settings object: additional settings of the shipper account.'
                        properties:
                          preferred_currency:
                            type: string
                            x-stoplight:
                              id: e7eyfy4kg9ng0
                          electronic_trade_documents_enabled:
                            type: boolean
                            x-stoplight:
                              id: mrxhsnjbo198h
                            description: Set to true to enable FedEx Electronic Trade Documents (ETD), provide both commercial_invoice_letterhead and commercial_invoice_signature are required. Otherwise ETD is disabled and any provided image fields are ignored.
                          commercial_invoice_letterhead:
                            type: string
                            x-stoplight:
                              id: mrxhsnjbo198h
                            description: Letterhead image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 700 pixels wide by 50 pixels long. Only applies to FedEx currently.
                          commercial_invoice_signature:
                            type: string
                            x-stoplight:
                              id: vdvo6u1y4iw09
                            description: Signature image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 240 pixels wide by 25 pixels long. Only applies to FedEx currently.
                      created_at:
                        type: string
                        x-stoplight:
                          id: cs8pqzct0grbz
                        description: A formatted date.
                      updated_at:
                        type: string
                        x-stoplight:
                          id: 269eik9j928ug
                        description: A formatted date.
              examples:
                example-1:
                  value:
                    meta:
                      code: 200
                      message: OK
                      details: []
                    data:
                      id: 00000000-0000-0000-0000-000000000000
                      description: My Shipper Account
                      slug: fedex
                      status: enabled
                      timezone: Asia/Hong_Kong
                      type: default
                      created_at: '2016-02-12T10:30:50+00:00'
                      updated_at: '2016-09-23T04:56:26+00:00'
                      address:
                        country: HKG
                        contact_name: Sir Foo
                        phone: '11111111'
                        fax: null
                        email: foo@foo.com
                        company_name: Foo Store
                        street1: Workshop A, 10/F, Wah Shing Industrial Building
                        street2: 18 Cheung Shun Street, Lai Chi Kok
                        city: Lai Chi Kok
                        type: business
                        postal_code: null
                        state: null
                        street3: null
                        tax_id: null
                      settings:
                        preferred_currency: USD
                        electronic_trade_documents_enabled: true
                        commercial_invoice_letterhead: '********'
                        commercial_invoice_signature: '********'
      description: 'This endpoint allows you to create your FedEx or FedEx Ground® Economy shipper account via API. You can integrate our API with your system and manage the shipper account according to your needs.


        Please ensure that your account credentials, invoice, address are correct.'
      parameters:
      - schema:
          type: string
          default: application/json
          example: application/json
        in: header
        name: Content-Type
        description: Content-Type
        required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              x-examples:
                example-1:
                  slug: fedex
                  description: My Shipper Account
                  timezone: Asia/Hong_Kong
                  credentials:
                    account_number: '******'
                  invoice:
                    number: '234562278'
                    currency: USD
                    date: '2026-02-24'
                    amount: 234
                  settings:
                    preferred_currency: USD
                    electronic_trade_documents_enabled: true
                    commercial_invoice_letterhead: '********'
                    commercial_invoice_signature: '********'
                  address:
                    street1: Workshop A, 10/F, Wah Shing Industrial Building
                    country: HKG
                    contact_name: Sir Foo
                    phone: '11111111'
                    email: foo@foo.com
                    company_name: Foo Store
                    street2: 18 Cheung Shun Street, Lai Chi Kok
                    city: Lai Chi Kok
                    state: null
                    postal_code: null
                    type: business
                    tax_id: null
              required:
              - slug
              - description
              - credentials
              - address
              - invoice
              properties:
                slug:
                  type: string
                  enum:
                  - fedex
                  - fedex-smartpost
                description:
                  type: string
                timezone:
                  type: string
                credentials:
                  type: object
                  required:
                  - account_number
                  properties:
                    account_number:
                      type: string
                      x-stoplight:
                        id: b09506p7q48w7
                    hub_id:
                      type: string
                      x-stoplight:
                        id: iwadl2cjpc1l0
                      description: Required for FedEx Ground® Economy.
                address:
                  type: object
                  additionalProperties: false
                  description: 'Address object: the description of address information'
                  x-stoplight:
                    id: yxyjrpu0ejpdy
                  required:
                  - street1
                  - country
                  - contact_name
                  properties:
                    street1:
                      type: string
                      x-stoplight:
                        id: 5jwe58xjdd8nb
                      description: address_line1 of address
                    country:
                      type: string
                      x-stoplight:
                        id: bnh6ao7egflqp
                      description: Country in ISO 3166-1 alpha 3 code
                    contact_name:
                      type: string
                      x-stoplight:
                        id: jxo9m3gx37a8n
                      description: contact_name of address
                    phone:
                      type: string
                      x-stoplight:
                        id: 1sqa5he9quwvy
                      description: contact_phone of address
                    email:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: bm9kfy2gchepq
                      description: email of address
                    company_name:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: zmy6uepr9tcda
                      description: company_name of address
                    street2:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: 2k0u00qvdlaj5
                      description: address_line2 of address
                    city:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: 0vl4z3l1k4svl
                      description: city of address
                    state:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: i3fdfnsqe8jqq
                      description: state of address
                    postal_code:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: co72zwed6ql97
                      description: postal_code of address
                    type:
                      x-stoplight:
                        id: wq8micfzwkikg
                      description: type of address
                      type:
                      - string
                      - 'null'
                      enum:
                      - residential
                      - business
                    tax_id:
                      type:
                      - string
                      - 'null'
                      x-stoplight:
                        id: k0ptjvja7yxps
                      description: tax id
                invoice:
                  type: object
                  x-stoplight:
                    id: wfq7t4an0gmmo
                  required:
                  - number
                  - currency
                  - date
                  - amount
                  properties:
                    number:
                      type: string
                      description: Unique invoice identifier or reference number.
                      x-stoplight:
                        id: brso04e6y64ls
                    currency:
                      type: string
                      description: ISO currency code for the invoice amount (e.g. USD).
                      x-stoplight:
                        id: rygqbgzlfjhow
                    date:
                      type: string
                      description: Invoice date in YYYY-MM-DD format.
                      x-stoplight:
                        id: dllkna2fi5xvt
                    amount:
                      type: number
                      x-stoplight:
                        id: 0vjrx5zlnl0hu
                      description: 'Total amount on the commercial invoice. '
                settings:
                  type: object
                  description: 'Settings object: additional settings of the shipper account.'
                  properties:
                    preferred_currency:
                      type: string
                      x-stoplight:
                        id: fsawk2usov9mg
                    electronic_trade_documents_enabled:
                      type: string
                      description: Set to true to enable FedEx Electronic Trade Documents (ETD), provide both commercial_invoice_letterhead and commercial_invoice_signature are required. Otherwise ETD is disabled and any provided image fields are ignored.
                    commercial_invoice_letterhead:
                      type: string
                      description: Letterhead image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 700 pixels wide by 50 pixels long. Only applies to FedEx currently.
                    commercial_invoice_signature:
                      type: string
                      description: Signature image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 240 pixels wide by 25 pixels long. Only applies to FedEx currently.
            examples:
              example-1:
                value:
                  slug: fedex
                  description: My Shipper Account
                  timezone: Asia/Hong_Kong
                  credentials:
                    account_number: '******'
                  invoice:
                    number: '234562278'
                    currency: USD
                    date: '2026-02-24'
                    amount: 234
                  settings:
                    preferred_currency: USD
                    electronic_trade_documents_enabled: true
                    commercial_invoice_letterhead: '********'
                    commercial_invoice_signature: '********'
                  address:
                    street1: Workshop A, 10/F, Wah Shing Industrial Building
                    country: HKG
                    contact_name: Sir Foo
                    phone: '11111111'
                    email: foo@foo.com
                    company_name: Foo Store
                    street2: 18 Cheung Shun Street, Lai Chi Kok
                    city: Lai Chi Kok
                    state: null
                    postal_code: null
                    type: business
                    tax_id: null
          application/xml:
            schema:
              type: object
              properties: {}
        description: Create a FedEx or FedEx Ground® Economy shipper account
      tags:
      - Specific Shipper Accounts
      security:
      - as-api-key: []
      x-stoplight:
        id: c1hmaoymtcjf2
  /couriers/fedex/shipper-accounts/{id}/update:
    parameters:
    - schema:
        type: string
      name: id
      in: path
      required: true
    post:
      summary: Update a FedEx shipper account
      operationId: post-v3-couriers-fedex-shipper-accounts-id-update
      responses:
        '200':
          description: Update a FedEx or FedEx Ground® Economy shipper account
          content:
            application/json:
              schema:
                type: object
                x-examples:
                  example-1:
                    meta:
                      code: 200
                      message: OK
                      details: []
                    data:
                      id: 00000000-0000-0000-0000-000000000000
                      description: My Shipper Account
                      slug: fedex
                      status: enabled
                      timezone: Asia/Hong_Kong
                      type: user
                      created_at: '2016-02-12T10:30:50+00:00'
                      updated_at: '2016-09-23T04:56:26+00:00'
                      address:
                        country: HKG
                        contact_name: Sir Foo
                        phone: '11111111'
                        fax: null
                        email: foo@foo.com
                        company_name: Foo Store
                        street1: Workshop A, 10/F, Wah Shing Industrial Building
                        street2: 18 Cheung Shun Street, Lai Chi Kok
                        city: Lai Chi Kok
                        type: business
                        postal_code: null
                        state: null
                        street3: null
                        tax_id: null
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta.v3'
                  data:
                    type: object
                    x-stoplight:
                      id: 0l3adq18m6kir
                    properties:
                      id:
                        type: string
                        x-stoplight:
                          id: l6399y8cvu0oh
                        description: Shipper Account ID
                      address:
                        $ref: '#/components/schemas/Address.v3'
                        x-stoplight:
                          id: lz1k0e7j4hsgi
                        description: 'Address object: the description of address information'
                      slug:
                        type: string
                        x-stoplight:
                          id: 5y06213fs77dz
                        description: Couirer slug
                      status:
                        type: string
                        x-stoplight:
                          id: r7y62sxswkdua
                        enum:
                        - enabled
                        - disabled
                        - deleted
                      description:
                        type: string
                        x-stoplight:
                          id: 3wp361kj1kjwf
                        description: The description of the account
                      type:
                        type: string
                        x-stoplight:
                          id: z4abx0k3banyl
                        enum:
                        - default
                        - user
                        description: The type of the shipper_account
                      timezone:
                        type: string
                        x-stoplight:
                          id: knijyh5uvhvnb
                        description: Shipper account timezone
                      settings:
                        type: object
                        x-stoplight:
                          id: d81id3b6i3uhb
                        description: 'Settings object: additional settings of the shipper account.'
                        properties:
                          preferred_currency:
                            type: string
                            x-stoplight:
                              id: e7eyfy4kg9ng0
                          electronic_trade_documents_enabled:
                            type: 'true'
                            x-stoplight:
                              id: mrxhsnjbo198h
                            description: Set to true to enable FedEx Electronic Trade Documents (ETD), provide both commercial_invoice_letterhead and commercial_invoice_signature are required. Otherwise ETD is disabled and any provided image fields are ignored.
                          commercial_invoice_letterhead:
                            type: string
                            x-stoplight:
                              id: mrxhsnjbo198h
                            description: Letterhead image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 700 pixels wide by 50 pixels long. Only applies to FedEx currently.
                          commercial_invoice_signature:
                            type: string
                            x-stoplight:
                              id: vdvo6u1y4iw09
                            description: Signature image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 240 pixels wide by 25 pixels long. Only applies to FedEx currently.
                      created_at:
                        type: string
                        x-stoplight:
                          id: cs8pqzct0grbz
                        description: A formatted date.
                      updated_at:
                        type: string
                        x-stoplight:
                          id: 269eik9j928ug
                        description: A formatted date.
              examples:
                example-1:
                  value:
                    meta:
                      code: 200
                      message: OK
                      details: []
                    data:
                      id: 00000000-0000-0000-0000-000000000000
                      description: My Shipper Account
                      slug: fedex
                      status: enabled
                      timezone: Asia/Hong_Kong
                      type: default
                      created_at: '2016-02-12T10:30:50+00:00'
                      updated_at: '2016-09-23T04:56:26+00:00'
                      address:
                        country: HKG
                        contact_name: Sir Foo
                        phone: '11111111'
                        fax: null
                        email: foo@foo.com
                        company_name: Foo Store
                        street1: Workshop A, 10/F, Wah Shing Industrial Building
                        street2: 18 Cheung Shun Street, Lai Chi Kok
                        city: Lai Chi Kok
                        type: business
                        postal_code: null
                        state: null
                        street3: null
                        tax_id: null
                      settings:
                        preferred_currency: USD
                        electronic_trade_documents_enabled: true
                        commercial_invoice_letterhead: '********'
                        commercial_invoice_signature: '********'
      description: "This endpoint allows you to update a legacy FedEx or FedEx Ground® Economy shipper account via API. You can integrate our API with your system and manage the shipper account according to your needs. \n\nOnce the update is completed, the account credentials and address information will be locked and cannot be modified. Please ensure that your account credentials, invoice details, and address are correct before initiating the update."
      parameters:
      - schema:
          type: string
          default: application/json
          example: application/json
        in: header
        name: Content-Type
        description: Content-Type
        required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              x-examples:
                example-1:
                  credentials:
                    account_number: '******'
                  invoice:
                    number: '234562278'
                    currency: USD
                    date: '2026-02-24'
                    amount: 234
                  settings:
                    preferred_currency: USD
                    electronic_trade_documents_enabled: true
                    commercial_invoice_letterhead: '********'
                    commercial_invoice_signature: '********'
                  address:
                    street1: Workshop A, 10/F, Wah Shing Industrial Building
                    country: HKG
                    contact_name: Sir Foo
                    phone: '11111111'
                    email: foo@foo.com
                    company_name: Foo Store
                    street2: 18 Cheung Shun Street, Lai Chi Kok
                    city: Lai Chi Kok
                    state: null
                    postal_code: null
                    type: business
                    tax_id: null
              required:
              - invoice
              properties:
                invoice:
                  type: object
                  required:
                  - number
                  - currency
                  - date
                  - amount
                  properties:
                    number:
                      type: string
                      description: Unique invoice identifier or reference number.
                    currency:
                      type: string
                      description: ISO currency code for the invoice amount (e.g. USD).
                    date:
                      type: string
                      description: Invoice date in YYYY-MM-DD format.
                    amount:
                      type: number
                      description: 'Total amount on the commercial invoice. '
                credentials:
                  type: object
                  required:
                  - account_number
                  properties:
                    account_number:
                      type: string
                    hub_id:
                      type: string
                      description: Required for FedEx Ground® Economy.
                address:
                  type: object
                  additionalProperties: false
                  description: 'Address object: the description of address information'
                  required:
                  - street1
                  - country
                  - contact_name
                  properties:
                    street1:
                      type: string
                      description: address_line1 of address
                    country:
                      type: string
                      description: Country in ISO 3166-1 alpha 3 code
                    contact_name:
                      type: string
                      description: contact_name of address
                    phone:
                      type: string
                      description: contact_phone of address
                    email:
                      type:
                      - string
                      - 'null'
                      description: email of address
                    company_name:
                      type:
                      - string
                      - 'null'
                      description: company_name of address
                    street2:
                      type:
                      - string
                      - 'null'
                      description: address_line2 of address
                    city:
                      type:
                      - string
                      - 'null'
                      description: city of address
                    state:
                      type:
                      - string
                      - 'null'
                      description: state of address
                    postal_code:
                      type:
                      - string
                      - 'null'
                      description: postal_code of address
                    type:
                      description: type of address
                      type:
                      - string
                      - 'null'
                      enum:
                      - residential
                      - business
                    tax_id:
                      type:
                      - string
                      - 'null'
                      description: tax id
                settings:
                  type: object
                  description: 'Settings object: additional settings of the shipper account.'
                  properties:
                    preferred_currency:
                      type: string
                    electronic_trade_documents_enabled:
                      type: boolean
                      description: Set to true to enable FedEx Electronic Trade Documents (ETD), provide both commercial_invoice_letterhead and commercial_invoice_signature are required. Otherwise ETD is disabled and any provided image fields are ignored.
                    commercial_invoice_letterhead:
                      type: string
                      description: Letterhead image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 700 pixels wide by 50 pixels long. Only applies to FedEx currently.
                    commercial_invoice_signature:
                      type: string
                      description: Signature image to generate courier's electronic commercial invoice. Only Base64-encoded PNG images are supported, the max resolution is 240 pixels wide by 25 pixels long. Only applies to FedEx currently.
            examples:
              example-1:
                value:
                  credentials:
                    account_number: '******'
                  invoice:
                    number: '234562278'
                    currency: USD
                    date: '2026-02-24'
                    amount: 234
                  settings

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