Get Product Feed by ID
curl --request GET \
--url https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId} \
--header 'X-Eflow-Api-Key: <api-key>'import requests
url = "https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}"
headers = {"X-Eflow-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Eflow-Api-Key': '<api-key>'}};
fetch('https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}', 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://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Eflow-Api-Key: <api-key>"
],
]);
$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://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}")
.header("X-Eflow-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"network_advertiser_product_feed_id": 123,
"network_id": 123,
"network_advertiser_id": 123,
"name": "<string>",
"status": "<string>",
"file_asset_id": 123,
"date_valid_from": 123,
"date_valid_to": 123,
"date_valid_timezone_id": 123,
"time_created": 1734455015,
"time_saved": 1734455015,
"relationship": {
"document_file_asset": {
"network_asset_id": 123,
"content_type": "<string>",
"filename": "<string>",
"url": "<string>",
"file_size": 123,
"image_width": 123,
"image_height": 123,
"optimized_thumbnail_url": "<string>"
},
"product_feed_items": [
{
"network_advertiser_product_feed_id": 123,
"network_id": 123,
"sku": "<string>",
"name": "<string>",
"description": "<string>",
"url_link": "<string>",
"url_link_mobile": "<string>",
"image_url": "<string>",
"image_url_mobile": "<string>",
"price": 123,
"brand": "<string>",
"availability": "<string>",
"date_valid_from": 123,
"date_valid_to": 123
}
]
}
}Product Feeds
Get Product Feed by ID
GET
/
affiliates
/
offers
/
{offerId}
/
productfeeds
/
{productFeedId}
Get Product Feed by ID
curl --request GET \
--url https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId} \
--header 'X-Eflow-Api-Key: <api-key>'import requests
url = "https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}"
headers = {"X-Eflow-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Eflow-Api-Key': '<api-key>'}};
fetch('https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}', 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://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Eflow-Api-Key: <api-key>"
],
]);
$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://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}")
.header("X-Eflow-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/affiliates/offers/{offerId}/productfeeds/{productFeedId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"network_advertiser_product_feed_id": 123,
"network_id": 123,
"network_advertiser_id": 123,
"name": "<string>",
"status": "<string>",
"file_asset_id": 123,
"date_valid_from": 123,
"date_valid_to": 123,
"date_valid_timezone_id": 123,
"time_created": 1734455015,
"time_saved": 1734455015,
"relationship": {
"document_file_asset": {
"network_asset_id": 123,
"content_type": "<string>",
"filename": "<string>",
"url": "<string>",
"file_size": 123,
"image_width": 123,
"image_height": 123,
"optimized_thumbnail_url": "<string>"
},
"product_feed_items": [
{
"network_advertiser_product_feed_id": 123,
"network_id": 123,
"sku": "<string>",
"name": "<string>",
"description": "<string>",
"url_link": "<string>",
"url_link_mobile": "<string>",
"image_url": "<string>",
"image_url_mobile": "<string>",
"price": 123,
"brand": "<string>",
"availability": "<string>",
"date_valid_from": 123,
"date_valid_to": 123
}
]
}
}Retrieve a specific product feed by its ID. Returns metadata about the product feed including name, status, validity dates, and the associated file asset. Use the
relationship query parameter to include product feed items in the response.Authorizations
Path Parameters
Query Parameters
Response
When the relationship=product_feed_item query parameter is provided, the relationship object includes a product_feed_items array.
Was this page helpful?
