Versions Compared

Key

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

...

Name

Type

Description

status_code

Integer

정상 처리 시 200

products

List[Object]

판매 가능한 상품 리스트

product_code

UUID

상품 식별자

title

String

상품 제목

categoryecategory

String

상품 카테고리

detail_category

String

상품 세부 카테고리

start_date_of_the_sale

Date

판매 기간 시작 날짜

end_date_of_the_sale

Date

판매 기간 종료 날짜

cancellation_type

String

주문 취소 타입

main_country_and_city

String

주 국가 및 도시

[국가-도시 데이터는 문의]

...

Expand
titleStatus Code : 200 정상 처리 시
Code Block
languagejson
{
  "status_code": 200,
  "products": [
    {
      "idproduct_code": 1"1f373f00-ecb0-485a-beed-63529d61703f",
      "title": "TestLouvre Highlight Ticket",
      "category": "TestTicket-Day",
      "detail_category": "Museum",
   "ticket_category_code   "start_date_of_the_sale": "Test", 2023-03-01",
      "end_date_of_the_sale": "2024-03-31",
      "keywordmain_country_and_city": "Test52-18"
    }
  ]
}

5) Error Spec

Expand
titleStatus Code : 403 Cause: 유효하지 않은 API Key 혹은 Channel Code
Code Block
{'detail': ErrorDetail(string='이 작업을 수행할 권한(permission)이 없습니다.', code='permission_denied')}

...

Code Block
curl -X 'GET' \
  'https://prod.ax-cloud.com/v1/channel/products/day-ticket' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token api_key_secret' \
  -H 'Channel: Code code_secret'
  -d '{
  "status_code": 200,
  "products": [
    {
      "idproduct_code": 1"1f373f00-ecb0-485a-beed-63529d61703f",
      "title": "TestLouvre Highlight Ticket",
      "category": "TestTicket-Day",
      "detail_category": "Museum",
      "ticket_category_codestart_date_of_the_sale": "Test", 2023-03-01",
      "end_date_of_the_sale": "2024-03-31",
      "keywordmain_country_and_city": "Test52-18"
    }
  ]
}
'

...