Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Endpoint

product environment: https://prod.ax-cloud.com/v1/channel/products/tour/{product_code}

test environment: https://test.ax-cloud.com/v1/channel/products/tour/{product_code}

Method

GET

Description

특정 Product Detail을 조회합니다.

Content-Type

application/json

Headers > Authorization

Token {api_key}

Headers > Channel

Code {channel_code}

2) Path Parameter

Name

Required

Type

Description

product_code

O

UUID

Product ID(UUID)

...

Code Block
curl -X 'POST' \
  'https://prod.ax-cloud.com/v1/channel/products/tour/1' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token api_key_secret' \
  -H 'Channel: Code code_secret'
  -d '{
  "status_code": 200,
  "required_traveler_information": {
    "english_name": false,
    "chinese_name": false,
    ...
  },
  "contents": {
    "product_listing_language": "Korean",
    "tour_guide_certification": "Yes",
    ...
  },
  "options": [
    {
      "option_code": "d327bbf7-2052-4ebb-893a-ee952b694029",
      "sales_period_name": "The first half",
      "start_date_of_the_sale": "2023-03-01",
      "end_date_of_the_sale": "2024-03-31",
      "transportation": "Vehicle",
      ...
    }
  ]
}'

...