Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Get Line Items by ID

Return the items and configurable attributes based on item IDs.

Communication (vlocity_cmt)

For API parameter names and descriptions, see Cart-Based API Swagger Reference.

Response FormatJSON
Resource URL/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/items?id=80236000000Z0QNAA0,01t36000000pfcKAAQ&validate=true
  • An entire result can be thousands of lines long. This example has been truncated.
  • If a child line item Id is passed in the input request, then the whole bundle is returned in the response.

To validate or price a bundle, pass the rootItemId instead of the itemId.