Create and Migrate Packages via CLI

The Oracle CPQ Developer Toolkit allows administrators and developers to manage CPQ technical artifacts. The Developer Toolkit is a combination of Command Line Interface (CLI) and open REST APIs that allow customers to communicate with their CPQ sites. The Developer Toolkit is enabled to be used with Commerce and Util BML Libraries. This client-side tool can change the way administrators work with BML code. Refer to Oracle CPQ Developer Toolkit for detailed information.

Beginning in Oracle CPQ 24D, the Developer Toolkit CLI can also be used to create, list, download, and migrate packages. Customers may want to automate their tasks using the Developer Toolkit commands. This can reduce the amount of time spent performing migration tasks via the Oracle CPQ User Interface. The CPQ Developer Toolkit CLI supports the following CLI commands and migration activities.

CPQ Toolkit Site (cpq-toolkit site)

  • Register the site and configure OAuth properties with the given name and host.
  • Override the existing site property file with given host and name. Register a new site if the site with the given name doesn't exist.
  • Deregister the site and remove the OAuth properties file for the given site.
  • List all the registered sites.

CPQ Toolkit Package (cpq-toolkit package)

  • Create a package with the given name and payload definition on a given site.
  • Download the package with the given identifier as a zip file.
  • List all the packages on a given site.

CPQ Toolkit Migration (cpq-toolkit migration)

  • Migrate a package with a given identifier on a source site to the target site.
  • Migrate a specified package to target site.
  • Migrate the given resources specified in a file on a source site to the target site.

Steps to Enable

Refer to the Oracle CPQ Administration Online Help once this feature is generally available in Oracle CPQ Update 24D.