curl --request GET \
--url https://api.zinc.io/v1/products/{product_id}/offers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.zinc.io/v1/products/{product_id}/offers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.zinc.io/v1/products/{product_id}/offers', 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.zinc.io/v1/products/{product_id}/offers",
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: Basic <encoded-value>"
],
]);
$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.zinc.io/v1/products/{product_id}/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.zinc.io/v1/products/{product_id}/offers")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zinc.io/v1/products/{product_id}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"status": "processing",
"retailer": "<string>",
"offers": [
{
"addon": true,
"condition": "New",
"handling_days": {
"max": 123,
"min": 123
},
"international": true,
"offer_id": "<string>",
"price": 123,
"marketplace_fulfilled": true,
"seller": {
"id": "<string>",
"name": "<string>",
"num_ratings": 123,
"percent_positive": 123,
"first_party": true
},
"shipping_options": [
{
"price": 123,
"delivery_days": {
"min": 123,
"max": 123
},
"name": "<string>"
}
],
"prime_only": true,
"member_only": true,
"available": true
}
]
}Product Offers
Retrieve product offers for a specific product
curl --request GET \
--url https://api.zinc.io/v1/products/{product_id}/offers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.zinc.io/v1/products/{product_id}/offers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.zinc.io/v1/products/{product_id}/offers', 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.zinc.io/v1/products/{product_id}/offers",
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: Basic <encoded-value>"
],
]);
$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.zinc.io/v1/products/{product_id}/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.zinc.io/v1/products/{product_id}/offers")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zinc.io/v1/products/{product_id}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"status": "processing",
"retailer": "<string>",
"offers": [
{
"addon": true,
"condition": "New",
"handling_days": {
"max": 123,
"min": 123
},
"international": true,
"offer_id": "<string>",
"price": 123,
"marketplace_fulfilled": true,
"seller": {
"id": "<string>",
"name": "<string>",
"num_ratings": 123,
"percent_positive": 123,
"first_party": true
},
"shipping_options": [
{
"price": 123,
"delivery_days": {
"min": 123,
"max": 123
},
"name": "<string>"
}
],
"prime_only": true,
"member_only": true,
"available": true
}
]
}Authorizations
Use your client token as the username. Leave the password blank.
Path Parameters
The retailer's unique identifier for a particular product
Query Parameters
The retailer for the product. See Supported Retailers for a list of supported retailers.
A number in seconds setting the maximum age of the response. Cannot specify with newer_than.
A timestamp setting the minimum time the response should be retrieved from. Cannot specify with max_age.
Determines whether the resulting response will be asynchronous. Defaults to false.
Response
Product offers retrieved successfully
Response for product offers
Status of the request. You will only see processing if async: true was set on the request
processing, failed, completed The retailer for the product. See Supported Retailers for a list of supported retailers.
Array of offers for the product
Show child attributes
Show child attributes

