Loop Returns · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Loop Returns - Returns Return Actions API

10 actions 10 updates phrasing extends openapi/loop-returns-return-actions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Loop Returns's API. It is a proposal applied on top of the contract, not a document Loop Returns publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/warehouse/return/{return_id}/process'].post
$.paths['/warehouse/return/{return_id}/remove'].post
$.paths['/warehouse/return/{return_id}/cancel'].post
$.paths['/warehouse/return/{return_id}/flag'].post
$.paths['/warehouse/return/{return_id}/close'].post
$.paths['/warehouse/return/{return_id}/notes'].get
$.paths['/warehouse/return/{return_id}/note'].post
$.paths['/order/link'].post
$.paths['/order/qr'].post

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 Loop Returns - Returns Return Actions API
  version: 1.0.0
extends: openapi/loop-returns-return-actions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/warehouse/return/{return_id}/process'].post
  update:
    x-apievangelist-phrasing:
      intent: Process a return
      effect: write
      questions:
      - How do I process a return so its outcomes like exchanges or gift cards are fulfilled?
      - What happens to a return after I process it?
      instructions:
      - text: Process return {return_id}.
        slots:
          return_id: path.return_id
      - text: Queue return {return_id} for processing.
        slots:
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/remove'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove line items from a return
      effect: write
      questions:
      - How do I remove a line item from a return and process it?
      - Can I remove only the items that were refunded or given store credit?
      instructions:
      - text: Remove line item {line_item_id} from return {return_id} and process it.
        slots:
          line_item_id: query.line_item_id
          return_id: path.return_id
      - text: Take {line_item_id} off return {return_id} and finish processing the return.
        slots:
          line_item_id: query.line_item_id
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a return
      effect: destructive
      questions:
      - How do I cancel a return so the customer can return the same items again?
      - Can I undo a return once it's been processed?
      instructions:
      - text: Cancel return {return_id}.
        slots:
          return_id: path.return_id
      - text: Undo return {return_id} so the customer can return the items again.
        slots:
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/flag'].post
  update:
    x-apievangelist-phrasing:
      intent: Flag a return for review
      effect: write
      questions:
      - How do I flag a return so it gets reviewed by a human?
      - What stops a flagged return from being processed automatically?
      instructions:
      - text: Flag return {return_id} for review.
        slots:
          return_id: path.return_id
      - text: Mark return {return_id} as needing human review.
        slots:
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/close'].post
  update:
    x-apievangelist-phrasing:
      intent: Close a return
      effect: destructive
      questions:
      - How do I close a return without fulfilling its exchanges or gift cards?
      - Can I close a return so the items can't be returned again?
      instructions:
      - text: Close return {return_id}.
        slots:
          return_id: path.return_id
      - text: Close return {return_id} without fulfilling its outcomes.
        slots:
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/notes'].get
  update:
    x-apievangelist-phrasing:
      intent: Get notes on a return
      effect: read
      questions:
      - What notes have been added to a specific return?
      - Can I read the notes on a return by its ID?
      instructions:
      - text: Get the notes on return {return_id}.
        slots:
          return_id: path.return_id
      - text: Show the notes for return {return_id}.
        slots:
          return_id: path.return_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/warehouse/return/{return_id}/note'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a note to a return
      effect: write
      questions:
      - How do I add a note to a return?
      - Can I leave a note on a return with a reason?
      instructions:
      - text: Add note {content} to return {return_id}.
        slots:
          content: requestBody.content
          return_id: path.return_id
      - text: Leave a note on return {return_id} saying {content}.
        slots:
          return_id: path.return_id
          content: requestBody.content
      method: generated
      generated: '2026-11-18'
- target: $.paths['/order/link'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a return link for a customer
      effect: write
      questions:
      - How do I generate a link a customer can use to start a return?
      - Can the return link be tied to an email, phone or ZIP code?
      instructions:
      - text: Create a return link for {name} at {zip}.
        slots:
          name: requestBody.name
          zip: requestBody.zip
      - text: Generate a return link for {name} using {zip} as the identifier.
        slots:
          name: requestBody.name
          zip: requestBody.zip
      method: generated
      generated: '2026-11-18'
- target: $.paths['/order/qr'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a return QR code link
      effect: write
      questions:
      - How do I generate a QR code that takes a customer straight to their order to start a return?
      - Can I choose the size of the return QR code?
      instructions:
      - text: Create a return QR code for {name} at {zip}.
        slots:
          name: requestBody.name
          zip: requestBody.zip
      - text: Generate a {size} QR code for {name} using {zip} as the identifier.
        slots:
          size: requestBody.size
          name: requestBody.name
          zip: requestBody.zip
      method: generated
      generated: '2026-11-18'

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/loop-returns-return-actions-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.