---
schema_version: "1"
id: e0136648fef234a15cb6650d1980c22b96c013dd3dd7bfa0934aa16de3f9e479
title: CPQ APIs to Replace OmniCPQServiceWrapper
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-cpq-apis-to-replace-omnicpqservicewrapper.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-cpq-apis-to-replace-omnicpqservicewrapper.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9cd8fb8196007e7b1648636e071a7a68424e36c0f605e3f43814988c25eb229a
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# CPQ APIs to Replace OmniCPQServiceWrapper

The OmniCPQServiceWrapper implementation is a class for OmniScripts that supports named methods used in guided selling.

**note:** As of the CME Spring '17 release, OmniCPQServiceWrapper is deprecated. Salesforce recommends using the Omnichannel CPQ REST APIs instead of OmniCPQServiceWrapper.

| OmniCPQServiceWrapper Method Name | CPQ API Method Name | CPQ API Name                                              |
| --------------------------------- | ------------------- | --------------------------------------------------------- |
| addProducts                       | postCartsItems      | [Add Items to Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-add-items-to-cart.md)           |
| createOpportunity                 | createCart          | [Create Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-create-cart.md)                       |
| createOrder                       | createCart          | [Create Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-create-cart.md)                       |
| createQuote                       | createCart          | [Create Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-create-cart.md)                       |
| deleteItem                        | deleteCartsItems    | [Remove Items from Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-remove-items-from-cart.md) |
| getProducts                       | getCartsProducts    | [Get List of Products](https://developer.salesforce.com/docs/industries/cme/guide/comms-get-list-of-products.md)     |
| submitOpportunity                 | checkout            | [Checkout Items in Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-checkout-items-in-cart.md) |
| submitOrder                       | checkout            | [Checkout Items in Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-checkout-items-in-cart.md) |
| submitQuote                       | checkout            | [Checkout Items in Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-checkout-items-in-cart.md) |
| updateItem                        | putCartsItems       | [Update Items in Cart](https://developer.salesforce.com/docs/industries/cme/guide/comms-update-items-in-cart.md)     |
