Toast · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Configuration No Sale Reasons API

3 actions 3 updates phrasing extends openapi/toast-no-sale-reasons-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Toast's API. It is a proposal applied on top of the contract, not a document Toast publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/noSaleReasons/{guid}'].get
$.paths['/noSaleReasons'].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 Configuration No Sale Reasons API
  version: 1.0.0
extends: openapi/toast-no-sale-reasons-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/noSaleReasons/{guid}'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up one no sale reason
      effect: read
      questions:
      - How do I see why a cash drawer may be opened without a sale for one reason code?
      - What details does a single no sale reason have?
      instructions:
      - text: Get no sale reason {guid} for restaurant {restaurant}.
        slots:
          guid: path.guid
          restaurant: header.Toast-Restaurant-External-ID
      - text: Show me the no sale reason {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-10-01'
- target: $.paths['/noSaleReasons'].get
  update:
    x-apievangelist-phrasing:
      intent: List a restaurant's no sale reasons
      effect: read
      questions:
      - Which no sale reasons are configured at a restaurant?
      - Can I list only no sale reasons changed since a date?
      instructions:
      - text: List no sale reasons for restaurant {restaurant}.
        slots:
          restaurant: header.Toast-Restaurant-External-ID
      - text: List no sale reasons at {restaurant} modified since {since}.
        slots:
          restaurant: header.Toast-Restaurant-External-ID
          since: query.lastModified
      method: generated
      generated: '2026-10-01'