Removing Multiple Bundles from a Cart
This removes one or more products (with default options) or bundles from the cart along with quantity, term, start date, and end date.
API |
Signature |
---|---|
removeMultiBundles |
webService static Apttus_CPQApi.CPQ.RemoveMultiBundlesResponseDO removeMultiBundles(Apttus_CPQApi.CPQ.RemoveMultiBundlesRequestDO request) |
Parameters |
||
---|---|---|
Name |
Type |
Description |
request | Apttus_CPQApi.CPQ.RemoveMultiBundlesRequestDO |
The request data object. |
Request Data Object - Apttus_CPQApi.CPQ.RemoveMultiBundlesRequestDO |
||
---|---|---|
Field |
Type |
Description |
CartId | ID |
The Id of the cart. |
LineNumber | List<Decimal> |
The List of LineNumbers that need to be removed from the cart. |
Response Data Object - Apttus_CPQApi.CPQ.RemoveMultiBundlesResponseDO |
||
---|---|---|
Field |
Type |
Description |
IsSuccess | Boolean |
Indicates the success of the operation. |
Code Sample
Use the sample below to remove one or more products of the cart. When the user selects multiple products on the cart and clicks Delete or Remove, invoke this API. The multiple products are deleted from the cart. Based on the line number and the cartID the selected assets are removed from the cart. Update the new line items using the getLineItems function.
Integration Details
Use the following information in your integrations with CPQ Web Services API. Refer to Integrating Conga with External Systems for information on how to get started.