curl --request POST \
--url https://app.supercycle.com/api/v1/timeline_comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"timelineEvent": {
"eventableId": 123,
"eventableType": "Item",
"message": "<string>"
}
}
'{
"id": 123,
"eventableId": 123,
"eventableType": "<string>",
"eventType": "comment",
"message": "<string>"
}Creates a new comment associated with a timeline event for a specific resource in a shop. The resource must belong to the authenticated shop.
curl --request POST \
--url https://app.supercycle.com/api/v1/timeline_comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"timelineEvent": {
"eventableId": 123,
"eventableType": "Item",
"message": "<string>"
}
}
'{
"id": 123,
"eventableId": 123,
"eventableType": "<string>",
"eventType": "comment",
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Successfully created timeline comment
Numeric ID of the timeline event.
Numeric ID of the resource associated with the event.
Type of the resource (e.g., Item, Rental, ReturnOrder).
Type of the timeline event.
comment The comment message associated with the timeline event.
Was this page helpful?