The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

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.