Xentral · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Xentral Business Documents API v3 Offer API

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

What the actions change

x-apievangelist-phrasing

Targets 19 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v3/offers'].get
$.paths['/api/v3/offers'].post
$.paths['/api/v3/offers/{id}'].get
$.paths['/api/v3/offers/{id}'].delete
$.paths['/api/v3/offers/{id}'].patch
$.paths['/api/v3/offers/{id}/actions/cancel'].patch
$.paths['/api/v3/offers/{id}/actions/logActivity'].patch
$.paths['/api/v3/offers/{id}/actions/release'].patch
$.paths['/api/v3/offers/{id}/actions/removeWriteProtection'].patch
$.paths['/api/v3/offers/{id}/actions/send'].patch
$.paths['/api/v3/offers/{id}/actions/setWriteProtection'].patch
$.paths['/api/v3/offers/{id}/files'].post
$.paths['/api/v3/offers/{id}/files/{fileId}'].delete
$.paths['/api/v3/offers/{id}/files/{fileId}'].patch
$.paths['/api/v3/offers/{id}/lineItems'].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 Xentral Business Documents API v3 Offer API
  version: 1.0.0
extends: openapi/xentral-offer-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 18
- target: $.paths['/api/v3/offers'].get
  update:
    x-apievangelist-phrasing:
      intent: List offers
      effect: read
      questions:
      - Which offers have I created?
      - Can I filter offers by customer or validity date?
      instructions:
      - text: List my offers.
      - text: Show offers matching {filter}.
        slots:
          filter: query.filter
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an offer
      effect: write
      questions:
      - How do I create a new offer for a customer?
      - Can I set an expiry date on an offer?
      instructions:
      - text: Create an offer for {address} with line items {lineItems}.
        slots:
          address: requestBody.address
          lineItems: requestBody.lineItems
      - text: Create an offer for {address} valid until {validUntilDate}.
        slots:
          address: requestBody.address
          validUntilDate: requestBody.validUntilDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: View an offer
      effect: read
      questions:
      - What are the details of a specific offer?
      - Can I view an offer with its line items included?
      instructions:
      - text: Show offer {id}.
        slots:
          id: path.id
      - text: Get offer {id} including {include}.
        slots:
          id: path.id
          include: query.include
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a draft offer
      effect: destructive
      questions:
      - Can I delete an offer that hasn't been sent yet?
      - Is it possible to remove a draft offer?
      instructions:
      - text: Delete offer {id}.
        slots:
          id: path.id
      - text: Remove draft offer {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a sales offer
      effect: write
      questions:
      - How do I change the validity date of an offer?
      - Can I override the shipping address on an offer?
      instructions:
      - text: Set the offer's validity date to {validUntilDate}.
        slots:
          validUntilDate: requestBody.validUntilDate
      - text: Mark offer {id} as valid until {validUntilDate} and add customer reference {customerReference}.
        slots:
          id: path.id
          validUntilDate: requestBody.validUntilDate
          customerReference: requestBody.customerReference
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/cancel'].patch
  update:
    x-apievangelist-phrasing:
      intent: Cancel an offer
      effect: destructive
      questions:
      - How do I cancel an offer that was sent by mistake?
      - Can I cancel an offer that is still in draft?
      instructions:
      - text: Cancel offer {id}.
        slots:
          id: path.id
      - text: Withdraw sent offer {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/logActivity'].patch
  update:
    x-apievangelist-phrasing:
      intent: Log an activity on an offer
      effect: write
      questions:
      - Can I record a note against an offer?
      - How do I log a custom activity on an offer?
      instructions:
      - text: Log activity {message} on offer {id}.
        slots:
          message: requestBody.message
          id: path.id
      - text: Record note {message} against offer {id}.
        slots:
          message: requestBody.message
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/release'].patch
  update:
    x-apievangelist-phrasing:
      intent: Release an offer
      effect: write
      questions:
      - How do I release an offer so it can be sent?
      - Can I set the document date when releasing an offer?
      instructions:
      - text: Release offer {id}.
        slots:
          id: path.id
      - text: Release offer {id} dated {documentDate}.
        slots:
          id: path.id
          documentDate: requestBody.documentDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/removeWriteProtection'].patch
  update:
    x-apievangelist-phrasing:
      intent: Remove write protection from an offer
      effect: write
      questions:
      - How do I unlock an offer so I can edit it?
      - Can I remove write protection from an offer?
      instructions:
      - text: Remove write protection from offer {id}.
        slots:
          id: path.id
      - text: Unlock offer {id} so it can be edited.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/send'].patch
  update:
    x-apievangelist-phrasing:
      intent: Send an offer
      effect: write
      questions:
      - How do I email an offer to a customer?
      - Can I print an offer instead of sending it?
      instructions:
      - text: Send offer {id} by email {email}.
        slots:
          id: path.id
          email: requestBody.email
      - text: Print offer {id} on printer {printer}.
        slots:
          id: path.id
          printer: requestBody.printer
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/actions/setWriteProtection'].patch
  update:
    x-apievangelist-phrasing:
      intent: Set write protection on an offer
      effect: write
      questions:
      - How do I lock an offer so no one can edit it?
      - Can I protect an offer from further changes?
      instructions:
      - text: Set write protection on offer {id}.
        slots:
          id: path.id
      - text: Lock offer {id} against editing.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/files'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to an offer
      effect: write
      questions:
      - How do I attach a document to an offer?
      - Can I add a file to an offer with a keyword?
      instructions:
      - text: Attach {fileName} to offer {id} as {keyword}.
        slots:
          fileName: requestBody.fileName
          id: path.id
          keyword: requestBody.keyword
      - text: Add file {fileName} titled {title} to offer {id} with keyword {keyword}.
        slots:
          fileName: requestBody.fileName
          title: requestBody.title
          id: path.id
          keyword: requestBody.keyword
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/files/{fileId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a file from an offer
      effect: destructive
      questions:
      - How do I remove an attachment from an offer?
      - Can I delete a file attached to an offer?
      instructions:
      - text: Delete file {fileId} from offer {id}.
        slots:
          fileId: path.fileId
          id: path.id
      - text: Remove attachment {fileId} on offer {id}.
        slots:
          fileId: path.fileId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/files/{fileId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an offer file
      effect: write
      questions:
      - Can I rename or re-sort a file on an offer?
      - How do I change the keyword of an offer attachment?
      instructions:
      - text: Rename file {fileId} on offer {id} to {title}.
        slots:
          fileId: path.fileId
          id: path.id
          title: requestBody.title
      - text: Set keyword {keyword} on file {fileId} of offer {id}.
        slots:
          keyword: requestBody.keyword
          fileId: path.fileId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/lineItems'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a line item to an offer
      effect: write
      questions:
      - How do I add a product to an offer?
      - Can I set a delivery date and discount on an offer line item?
      instructions:
      - text: Add {quantity} of {product} to offer {id}.
        slots:
          quantity: requestBody.quantity
          product: requestBody.product
          id: path.id
      - text: Add line item {name} for {quantity} {product} to offer {id} with discount {discount}.
        slots:
          name: requestBody.name
          quantity: requestBody.quantity
          product: requestBody.product
          id: path.id
          discount: requestBody.discount
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/lineItems/{lineItemId}'].get
  update:
    x-apievangelist-phrasing:
      intent: View an offer line item
      effect: read
      questions:
      - What quantity and price are on a specific offer line item?
      - Can I see one line item of an offer?
      instructions:
      - text: Show line item {lineItemId} of offer {id}.
        slots:
          lineItemId: path.lineItemId
          id: path.id
      - text: Get offer {id} line item {lineItemId} including {include}.
        slots:
          id: path.id
          lineItemId: path.lineItemId
          include: query.include
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/lineItems/{lineItemId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an offer line item
      effect: destructive
      questions:
      - How do I remove a line item from an offer?
      - Can I delete a single product line on an offer?
      instructions:
      - text: Delete line item {lineItemId} from offer {id}.
        slots:
          lineItemId: path.lineItemId
          id: path.id
      - text: Remove product line {lineItemId} on offer {id}.
        slots:
          lineItemId: path.lineItemId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v3/offers/{id}/lineItems/{lineItemId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an offer line item
      effect: write
      questions:
      - How do I change the quantity on an offer line item?
      - Can I edit the price or discount on a line item?
      instructions:
      - text: Change the quantity of line item {lineItemId} on offer {id} to {quantity}.
        slots:
          lineItemId: path.lineItemId
          id: path.id
          quantity: requestBody.quantity
      - text: Update line item {lineItemId} on offer {id} with price {price}.
        slots:
          lineItemId: path.lineItemId
          id: path.id
          price: requestBody.price
      method: generated
      generated: '2026-11-20'

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/xentral-offer-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.