Retrieve the list of comments sorted by the recent ones on the top.
If you want to retrieve the list of comments for an entity, for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/comments
Input Parameters
optional, string filter
Sorts based on the specified attribute. Supported attributes : created_at
Supported sort-orders : asc, desc
Example → sort_by[asc] = "created_at"
This will sort the result based on the 'created_at' attribute in ascending(earliest first) order.
Filter Params
For operator usages, see the Pagination and Filtering section.
Returns
next_offset
optional, string, max chars=1000
This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.
Comment object
Resource object representing comment