Skip to main content
GET
/
discovery
/
{discoveryId}
/
products
/
{productId}
/
details
Get product details
curl --request GET \
  --url https://api.interchange.io/api/v2/buyer/discovery/{discoveryId}/products/{productId}/details \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.interchange.io/api/v2/buyer/discovery/{discoveryId}/products/{productId}/details"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.interchange.io/api/v2/buyer/discovery/{discoveryId}/products/{productId}/details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "productId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "channel": "<string>",
  "salesAgentId": "<string>",
  "salesAgentName": "<string>",
  "storefrontId": "<string>",
  "storefrontName": "<string>",
  "cpm": 123,
  "currency": "<string>"
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

discoveryId
string
required

Discovery session id.

Minimum string length: 1
productId
string
required

Discovered product id.

Minimum string length: 1

Query Parameters

salesAgentId
string
required

Sales agent ID for the product

Minimum string length: 1

Response

Get product details

productId
string
required
name
string
required
description
string
channel
string
deliveryType
enum<string>
Available options:
guaranteed,
non_guaranteed
salesAgentId
string
salesAgentName
string
storefrontId
string
storefrontName
string
cpm
number
currency
string

ISO currency code for cpm. Absent when unknown.

{key}
any