This API synchronize shopping cart line items with order line items. Before you synchronize your cart add products using addMultiProducts(), add bundles using addBundle(). The API will generally be invoked when the user clicks the Place Order action from the cart.
Request Data Object - CPQStruct.SynchronizeCartRequestDO
Name
Type
Required?
Description
CartId
ID
Yes
The Id of the cart (Product Configuration) you want to synchronize.
API Response
Response Data Object - CPQStruct.SynchronizeCartResponseDO
Name
Type
Description
IsSuccess
Boolean
Indicates whether synchronizing the cart items was successful.
Code Sample
The following code sample enables you to synchronize cart items with an order. When the customer has finalized the cart, you can synchronize the products in the cart with the order used to generate the cart. Invoke this API after the user has finalized the cart.