Epicor CPQのSNAPとAPIをVS Codeで
SNAPコードをワークスペースへプルし、OpenAPI操作を実行し、テナント認証はVS CodeのSecret Storageに保持します。
macOS • Windows • Linux
CPQ DevKit™ for Epicor helps you connect to an Epicor CPQ (KBMax) tenant, pull SNAP code into your workspace, and run API operations from the Command Palette.
Quick Start
- Install the extension from the VS Code Marketplace
- Open a folder and run CPQ DevKit™ for Epicor: Configure Epicor CPQ Connection
- Enter the tenant URL and choose session (email/password) or Basic auth. The password stays in VS Code secret storage
- Run Show Tenant API Version to confirm the connection
- Run Pull SNAP Code into Workspace to download products, functions, actions, workflows, and rules as editable files
What's New in 2.7.1
- New Marketplace icon: the CPQ DevKit™ wordmark on the Epicor color plate
- Ask
@cpq-epicorin chat, or use#epicorEnv, to see the connection - Install Chat Skills adds guidance for tenant checks and SNAP work
- Requires VS Code 1.109 or later
See full release notes in the changelog.
How to use it
Connect
Configure Epicor CPQ Connection saves the tenant URL and auth mode in .cpqdevkit/epicor/epicor-config.json. The password is not written to that file.
Use Show Tenant API Version any time you want to confirm the tenant is reachable.
Pull SNAP code
Pull SNAP Code into Workspace downloads:
- products
- safe and global functions
- custom actions
- workflows and the workflow selector
- product rules
Files land under epicor/snap-code (configurable):
raw/— the full records from the tenantextracted/— rule JavaScript, block serializations, and decoded JSON you can edit
Later pulls can skip unchanged records. A full pull is still available when you want everything again.
Run API operations
You do not need to know the API by heart.
- List Epicor CPQ API Operations — browse available operations
- Show Epicor CPQ Operation Details — inspect one operation
- Run Epicor CPQ Operation (Interactive) — pick an operation and fill in parameters
- Create Epicor CPQ Request Template — start a request JSON in the editor
- Run Epicor CPQ Request (Active JSON) — run the request you have open
- Create Epicor CPQ Request in Workspace — save a reusable
.epicor-http.jsonfile (default folderepicor/requests) - Run Epicor 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 Epicor.
Settings
Configure the extension under ecpq.* in VS Code Settings.
Requirements
- VS Code 1.109 or later
- An Epicor CPQ (KBMax) tenant URL
- A user that can sign in with session auth or Basic auth
Security & Privacy
- Passwords are stored in VS Code secret storage, not in
epicor-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 Epicor?
A VS Code extension for Epicor CPQ: connect to a tenant, pull SNAP code, and run API operations from the editor.
How do I connect?
Run Configure Epicor CPQ Connection and choose session or Basic auth. Then use Show Tenant API Version to confirm.
Where does SNAP code go?
Under epicor/snap-code by default. Change ecpq.snapCodeDir if you want a different folder.
Which operating systems are supported?
macOS, Windows, and Linux.
Trademarks
Epicor and KBMax are trademarks of their respective owners. This extension is not affiliated with or endorsed by Epicor.