curl --request GET \
--url https://api.hofj.com/v1/products/providerid/{providerID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hofj.com/v1/products/providerid/{providerID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hofj.com/v1/products/providerid/{providerID}', 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.hofj.com/v1/products/providerid/{providerID}",
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://api.hofj.com/v1/products/providerid/{providerID}"
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://api.hofj.com/v1/products/providerid/{providerID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hofj.com/v1/products/providerid/{providerID}")
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{
"data": {
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"shortDescription": "<string>",
"description": "<string>",
"archived": true,
"channelId": "<string>",
"venueId": "<string>",
"categoryId": "<string>",
"destinationId": "<string>",
"videoUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"tripCode": "<string>",
"providerID": "<string>",
"nezasaSlug": "<string>",
"price": 123,
"currency": "<string>",
"featured": true,
"minPax": 123,
"maxPax": 123,
"maxPaxPerRoom": 123,
"minDate": "2023-12-25",
"maxDate": "2023-12-25",
"defaultDurationInDays": 123,
"hotelSelection": true,
"allowAccommodationList": true,
"isSpecialOffer": true,
"pageCompositionMode": "<string>",
"availabilities": [
{
"status": "<string>",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"serviceLevels": [
"<unknown>"
]
}
],
"locale": "<string>"
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Get product by provider ID (internal)
Lookup by upstream CMS provider ID. Restricted to internal clients — returns the full internal DTO including tripCode, providerID, price, currency, availabilities, and other CMS-level fields not exposed on the public endpoints.
curl --request GET \
--url https://api.hofj.com/v1/products/providerid/{providerID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hofj.com/v1/products/providerid/{providerID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hofj.com/v1/products/providerid/{providerID}', 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.hofj.com/v1/products/providerid/{providerID}",
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://api.hofj.com/v1/products/providerid/{providerID}"
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://api.hofj.com/v1/products/providerid/{providerID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hofj.com/v1/products/providerid/{providerID}")
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{
"data": {
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"shortDescription": "<string>",
"description": "<string>",
"archived": true,
"channelId": "<string>",
"venueId": "<string>",
"categoryId": "<string>",
"destinationId": "<string>",
"videoUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"tripCode": "<string>",
"providerID": "<string>",
"nezasaSlug": "<string>",
"price": 123,
"currency": "<string>",
"featured": true,
"minPax": 123,
"maxPax": 123,
"maxPaxPerRoom": 123,
"minDate": "2023-12-25",
"maxDate": "2023-12-25",
"defaultDurationInDays": 123,
"hotelSelection": true,
"allowAccommodationList": true,
"isSpecialOffer": true,
"pageCompositionMode": "<string>",
"availabilities": [
{
"status": "<string>",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"serviceLevels": [
"<unknown>"
]
}
],
"locale": "<string>"
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Use Authorization: Bearer <access_token> from POST /v1/oauth/token, or Authorization: Bearer <api_key>. Dev-only example key (do not use in production): see repository README.
Path Parameters
Upstream CMS provider ID (e.g. t0048695).
Query Parameters
Distribution channel brand / domain (e.g. weebora.com). If omitted, CONTENT_DEFAULT_CHANNEL_DOMAIN must be set server-side.
Locale for localized fields (e.g. it).
Response
Product (full internal DTO)
Full internal product DTO returned by the internal lookup routes. Extends the public Product with CMS-level fields. Only accessible to internal clients.
Show child attributes
Show child attributes
