Toast · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Configuration Pre Modifiers API

3 actions 3 updates phrasing extends openapi/toast-pre-modifiers-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['/preModifiers/{guid}'].get
$.paths['/preModifiers'].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 Pre Modifiers API
  version: 1.0.0
extends: openapi/toast-pre-modifiers-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['/preModifiers/{guid}'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up one pre-modifier
      effect: read
      questions:
      - How do I see one pre-modifier, like extra or light?
      - What details are stored on a single pre-modifier?
      instructions:
      - text: Get pre-modifier {guid} for restaurant {restaurant}.
        slots:
          guid: path.guid
          restaurant: header.Toast-Restaurant-External-ID
      - text: Show me pre-modifier {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-10-01'
- target: $.paths['/preModifiers'].get
  update:
    x-apievangelist-phrasing:
      intent: List a restaurant's pre-modifiers
      effect: read
      questions:
      - Which pre-modifiers are configured at a restaurant?
      - Can I list only pre-modifiers changed since a date?
      instructions:
      - text: List pre-modifiers for restaurant {restaurant}.
        slots:
          restaurant: header.Toast-Restaurant-External-ID
      - text: List pre-modifiers at {restaurant} modified since {since}.
        slots:
          restaurant: header.Toast-Restaurant-External-ID
          since: query.lastModified
      method: generated
      generated: '2026-10-01'