Versions Compared

Key

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

...

  • AX Cloud 와 채널이 확정 상태가 동기화 되어야 합니다.

  • 최대한 둘의 간격이 발생하지 않도록 자주 호출하여 업데이트가 권장 됩니다.

  • 고유한 채널 코드와 유효한 API Key 를 Request Header에 정해진 형식으로 입력해야만 호출 가능합니다.

...

Endpoint

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

test environment: https://test.ax-cloud.com/v1/channel/orders/tour/{ax_order_code}

Method

GET

Description

주문 확정 정보 조회

Content-Type

application/json

Headers > Authorization

Token {api_key}

Headers > Channel

Code {channel_code}

2) Response

Name

Type

Description

status_code

Integer

정상 처리 시 200

data

List[Object]

주문의 상태 및 상태에 대한 주석

channel_order_code

string

채널에서의 주문 식별자

ax_order_code

string

AX의 주문 식별자

ax_order_status

String

  • 주문 상태

  • 주문 상태는 다음과 같습니다.

    • "New" : 새 주문
      "Supplier pending" : Supplier 대기
      "Supplier confirm" : Supplier 확정
      "Supplier reject" : Supplier 거절
      "Traveler cancel" : 여행자 취소
      "Unavoidable cancel" : 불가피한 취소

...

Expand
titleStatus Code : 403 Cause: 유효하지 않은 API Key 혹은 Channel Code
Code Block
{"message": "이 작업을 수행할 권한(permission)이 없습니다."}

...

Code Block
curl -X 'GET' \
  'https://prodtest.ax-cloud.com/v1/channel/orders/tour/d96b2ed4-12c5-4fb5-ae94-4f39b11ee980' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Token api_key_secret" \
  -H "Channel: Code code_secret"