Otter · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Public Delivery Endpoints API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/delivery/{deliveryReferenceId}/status'].put
$.paths['/v1/delivery/{deliveryReferenceId}/quotes'].post
$.paths['/v1/delivery/{deliveryReferenceId}/accept'].post
$.paths['/v1/delivery/{deliveryReferenceId}/cancel'].post
$.paths['/v1/delivery/callback/error'].post
$.paths['/v1/delivery/{deliveryReferenceId}/update'].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 Public Delivery Endpoints API
  version: 1.0.0
extends: openapi/otter-delivery-endpoints-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: 6
- target: $.paths['/v1/delivery/{deliveryReferenceId}/status'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a delivery's status and details
      effect: write
      questions:
      - How do I update the status of a delivery and set its estimated pickup and delivery times?
      - Can I record the courier and location when updating a delivery's status?
      instructions:
      - text: Set the status of delivery {deliveryReferenceId} to {deliveryStatus}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          deliveryStatus: requestBody.deliveryStatus
      - text: Update delivery {deliveryReferenceId} with estimated pickup {estimatedPickupTime} and delivery {estimatedDeliveryTime}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          estimatedPickupTime: requestBody.estimatedPickupTime
          estimatedDeliveryTime: requestBody.estimatedDeliveryTime
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1/delivery/{deliveryReferenceId}/quotes'].post
  update:
    x-apievangelist-phrasing:
      intent: Report a delivery quote result
      effect: write
      questions:
      - How do I send a delivery quote back to Otter after a store requests one?
      - Can I include the minimum and maximum pickup durations in a delivery quote?
      instructions:
      - text: Report a delivery quote for {deliveryReferenceId} from store {store} with cost {cost}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          store: header.X-Store-Id
          cost: requestBody.cost
      - text: Send the delivery quote for {deliveryReferenceId} with a minimum pickup duration of {minPickupDuration} minutes.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          minPickupDuration: requestBody.minPickupDuration
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1/delivery/{deliveryReferenceId}/accept'].post
  update:
    x-apievangelist-phrasing:
      intent: Notify that a delivery was accepted
      effect: write
      questions:
      - How do I confirm a delivery was accepted by the courier?
      - Can I record the estimated delivery and pickup times when accepting a delivery?
      instructions:
      - text: Accept delivery {deliveryReferenceId} for store {store}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          store: header.X-Store-Id
      - text: Confirm delivery {deliveryReferenceId} was accepted with estimated pickup {estimatedPickupTime} and delivery {estimatedDeliveryTime}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          estimatedPickupTime: requestBody.estimatedPickupTime
          estimatedDeliveryTime: requestBody.estimatedDeliveryTime
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1/delivery/{deliveryReferenceId}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Notify that a delivery was canceled
      effect: destructive
      questions:
      - How do I tell Otter a delivery was canceled?
      - Can I record the time a delivery was canceled?
      instructions:
      - text: Cancel delivery {deliveryReferenceId} for store {store}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          store: header.X-Store-Id
      - text: Mark delivery {deliveryReferenceId} as canceled at {canceledAt}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          canceledAt: requestBody.canceledAt
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1/delivery/callback/error'].post
  update:
    x-apievangelist-phrasing:
      intent: Publish a delivery callback error
      effect: write
      questions:
      - How do I report an error that happened while processing a delivery webhook?
      - What gRPC error code should I use when a delivery callback fails?
      instructions:
      - text: Publish a delivery callback error {errorCode} for store {store}.
        slots:
          errorCode: requestBody.errorCode
          store: header.X-Store-Id
      - text: Report a delivery webhook error {errorCode} with message {errorMessage}.
        slots:
          errorCode: requestBody.errorCode
          errorMessage: requestBody.errorMessage
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1/delivery/{deliveryReferenceId}/update'].post
  update:
    x-apievangelist-phrasing:
      intent: Notify a change to a delivery request
      effect: write
      questions:
      - How do I send an update to a delivery request after it was placed?
      - Can I change the cost of a delivery request after it's accepted?
      instructions:
      - text: Update delivery request {deliveryReferenceId} for store {store}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          store: header.X-Store-Id
      - text: Change the cost of delivery request {deliveryReferenceId} to {cost}.
        slots:
          deliveryReferenceId: path.deliveryReferenceId
          cost: requestBody.cost
      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/otter-delivery-endpoints-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.