/
Selections (under construction)
Selections (under construction)
Selections : a selection of products that can be mananged in the backoffice.
Example
https://df4pp.titelive.be:8080/api/json/{domainCode}/shop/selections
Get the active selections
Get the selections created and activated in the backoffice.
WS request
HTTP Verb : GET
Parameters | Location | Type | Required | Default | Accepted |
---|---|---|---|---|---|
token | Header | String(26) | v |
|
|
Response
Success
{
"response": {
"success": true
"code": 0
"message": "selections retrieved"
"object": {
"selectionsSelected": {
"Selections": [1]
0: {
"id": 318
"name": "Op Vakantie"
"type": 2
"isdisable": false
}
1: {
"id": 319
"name": "Nieuw in de winkel"
"type": 2
"isdisable": false
}
}
}
}
}
Error
{
"response": {
"code": 10,
"message": "no selection defined"
}
}
Codelist
Code | Success | Message |
---|---|---|
0 | v | ok |
—-
Retrieve EAN's related to selection
Example
https://wsmedia.tlsecure.com/api/json/00000/searchEngine/{data_template}/selections/{id}
Request
HTTP Verb : POST
URL : http://{WS_URL}/RestWSDF4/api/json/{domainCode}/searchEngine/onix3_full/selections/{id}
Parameters | Location | Type | Required | Default | Accepted |
---|---|---|---|---|---|
token | Header | String(26) | v |
|
|