Visma · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Visma.net ERP Discount API
7 actions
7 updates
phrasing
extends
openapi/visma-discount-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Visma's API. It is a proposal applied on top of the contract, not a document Visma publishes.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/v1/discount'].get
$.paths['/v1/discount'].post
$.paths['/v1/discount/{discountCode}/{series}'].put
$.paths['/v1/discount/{discountCode}/{series}'].delete
$.paths['/v1/discount/{discountCode}/{series}/{filerDate}/action/updateDiscounts'].post
$.paths['/v1/discount/{discountCode}/{series}/action/updateDiscounts'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Visma.net ERP Discount API
version: 1.0.0
extends: openapi/visma-discount-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-27'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/v1/discount'].get
update:
x-apievangelist-phrasing:
intent: List price discounts
effect: read
questions:
- What discounts are set up in Visma for a given series?
- Can I find a discount by its code?
instructions:
- text: List discounts for series {series}.
slots:
series: query.series
- text: Find the discount with code {discountCode}.
slots:
discountCode: query.discountCode
method: generated
generated: '2026-11-27'
- target: $.paths['/v1/discount'].post
update:
x-apievangelist-phrasing:
intent: Create a price discount
effect: write
questions:
- How do I add a new discount to a series?
- Can a discount be promotional and prorated?
instructions:
- text: Create discount {discountCode} in series {series} described as {description}.
slots:
discountCode: requestBody.discountCode
series: requestBody.series
description: requestBody.description
- text: Add a new {discountBy} discount on {effectiveDate} that expires {expirationDate}.
slots:
discountBy: requestBody.discountBy
effectiveDate: requestBody.effectiveDate
expirationDate: requestBody.expirationDate
method: generated
generated: '2026-11-27'
- target: $.paths['/v1/discount/{discountCode}/{series}'].put
update:
x-apievangelist-phrasing:
intent: Update a discount
effect: write
questions:
- How do I change an existing discount's description?
- Can I deactivate a discount without deleting it?
instructions:
- text: Update discount {discountCode} in series {series} to {description}.
slots:
discountCode: path.discountCode
series: path.series
description: requestBody.description
- text: Set active to {active} for discount {discountCode} on series {series}.
slots:
active: requestBody.active
discountCode: path.discountCode
series: path.series
method: generated
generated: '2026-11-27'
- target: $.paths['/v1/discount/{discountCode}/{series}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a discount
effect: destructive
questions:
- How do I remove a discount from a series?
- Can I delete a promotional discount?
instructions:
- text: Delete discount {discountCode} from series {series}.
slots:
discountCode: path.discountCode
series: path.series
- text: Remove the {discountCode} discount on series {series}.
slots:
discountCode: path.discountCode
series: path.series
method: generated
generated: '2026-11-27'
- target: $.paths['/v1/discount/{discountCode}/{series}/{filerDate}/action/updateDiscounts'].post
update:
x-apievangelist-phrasing:
intent: Update discounts filtered by date
effect: write
questions:
- Can I change discounts that were effective before a certain date?
- What does the filter date do when updating discounts?
instructions:
- text: Update discounts {discountCode} on series {series} effective before {filterDate}.
slots:
discountCode: path.discountCode
series: path.series
filterDate: query.filterDate
- text: Change {discountCode} series {series} discounts effective on or before {filerDate}.
slots:
discountCode: path.discountCode
series: path.series
filerDate: path.filerDate
method: generated
generated: '2026-11-27'
- target: $.paths['/v1/discount/{discountCode}/{series}/action/updateDiscounts'].post
update:
x-apievangelist-phrasing:
intent: Update all discounts in a series
effect: write
questions:
- How do I change every discount in a series at once?
- Can I update all discounts for one series in one call?
instructions:
- text: Update all discounts in series {series} for discount code {discountCode}.
slots:
series: path.series
discountCode: path.discountCode
- text: Apply changes to every discount of code {discountCode} on series {series}.
slots:
discountCode: path.discountCode
series: path.series
method: generated
generated: '2026-11-27'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/visma-discount-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.