Synchronizing Cart
This API synchronizes the given product configuration
API |
Signature |
---|---|
syncConfiguration |
webService static Boolean syncConfiguration(Id configId) |
Request Parameter |
|||
---|---|---|---|
Name |
Type |
Required? |
Description |
configId | ID |
Yes |
The id of the product configuration to synchronize. |
Response Parameter |
||
---|---|---|
Field |
Type |
Description |
isSuccess | Boolean |
Indicates whether the synchronization is successful or not. |
Code Sample
The sample enables you to synchronize the products (line items) added to the cart with the quote or proposal used to generate the cart.
/**
* Below method demonstrate to finalize the cart by passing the configuration request Id and execute.
*/
public void syncConfigurationAndSync (Id configId)
{
// finalize the cart
Apttus_QPConfig.QPConfigWebService. syncConfiguration(configId);
}