Execute the Administration Tasks

Before using the optimized cart-based APIs, run these administrations tasks in your org.

  1. Navigate to Vlocity CMT Administration and run these jobs.

    1. From the App Launcher, find and select Vlocity CMT Administration.
    2. Maintenance job: Field Maps Maintenance. This job populates the mappings and pricing plan meta data.
    3. EPC job: Generate EPC Compile data. This job initializes the cache data.
  2. If you're using attribute-based pricing, set it up as described in Set up Attribute-Based Pricing.

  3. If you're using the Java implementation of attribute-based pricing:

    1. Generate its compile data by running this code in an anonymous window of the developer console:
    1. In Vlocity CMT Administration, run the Generate Compile Matrix Data EPC job.
    2. Activate the configuration snapshot by executing following in an anonymous window of the developer console:
    1. 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.