You can preconfigure the price parameter and a validation flag in the getCarts API call
settings within the attribute update flow, and thus bypass pricing and validations when necessary.
This configuration gives you precise control to tailor the API's behavior to your workflow
requirements.
Required Editions
This feature is part of the Communications Cloud managed package.
"/>
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer
Editions |
Standard user permissions that grant the ability to access the Enterprise Sales App and manage
quotes are required.
-
In the App Launcher, find and select Vlocity Cards.
-
In the Layouts and Cards section, click b2bSampleAppCard.
-
Click Clone to create a copy of the card.
-
Locate and expand the b2bOfferConfig session variable to access its configuration.
-
Find the
APIConfig node and add this getCarts API configuration to the node.
"getCarts": {
"type": "ApexRemote",
"remoteClass": "CpqAppHandler",
"params": {
"methodName": "getCarts",
"cartId": "0Q0Hs0000031SzgKAE",
"price": true/false,
"validate": true/false,
}
}
-
Save your changes, and then click Activate to make this version of
the card active.