GET
/
v1
/
products
/
tripcode
/
{tripCode}
Get product by trip code (internal)
curl --request GET \
  --url https://api.hofj.com/v1/products/tripcode/{tripCode} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
  }
}

Authorizations

Authorization
string
header
default:dev-internal-api-key
required

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

tripCode
string
required

HOJ trip code (e.g. MKT_XYZ_123).

Query Parameters

brand
string

Distribution channel brand / domain (e.g. weebora.com). If omitted, CONTENT_DEFAULT_CHANNEL_DOMAIN must be set server-side.

locale
string

Locale for localized fields (e.g. it).

Response

Product (full internal DTO)

data
object

Full internal product DTO returned by the internal lookup routes. Extends the public Product with CMS-level fields. Only accessible to internal clients.