Removing a Bundle from a Cart
This removes a product bundle and related line items and options from the cart.
API | Signature |
---|---|
removeBundle | webService static Apttus_CPQApi.CPQ.RemoveBundleResponseDO removeBundle(Apttus_CPQApi.CPQ.RemoveBundleRequestDO request) |
Parameters | ||
---|---|---|
Name | Type | Description |
request | Apttus_CPQApi.CPQ.RemoveBundleRequestDO | The request data object. |
Request Data Object - Apttus_CPQApi.CPQ.RemoveBundleRequestDO | ||
---|---|---|
Field | Type | Description |
CartId | ID | The Id of the cart. |
LineNumber | Decimal | The bundle line number. |
Response Data Object - Apttus_CPQApi.CPQ.RemoveBundleResponseDO | ||
---|---|---|
Field | Type | Description |
IsSuccess | Boolean | Indicates the success of the operation. |
Code Sample
The sample below enables you remove a selected bundle from the cart using the line number and a cart id. Invoke the API, when the user selects a bundle from the cart and click Remove or Delete. Based on the line number and the cartID the asset is 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.
API Prerequisites
Response/Request XML
Example Request
Example Response