curl --location --request POST '/comments' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": "Hi there, ....",
"comment_record_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576",
"comment_record_type": "sub_number_order"
}'
{
"data": {
"body": "Hi there, ....",
"comment_record_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576",
"comment_record_type": "sub_number_order",
"commenter": "user@company.com",
"commenter_type": "admin",
"created_at": "2018-01-01T00:00:00.000000Z",
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"read_at": "2018-01-01T00:00:00.000000Z",
"updated_at": "2018-01-01T00:00:00.000000Z"
}
}
Authorization: Bearer ********************