Content Management Levels API
The Levels 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 level is a product declinaison in a table (Model, Color, Size). You can only retrieve levels on your company account's tables.
The Levels API Swagger definition is available on our Product-Live API portal here.
General information
- Rate limit: 50 requests per minute
Get Level by id
Request URL
Path path
Parameter | Type | Description |
---|---|---|
levelId | string | A table level id |
Request parameters
None
Request headers
Header | Type | Description |
---|---|---|
accept | string | */* |
X-Api-Key | string | Your account API key |
X-Context | number | The account id of your partner in order to get the list of levels he shared with you |
Request Body
None
Request Example
bash
curl -X 'GET' \
'GET https://api-next.product-live.com/v1/levels/2' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>'
1
2
3
4
2
3
4
ts
1
Response example
json
{
"id": "2",
"updatedAt": "2023-03-01T09:24:27.000Z",
"createdAt": "2023-03-01T09:24:27.000Z",
"key": "PRODUCT",
"tableId": "2"
}
1
2
3
4
5
6
7
2
3
4
5
6
7
List Levels
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 |
X-Context | number | The account id of your partner in order to get the list of levels he shared with you |
Request Body
None
Example
bash
curl -X 'GET' \
'https://api-next.product-live.com/v1/levels?size=1&page=0' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>
-H 'X-Context: 3'
1
2
3
4
5
2
3
4
5
Response example
json
{
"object": "list",
"data": [
{
"id": "2",
"updatedAt": "2023-03-01T09:24:27.000Z",
"createdAt": "2023-03-01T09:24:27.000Z",
"key": "PRODUCT",
"tableId": "2"
}
],
"totalElements": 1
}
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13