ChargebeeAPI

Comments

Comments are additional information that you can add to your resources. Comments can be added to provide context for any operation that was performed.

When you make an API call on any resource, for example, Subscriptions -> Change term end, you can add more context to that operation by calling the comments API as a follow up call.

Besides the user generated comments, Chargebee also generates "System" comments when a change for a resource happens at the backend. These comments are all read-only.

Sample CommentJSON

Comments attributes

id
required, string, max chars=40

Unique identifier for the comment.

entity_type
required, enumerated string

Type of the entity this comment generated for

Possible Enum Values
customer

Entity that represents a customer

subscription

Entity that represents a subscription of a customer

invoice

Invoice description

quote

Entity that represents a quote

credit_note

Credit note description

added_by
optional, string, max chars=100

The user who created the comment. If created via API, this contains the name given for the API key used.

notes
required, string, max chars=1000

Actual notes for the comment.

created_at
required, timestamp(UTC) in seconds

The time at which this comment was created

type
required, enumerated string, default=user

Type of comment this is.

Possible Enum Values
user

Comment generated by user either via API or Admin console.

system

Comment generated by Chargebee when any backend changes happen for an entity

entity_id
required, string, max chars=100

Unique identifier of the entity.

business_entity_id
optional, string, max chars=50

The unique identifier of the business entity associated with this comment.