Execute the Administration Tasks
Before using the optimized cart-based APIs, run these administrations tasks in your org.
Navigate to Vlocity CMT Administration and run these jobs.
- From the App Launcher, find and select Vlocity CMT Administration.
- Maintenance job: Field Maps Maintenance. This job populates the mappings and pricing plan meta data.
- EPC job: Generate EPC Compile data. This job initializes the cache data.
If you're using attribute-based pricing, set it up as described in Set up Attribute-Based Pricing.
If you're using the Java implementation of attribute-based pricing:
- Generate its compile data by running this code in an anonymous window of the developer console:
- In Vlocity CMT Administration, run the Generate Compile Matrix Data EPC job.
- Activate the configuration snapshot by executing following in an anonymous window of the developer console:
- If you want to use a new matrix version, update the pricing plan step for attribute-based pricing with the ID of the new matrix version.
You can now use the standard cart APIs.