Parameters
comment
dictionary
reference_id
number
reference_type
string
message
string
parent
number
POST/v1/comments
bash
curl https://api.tradly.app/v1/comments \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"comment": {
"reference_id": 42,
"reference_type": "listings_qa",
"message": "Is this product available for immediate shipping?",
"parent": 0
}
}'RESPONSE
json
{
"status": true,
"data": {
"comment": {
"id": 105
}
}
}