Open Food Facts · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Open Food Facts open-prices REST Receipt Items API

6 actions 6 updates phrasing extends openapi/open-food-facts-receipt-items-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Open Food Facts's API. It is a proposal applied on top of the contract, not a document Open Food Facts publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/api/v1/receipt-items'].get
$.paths['/api/v1/receipt-items'].post
$.paths['/api/v1/receipt-items/{id}'].get
$.paths['/api/v1/receipt-items/{id}'].delete
$.paths['/api/v1/receipt-items/{id}'].patch

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 Open Food Facts open-prices REST Receipt Items API
  version: 1.0.0
extends: openapi/open-food-facts-receipt-items-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: 5
- target: $.paths['/api/v1/receipt-items'].get
  update:
    x-apievangelist-phrasing:
      intent: List receipt items
      effect: read
      questions:
      - Which items are on a receipt proof?
      - Can I list receipt items with a given status?
      instructions:
      - text: List receipt items with status {status}.
        slots:
          status: query.status
      - text: Show receipt items on proof {proof_id}.
        slots:
          proof_id: query.proof__owner
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/receipt-items'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an item to a receipt
      effect: write
      questions:
      - How do I add a product price to a receipt?
      - Can I set the order of an item on a receipt?
      instructions:
      - text: Add item {id} to receipt {proof_id} with price {price_id} at order {order}.
        slots:
          id: requestBody.id
          proof_id: requestBody.proof_id
          price_id: requestBody.price_id
          order: requestBody.order
      - text: Record receipt item {id} on proof {proof_id} priced at {price_id}, order {order}.
        slots:
          id: requestBody.id
          proof_id: requestBody.proof_id
          price_id: requestBody.price_id
          order: requestBody.order
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/receipt-items/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a receipt item
      effect: read
      questions:
      - What price and order does one receipt item have?
      - Can I fetch a single receipt item by id?
      instructions:
      - text: Get receipt item {id}.
        slots:
          id: path.id
      - text: Show the price and order of receipt item {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/receipt-items/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a receipt item
      effect: destructive
      questions:
      - How do I remove an item from a receipt?
      - Can I delete a receipt item by id?
      instructions:
      - text: Delete receipt item {id}.
        slots:
          id: path.id
      - text: Remove item {id} from its receipt.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/receipt-items/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a receipt item
      effect: write
      questions:
      - Can I change the price on a receipt item?
      - Is it possible to reorder items on a receipt?
      instructions:
      - text: Set receipt item {id} to price {price_id}.
        slots:
          id: path.id
          price_id: requestBody.price_id
      - text: Move receipt item {id} to order {order}.
        slots:
          id: path.id
          order: requestBody.order
      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/open-food-facts-receipt-items-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.