curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "rpx", "data": ["__EAN__","__EAN2__"] }'
NAME DESCRIPTION REQUIRED PARAMETER __EAN__ Product EAN.
yes __EAN2__ Another EAN of the product. This is how you can send multiple EANs at once.
ne
Obtaining a List of Prohibited Products
curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "rpx", "data": "__DATE__", "serviceParams": { "fromDate": 1 } }'
NAME DESCRIPTION REQUIRED PARAMETER __DATE__ Date (in the format Y-m-d, e.g. "2024-12-31"), from which to obtain new prohibited products
yes
import requests
import jsonendpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'rpx',
'data': ['__EAN__','__EAN2__'],
}response = requests.post(endpoint, data=json.dumps(data))
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __EAN__ | Product EAN. | yes |
| __EAN2__ | Another EAN of the product. This is how you can send multiple EANs at once. | ne |
Obtaining a List of Prohibited Products
import requests
import json
endpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'rpx',
'data': '__DATE__',
'serviceParams': {
'fromDate': '1'
}
}
response = requests.post(endpoint, data=json.dumps(data))
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __DATE__ | Date (in the format Y-m-d, e.g. "2024-12-31"), from which to obtain new prohibited products | yes |
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token'=>'__API_TOKEN__',
'service'=>'rpx',
'data'=>['__EAN__','__EAN2__'],
];
curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);
$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __EAN__ | Product EAN. | yes |
| __EAN2__ | Another EAN of the product. This is how you can send multiple EANs at once. | ne |
Obtaining a List of Prohibited Products
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token'=> '__API_TOKEN__',
'service'=> 'rpx',
'data'=> '__DATE__',
'serviceParams': [
'fromDate': 1
]
];
curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);
$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __DATE__ | Date (in the format Y-m-d, e.g. "2024-12-31"), from which to obtain new prohibited products | yes |

