Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Notes

Table of Contents

Overview

As of Broadleaf 1.8.5-GA, CartNote is introduced to allow buyer and seller to communicate via notes during the quote negotiation flow.

The following is an example cart note payload for a sales rep’s internal note:

  {
    "id": "cart-note-id",
    "cartId": "cart-id",
    "cartItemId": "cart-item-id", // (1)
    "note": "My notes!",
    "replies": [],
    "authorType": "BLC_SALES_REP", // (2)
    "authorId": "authorId",
    "authorEmail": "author@email.com",
    "internalOnly": "Y", // (3)
    "dateCreated": "2022-09-26 18:11:42.729",
    "additionalData": "{}" // (4)
  }
  1. The id of the cart item, this field is only applicable for CartItem-level notes. Should be null for Cart-level notes

  2. The type of author, see DefaultUserTypes

  3. Whether this note is for internal view only. Internal notes are only visible to sales reps.

  4. A field for adding customized data

See Cart Services Data Model for more details on the CartNote domain