Content Management Publications API
The Publications 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 publication is a set of field values sent to your partner on a product. It enables you to examine the fields values you suggested on your products for your partner.
The Publications API Swagger definition is available on our Product-Live API portal here.
General information
- Rate limit: 50 requests per minute
Get Publication by id
Request URL
Path path
Parameter | Type | Description |
---|---|---|
publicationId | string | A publication id |
Request parameters
None
Request headers
Header | Type | Description |
---|---|---|
accept | string | */* |
X-Api-Key | string | Your account API key |
Request Body
None
Request Example
bash
curl -X 'GET' \
'GET https://api-next.product-live.com/v1/publications/38643' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>'
1
2
3
4
2
3
4
Response example
json
{
"object": "publication",
"id": "38643",
"updatedAt": "2024-05-17T07:39:23.000Z",
"createdAt": "2024-05-17T07:38:54.000Z",
"sentAt": "2024-05-17T07:38:54.000Z",
"fromItemId": "80303",
"toAccountId": "6326",
"tableId": "1353",
"partitionId": "2342",
"screenId": "7421",
"status": "RECEIVED",
"fields": {
"EAN": {
"id": "238",
"type": "IDENTIFIER",
"value": "3610011803438"
},
"TYPOLOGY": {
"id": "241",
"type": "CLASSIFICATION",
"value": "FRIDGE"
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
List Publications
Request URL
Path parameters
None
Request parameters
Parameter | Type | Description |
---|---|---|
page | integer | Optional The page number to retrieve. Default value if missing : 0 |
size | integer | Optional The number of items per page. Default value if missing : 10 |
Request headers
Header | Type | Description |
---|---|---|
accept | string | */* |
X-Api-Key | string | Your account API key |
Request Body
None
Example
bash
curl -X 'GET' \
'https://api-next.product-live.com/v1/publications?size=1&page=0' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>
1
2
3
4
2
3
4
Response example
json
{
"object": "list",
"data": [
{
"object": "publication",
"id": "38643",
"updatedAt": "2024-05-17T07:39:23.000Z",
"createdAt": "2024-05-17T07:38:54.000Z",
"sentAt": "2024-05-17T07:38:54.000Z",
"fromItemId": "80303",
"toAccountId": "6326",
"tableId": "1353",
"partitionId": "2342",
"screenId": "7421",
"status": "RECEIVED",
"fields": {
"EAN": {
"id": "238",
"type": "IDENTIFIER",
"value": "3610011803438"
},
"TYPOLOGY": {
"id": "241",
"type": "CLASSIFICATION",
"value": "FRIDGE"
}
}
}
],
"totalElements": 246
}
1
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
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
Find Publications
Request URL
Path parameters
None
Request parameters
Parameter | Type | Description |
---|---|---|
page | integer | Optional The page number to retrieve. Default value if missing : 0 |
size | integer | Optional The number of items per page. Default value if missing : 10 |
Request headers
Header | Type | Value |
---|---|---|
accept | string | application/json |
X-Api-Key | string | Your account API key |
Request Body
See more details on the find request body in the dedicated page Find request.
json
{
"type": "eq",
"caseSensitive": true,
"field": "status",
"value": "RECEIVED"
}
1
2
3
4
5
6
2
3
4
5
6
json
{
"type": "and",
"queries": [
{
"type": "eq",
"caseSensitive": true,
"field": "status",
"value": "RECEIVED"
},
{
"type": "eq",
"caseSensitive": true,
"field": "toAccountId",
"value": "6326"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Request Example
bash
curl -X 'POST' \
'https://api-next.product-live.com/v1/publications/find?page=0&size=1' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>'
-d '{
"type": "and",
"queries": [
{
"type": "eq",
"caseSensitive": true,
"field": "status",
"value": "RECEIVED"
},
{
"type": "eq",
"caseSensitive": true,
"field": "toAccountId",
"value": "6326"
}
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Response example
json
{
"object": "list",
"data": [
{
"object": "publication",
"id": "38643",
"updatedAt": "2024-05-17T07:39:23.000Z",
"createdAt": "2024-05-17T07:38:54.000Z",
"sentAt": "2024-05-17T07:38:54.000Z",
"fromItemId": "80303",
"toAccountId": "6326",
"tableId": "1353",
"partitionId": "2342",
"screenId": "7421",
"status": "RECEIVED",
"fields": {
"EAN": {
"id": "238",
"type": "IDENTIFIER",
"value": "3610011803438"
},
"TYPOLOGY": {
"id": "241",
"type": "CLASSIFICATION",
"value": "FRIDGE"
}
}
}
],
"totalElements": 34
}
1
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
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
Create a Publication
Request URL
Path parameters
None
Request parameters
None
Request Body
json
{
"fromItemId": "4623",
"toAccountId": "4931432",
"screenId": "5642"
}
1
2
3
4
5
2
3
4
5
Request Example
bash
curl -X 'POST' \
'https://api.product-live.com/v1/publications' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>'
-d '{
"fromItemId": "80303",
"toAccountId": "6326",
"screenId": "5642"
}'
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
Response example
json
{
"object": "publication",
"id": "38643",
"updatedAt": "2024-05-17T07:39:23.000Z",
"createdAt": "2024-05-17T07:38:54.000Z",
"sentAt": "2024-05-17T07:38:54.000Z",
"fromItemId": "80303",
"toAccountId": "6326",
"tableId": "1353",
"partitionId": "2342",
"screenId": "7421",
"status": "SENT",
"fields": {
"EAN": {
"id": "238",
"type": "IDENTIFIER",
"value": "3610011803438"
},
"TYPOLOGY": {
"id": "241",
"type": "CLASSIFICATION",
"value": "FRIDGE"
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Update a Publication status
Request URL
Path parameters
Parameter | Type | Description |
---|---|---|
publicationId | string | A publication id |
Request parameters
None
Request Body
json
{
"status": "RECEIVED"
}
1
2
3
2
3
json
{
"status": "REJECTED"
}
1
2
3
2
3
Request Example
bash
curl -X 'POST' \
'https://api-next.product-live.com/v1/publications/38643/update' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>'
-d '{
"status": "RECEIVED"
}'
1
2
3
4
5
6
7
2
3
4
5
6
7
Response example
None. Only the HTTP status code informs of the completion of the call.