Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.CartMessagesSummary

Cart messages summary.
Property Name Type Description Available Version
errorCount Integer In ConnectApi.CartItemResult, the count of messages with the Error severity level. 49.0
hasErrors Boolean Specifies whether there are messages related to the entity (true) or not (false). 49.0
limitedMessages List<ConnectApi.​CartMessage> In ConnectApi.CartItemResult, a limited list of messages related to the cart item. In ConnectApi.CartSummary, each message can be related to the cart or to another cart-related entity. 49.0
relatedEntityId String In ConnectApi.CartItemResult, the ID of the related cart item. In ConnectApi.CartSummary, each message can be related to the cart or to another cart-related entity. 49.0
totalLineItems​WithErrors Integer In ConnectApi.CartItemResult, either null if the cart item has no errors or 1 if the cart item has errors. In ConnectApi.CartSummary, the total number of product line items that contain errors. 50.0