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.CartMessage

Cart message.
Property Name Type Description Available Version
message String Cart message. 49.0
messageId String ID of the object supplying the message. 49.0
relatedEntityId String ID of the entity, for example, cart, cart item, or cart tax, associated with the message. 49.0
severity ConnectApi.​CartMessageSeverity Severity of cart message. Values are:
  • Error
  • Info
  • Warning
49.0
type String Type of message. Standard values include Inventory, Taxes, Pricing, Shipping, Entitlement, SystemError, and Other. 49.0
visible Boolean Specifies whether the message is visible (true) or dismissed (false). 49.0