VS Code で Infor CPQ API を実行
ION API で接続し、Workbench / Enterprise Quoting / Configurator を操作。秘密情報は VS Code に保存します。
macOS • Windows • Linux
CPQ DevKit™ for Infor helps you connect to an Infor ION API gateway and run CPQ Workbench, Enterprise Quoting (CPQEQ), and Enterprise Configurator operations from the Command Palette.
Quick Start
- Install the extension from the Visual Studio Marketplace
- Open a folder and run CPQ DevKit™ for Infor: Import .ionapi Credentials
- Select the
.ionapifile downloaded from Infor OS → API Gateway → Authorized Apps. The client secret stays in VS Code secret storage - Run Probe ION Gateway Token to confirm the connection
- Run List Infor CPQ API Operations and Run Infor CPQ Operation (Interactive)
How to use it
Connect
Import .ionapi Credentials (or Configure Infor ION API Connection) saves the gateway URL, token URL, tenant, and client id in .cpqdevkit/infor/infor-config.json. Secrets are not written to that file.
Use Probe ION Gateway Token any time you want to confirm the tenant can issue an OAuth token.
Supported grants:
- Client credentials —
ci+cs(machine-to-machine) - Resource owner password —
ci+csplus service accountsaak/sask
Catalogs
The bundled operations follow the three Infor developer-portal catalogs:
Your tenant's ION suite prefixes can differ. Drop the official swagger from ION API Gateway into the workspace and set icpq.specPath, or narrow the picker with icpq.activeCatalog.
Run API operations
- List Infor CPQ API Operations — browse available operations
- Show Infor CPQ Operation Details — inspect one operation
- Run Infor CPQ Operation (Interactive) — pick an operation and fill in parameters
- Create Infor CPQ Request Template — start a request JSON in the editor
- Run Infor CPQ Request (Active JSON) — run the request you have open
- Create Infor CPQ Request in Workspace — save a reusable
.infor-http.jsonfile (default folderinfor/requests) - Run Infor CPQ Request File — run a saved request file
Saved request files are safe to commit if they do not include secrets.
Commands
All commands are in the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) under CPQ DevKit™ for Infor.
Settings
Configure the extension under icpq.* in VS Code Settings.
Requirements
- VS Code 1.109 or later
- An Infor OS tenant with ION API Gateway
- An Authorized App
.ionapifile (or the equivalentiu/pu+ot/ci/csvalues)
Security & Privacy
- Client secrets and service-account secrets are stored in VS Code secret storage, not in
infor-config.json - Chat tools report the connection without secrets
- Keep secrets out of saved request files if you commit them
Support
License
See LICENSE.md for details.
Frequently Asked Questions
What is CPQ DevKit™ for Infor?
A VS Code extension for Infor CPQ: connect through ION API and run Workbench, Enterprise Quoting, and Enterprise Configurator operations from the editor.
How do I connect?
Download a .ionapi file from Infor OS API Gateway, then run Import .ionapi Credentials. Use Probe ION Gateway Token to confirm.
Which operating systems are supported?
macOS, Windows, and Linux.
Trademarks
Infor, ION, and related marks are trademarks of their respective owners. This extension is not affiliated with or endorsed by Infor.