The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

CPQ APIs to Replace OmniCPQServiceWrapper

The OmniCPQServiceWrapper implementation is a class for OmniScripts that supports named methods used in guided selling.

As of the CME Spring '17 release, OmniCPQServiceWrapper is deprecated. Salesforce recommends using the Omnichannel CPQ REST APIs instead of OmniCPQServiceWrapper.

OmniCPQServiceWrapper Method NameCPQ API Method NameCPQ API Name
addProductspostCartsItemsAdd Items to Cart
createOpportunitycreateCartCreate Cart
createOrdercreateCartCreate Cart
createQuotecreateCartCreate Cart
deleteItemdeleteCartsItemsRemove Items from Cart
getProductsgetCartsProductsGet List of Products
submitOpportunitycheckoutCheckout Items in Cart
submitOrdercheckoutCheckout Items in Cart
submitQuotecheckoutCheckout Items in Cart
updateItemputCartsItemsUpdate Items in Cart