Shiprocket · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Shiprocket Return & Exchange Orders API

7 actions 7 updates phrasing extends openapi/shiprocket-return-exchange-orders-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Shiprocket's API. It is a proposal applied on top of the contract, not a document Shiprocket publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/external/courier/assign/awb'].post
$.paths['/v1/external/courier/serviceability'].get
$.paths['/v1/external/orders/create/return'].post
$.paths['/v1/external/orders/create/exchange'].post
$.paths['/v1/external/orders/edit'].post
$.paths['/v1/external/orders/processing/return'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Shiprocket Return & Exchange Orders API
  version: 1.0.0
extends: openapi/shiprocket-return-exchange-orders-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v1/external/courier/assign/awb'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign an AWB to a shipment
      effect: write
      questions:
      - How do I get an Air Waybill number for a shipment?
      - Can I reassign a shipment's courier AWB?
      instructions:
      - text: Assign AWB {shipment_id} to courier {courier_id}.
        slots:
          shipment_id: requestBody.shipment_id
          courier_id: requestBody.courier_id
      - text: Reassign AWB for shipment {shipment_id}.
        slots:
          shipment_id: requestBody.shipment_id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/external/courier/serviceability'].get
  update:
    x-apievangelist-phrasing:
      intent: Check courier serviceability between postcodes
      effect: read
      questions:
      - Which couriers can deliver from one postcode to another?
      - What are the rates and delivery estimates for a COD order?
      instructions:
      - text: Check courier serviceability from {pickup_postcode} to {delivery_postcode}.
        slots:
          pickup_postcode: query.pickup_postcode
          delivery_postcode: query.delivery_postcode
      - text: Check COD serviceability from {pickup_postcode} to {delivery_postcode} for a {weight} kg parcel.
        slots:
          pickup_postcode: query.pickup_postcode
          delivery_postcode: query.delivery_postcode
          weight: query.weight
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/external/orders/create/return'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a return order for a rejected order
      effect: write
      questions:
      - How do I open a return because the customer rejected a package?
      - Can I create a return order for an order I already shipped?
      instructions:
      - text: Create a return order for {order_id} with items {items}, paid by {payment_method}.
        slots:
          order_id: requestBody.order_id
          items: requestBody.order_items
          payment_method: requestBody.payment_method
      - text: Open a return for order {order_id} from {customer_name} at {address}, {city}, {state} {pincode}, {country}.
        slots:
          order_id: requestBody.order_id
          customer_name: requestBody.pickup_customer_name
          address: requestBody.pickup_address
          city: requestBody.pickup_city
          state: requestBody.pickup_state
          pincode: requestBody.pickup_pincode
          country: requestBody.pickup_country
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/external/orders/create/exchange'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an exchange order
      effect: write
      questions:
      - How do I create an exchange order when a customer gets the wrong item?
      - Can I link an exchange order to an existing return order?
      instructions:
      - text: Create exchange order {exchange_order_id} for return {return_order_id} at location {seller_shipping_location_id}.
        slots:
          exchange_order_id: requestBody.exchange_order_id
          return_order_id: requestBody.return_order_id
          seller_shipping_location_id: requestBody.seller_shipping_location_id
      - text: Create an exchange order for {buyer_pickup_address}, {buyer_pickup_city}, {buyer_pickup_pincode}.
        slots:
          buyer_pickup_address: requestBody.buyer_pickup_address
          buyer_pickup_city: requestBody.buyer_pickup_city
          buyer_pickup_pincode: requestBody.buyer_pickup_pincode
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/external/orders/edit'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a return order
      effect: write
      questions:
      - How do I change the dimensions of a return order?
      - Can I move a return order to a different warehouse?
      instructions:
      - text: Change the dimensions of return order {order_id} to {length} x {breadth} x {height}.
        slots:
          order_id: requestBody.order_id
          length: requestBody.length
          breadth: requestBody.breadth
          height: requestBody.height
      - text: Move return order {order_id} to warehouse {return_warehouse_id}.
        slots:
          order_id: requestBody.order_id
          return_warehouse_id: requestBody.return_warehouse_id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/external/orders/processing/return'].get
  update:
    x-apievangelist-phrasing:
      intent: List return orders
      effect: read
      questions:
      - Which return orders have been created in my account?
      - Can I list return orders created within a date range?
      instructions:
      - text: List all return orders.
      - text: List return orders created between {from} and {to}.
        slots:
          from: query.from
          to: query.to
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/shiprocket-return-exchange-orders-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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