AfterShip Returns Page API

The Returns Page API from AfterShip — 1 operation(s) for returns page.

Operations 1

POST /returns/link Create Returns Page Deep Link #

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-returns-page-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-returns-page-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Overview Returns Page API
  version: 2026-07
  summary: API Overview
  description: '> OAS Schema can be downloaded [here](https://stoplight.io/api/v1/projects/automizely/docs-api-returnscenter-com-public/nodes/reference/api.json?branch=production/2026-07&deref=optimizedBundle)'
  contact:
    name: AfterShip Support
    url: https://www.aftership.com/contact-us
    email: support@aftership.com
  termsOfService: https://www.aftership.com/legal/terms-of-service
servers:
- url: https://api.aftership.com/returns/2026-07
  description: API Endpoint
security:
- as-api-key: []
tags:
- name: Returns Page
paths:
  /returns/link:
    parameters: []
    post:
      summary: Create Returns Page Deep Link
      tags:
      - Returns Page
      responses:
        '201':
          $ref: '#/components/responses/CreateReturnsPageDeepLink'
      operationId: post-create-return-deep-link
      x-stoplight:
        id: di9kogky6z3z5
      requestBody:
        $ref: '#/components/requestBodies/CreateReturnsPageDeepLink'
      description: 'This API is used to generate a deep link that redirects the user to a returns page with pre-filled information. It is suitable for scenarios where a return submission link needs to be constructed and sent to the shopper, allowing them to submit an RMA more conveniently without having to manually open the returns page and entering order details.

        '
components:
  responses:
    CreateReturnsPageDeepLink:
      description: ''
      content:
        application/json:
          schema:
            type: object
            properties:
              meta:
                $ref: '#/components/schemas/Meta_20100'
                x-stoplight:
                  id: 133gcrm601701
              data:
                type: object
                x-stoplight:
                  id: 4p5arwlo7blvx
                properties:
                  url:
                    type: string
                    x-stoplight:
                      id: 8f4dzmt7hgujj
          examples: {}
  requestBodies:
    CreateReturnsPageDeepLink:
      content:
        application/json:
          schema:
            type: object
            x-examples:
              Example 1:
                order_number: '1025'
                email: zy.liao@aftership.com
                postal_code: '07302'
            required:
            - order_number
            properties:
              order_number:
                type: string
              customer_email:
                type: string
                format: email
                x-stoplight:
                  id: v4zxoxphxd33g
              postal_code:
                type: string
  schemas:
    Meta_20100:
      x-stoplight:
        id: j2ma59pd3ad4u
      description: Meta data object.
      type: object
      x-examples: {}
      examples: []
      title: Meta
      x-tags:
      - Envelope
      required:
      - code
      - type
      - message
      properties:
        code:
          type: number
          default: 20100
          example: 20100
          x-stoplight:
            id: 4mulf0jqqaqdm
        type:
          type: string
          minLength: 1
          x-stoplight:
            id: emncqaq4949tf
          example: Created
        message:
          type: string
          minLength: 1
          x-stoplight:
            id: zr92gwd3jfayh
          example: The request has been fulfilled and a new resource has been created.
  securitySchemes:
    as-api-key:
      name: as-api-key
      type: apiKey
      in: header