The Comment Threads API is in phase and is not yet available to users. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
A comment thread is a discussion you have with someone else internally or with a partner, on a suggestion for example.A comment thread on a suggestion is a discussion with one of your partner on an item. A comment thread contains the list of comments sent by either of you.
The Comment Threads API Swagger definition is available on our Product-Live API portal here.
{ "object": "comment_thread", "comments": [ { "message": "Good morning,\nWould it be possible to clarify the product description?\nTHANKS" } ], "targetId": "13675", "targetType": "suggestion"}
1 2 3 4 5 6 7 8 9 10
TIP
Always provide an explicite message to ensure that it can be correctly displayed in the interface.
Request Example
bash
curl -X 'POST' \ 'https://api.product-live.com/v1/comment_threads' \ -H 'accept: */*' \ -H 'X-Api-Key: <REDACTED>' -d '{ "object": "comment_thread", "comments": [ { "message": "Good morning,\nWould it be possible to clarify the product description?\nTHANKS" } ], "targetId": "13675", "targetType": "suggestion" }'
{ "message": "Hello, I have just sent you a more precise description. Could you tell me if this new description suits you? THANKS"}
1 2 3
TIP
Always provide an explicite message to ensure that it can be correctly displayed in the interface.
Request Example
bash
curl -X 'POST' \ 'https://api.product-live.com/v1/comment_threads/170/add-reply' \ -H 'accept: */*' \ -H 'X-Api-Key: <REDACTED>' -d '{ "message": "Hello, I have just sent you a more precise description. Could you tell me if this new description suits you? THANKS" }'
1 2 3 4 5 6 7
Response example
json
{ "comments": [ { "creationDate": "2023-11-27T13:12:29.947Z", "type": "TEXT", "id": "656495bdea57cd0db4b0682d", "accountName": "RETAILX", "userId": "5443", "message": "Good morning,\nWould it be possible to clarify the product description?\nTHANKS" }, { "creationDate": "2023-12-15T16:55:20.391Z", "type": "TEXT", "id": "657c84f8ae5d307ce00a4327", "accountName": "SUPPLIERX", "userId": "697", "message": "Hello, I have just sent you a more precise description. Could you tell me if this new description suits you? THANKS" } ], "type": "DEFAULT", "object": "comment_thread", "id": "170", "createdAt": "2023-11-27T13:12:29.000Z", "updatedAt": "2023-12-15T16:55:20.391Z", "accountAssigneesId": [ "2482" ], "subscribersId": [ "39", "42" ], "isClosed": false, "accountId": "2482", "userId": "5443", "targetId": "13675", "targetType": "suggestion"}
{ "comments": [ { "creationDate": "2023-11-27T13:12:29.947Z", "type": "TEXT", "id": "656495bdea57cd0db4b0682d", "accountName": "RETAILX", "userId": "5443", "message": "Good morning,\nWould it be possible to clarify the product description?\nTHANKS" }, { "creationDate": "2023-12-15T16:55:20.391Z", "type": "TEXT", "id": "657c84f8ae5d307ce00a4327", "accountName": "SUPPLIERX", "userId": "697", "message": "Hello, I have just sent you a more precise description. Could you tell me if this new description suits you? THANKS" } ], "type": "DEFAULT", "object": "comment_thread", "id": "170", "createdAt": "2023-11-27T13:12:29.000Z", "updatedAt": "2023-12-18T11:32:54.463Z", "accountAssigneesId": [ "2490" ], "subscribersId": [ "39", "42" ], "isClosed": false, "accountId": "2482", "userId": "5443", "targetId": "13675", "targetType": "suggestion"}
Content Management Comment Threads API
The Comment Threads API is in phase and is not yet available to users. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
Introduction
A comment thread is a discussion you have with someone else internally or with a partner, on a suggestion for example.A comment thread on a suggestion is a discussion with one of your partner on an item. A comment thread contains the list of comments sent by either of you.
The Comment Threads API Swagger definition is available on our Product-Live API portal here.
General information
Get Comment Thread by id
Request URL
Path parameters
Request parameters
None
Request headers
Request Body
None
Request Example
2
3
4
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
List Comment Threads
Request URL
Path parameters
None
Request parameters
Default value if missing : 0
Default value if missing : 10
Request headers
Request Body
None
Request Example
2
3
4
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Find Comment Threads
Request URL
Path parameters
None
Request parameters
Default value if missing : 0
Default value if missing : 10
Request headers
Request Body
See more details on the find request body in the dedicated page Find request.
2
3
4
5
6
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Request Example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Create a Comment Thread
Request URL
Path parameters
None
Request parameters
None
Request Body
2
3
4
5
6
7
8
9
10
TIP
Always provide an explicite message to ensure that it can be correctly displayed in the interface.
Request Example
2
3
4
5
6
7
8
9
10
11
12
13
14
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Reply to a Comment Thread
Request URL
Path parameters
Request parameters
None
Request Body
2
3
TIP
Always provide an explicite message to ensure that it can be correctly displayed in the interface.
Request Example
2
3
4
5
6
7
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Assign, close or reopen a Comment Thread
Request URL
Path parameters
Request parameters
None
Request Body
2
3
4
5
6
2
3
4
5
2
3
4
TIP
Request Example
2
3
4
5
6
7
8
9
10
Response example
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37