Standard Cart APIs

The standard cart APIs leverage standard Salesforce libraries, Scale Cache for optimized processing, and refactored pricing and validation methods to minimize the number of SOQL queries and DML operations. These enhancements improve the performance of the APIs. You can enable only the following standard cart APIs. The cart APIs will continue to work using Apex libraries. We recommend that you review the usage considerations before enabling the standard cart APIs.

API
Resource
Available Version
Get Cart Items/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}Winter'23
Get Cart Summary/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}?headerFieldSet={field_set_feature}&validate={true or false}Winter'23
Get List of Products/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/productsWinter'23
Add Items to Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/itemsWinter'23
Asset to Order/services/apexrest/{namespace}/v2/cartsWinter'23
Update Items in Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/itemsWinter'23
Replace Offers/services/apexrest/{namespace}/v2/cpq/carts/offermigration/replacementWinter'23
Run Pricing for Items to Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/priceWinter'23
Get Line Items by ID/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/items?id=<value>Spring'24
Checkout Items in Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/items/checkoutSpring'24
Create Cart/services/apexrest/{namespace}/v2/cartsSpring'24
Check Status of the Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/items/checkoutSpring'24
Remove Items from Cart/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/itemsSummer'24
Delete Applied Promotion Items/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/promotionsSummer'24
Delete Discount/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/discountsSummer'24
Multi-Edit Cart Line Items/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/itemsSummer'24

For required permission sets and licenses refer the following.

To work with CPQ configuration settings refer CPQ Configuration Settings Reference.