Get Specific Operator Products
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"NayaxProductID": 123,
"ProductGroupID": 123,
"ActorID": 123,
"ProductManufacturerID": 123,
"ProductName": "<string>",
"ProductCatalogNumber": "<string>",
"ProductBarcode": "<string>",
"ProductPackageQuantity": 123,
"ProductDescription": "<string>",
"ProductVolumeTypeID": 123,
"DEXProductName": "<string>",
"ProductCostPrice": 123,
"ProductDefaultRetailPrice": 123,
"ProductMinimumPickQTY": 123,
"ProductStatus": 123,
"ProductCashPrice": 123,
"ProductCreditCardPrice": 123,
"ProductPrepaidCardPrice": 123,
"ProductExternalPrepaidCardPrice": 123,
"ProductMemberTypePriceBit": true,
"ProductPictureURL": "<string>",
"CaloriesPer100g": 123,
"CaloriesPerServing": 123,
"EANCode": "<string>",
"ProductCreatedBy": 123,
"ProductCreationDate": "2023-11-07T05:31:56Z",
"ProductUpdatedBy": 123,
"ProductLastUpdated": "2023-11-07T05:31:56Z",
"VatId": 123,
"SequenceNumber": 123,
"AgeVerificationEnableBit": true,
"DepositTypeID": 123,
"DepositFee": 123,
"DepositTax": 123,
"Refs": {}
}
]Products
Get Specific Operator Products
Retrieves a list of products associated with a specific operator, identified by the OperatorID. The response includes details of each product.
Get Specific Operator Products
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/operators/{OperatorID}/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"NayaxProductID": 123,
"ProductGroupID": 123,
"ActorID": 123,
"ProductManufacturerID": 123,
"ProductName": "<string>",
"ProductCatalogNumber": "<string>",
"ProductBarcode": "<string>",
"ProductPackageQuantity": 123,
"ProductDescription": "<string>",
"ProductVolumeTypeID": 123,
"DEXProductName": "<string>",
"ProductCostPrice": 123,
"ProductDefaultRetailPrice": 123,
"ProductMinimumPickQTY": 123,
"ProductStatus": 123,
"ProductCashPrice": 123,
"ProductCreditCardPrice": 123,
"ProductPrepaidCardPrice": 123,
"ProductExternalPrepaidCardPrice": 123,
"ProductMemberTypePriceBit": true,
"ProductPictureURL": "<string>",
"CaloriesPer100g": 123,
"CaloriesPerServing": 123,
"EANCode": "<string>",
"ProductCreatedBy": 123,
"ProductCreationDate": "2023-11-07T05:31:56Z",
"ProductUpdatedBy": 123,
"ProductLastUpdated": "2023-11-07T05:31:56Z",
"VatId": 123,
"SequenceNumber": 123,
"AgeVerificationEnableBit": true,
"DepositTypeID": 123,
"DepositFee": 123,
"DepositTax": 123,
"Refs": {}
}
]Authorizations
Path Parameters
Response
200 - application/json
A list of products associated with the specified operator.
Was this page helpful?