Run Pricing for Items to Cart
Return the pricing information for each line item by invoking pricing rules. If line items are specified, they are priced. If line items are not specified, all of the items in the cart are priced.
If the value for pagesize
parameter is not provided, it defaults to 20. To fetch or price more than 20 items, specify pagesize
explicitly.
This API supports the guest user enhancements that Salesforce introduced with the Winter ‘21 release. To encrypt and decrypt data for guest users, use the UserSecurity
class with this API. See Guest User Technical Details.
For additional information, see UserSecurity Class and CPQ and Digital Commerce Changes for Guest Users.
Where items
specifies the associated line item IDs.
Communication (vlocity_cmt)
For API parameter names and descriptions, see Cart-Based API Swagger Reference.
Response Format | JSON |
---|---|
Resource URL | /services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/price |