Applying Constraint Rule to All Products Added to the Cart
You use this API to applying constraint rules to all products you added to the cart.
API |
Signature |
---|---|
applyConstraintRulesOnAddAll |
webService static Apttus_Config2.ConstraintWebService2.ConstraintResult2 applyConstraintRulesOnAddAll(Id cartId) |
Parameters |
||
---|---|---|
Name |
Type |
Description |
cartId | Id |
The Id of the cart you added products to. |
Response Parameter - Apttus_Config2.ConstraintWebService2.ConstraintResult2 |
||
---|---|---|
Field |
Type |
Description |
IsSuccess | Boolean |
Indicates whether the association was successful. |
Code Sample
The sample below enabled you to associate a constraint rule to all the line items in the given cart.