Versions Compared

Key

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

...

  • 채널에서 발생한 여행자 취소에 대해 AX Cloud 에 요청 합니다.

  • 해당 요청으로 채널에서 발생한 취소를 처리할 수 있습니다.

  • 주문 전체 취소가 아니라 부분 취소를 원하면 티켓 단위로 취소할 수 있습니다. 주문 - 티켓 주문 부분 취소 요청

Drawio
mVer2
zoom1
simple0
inComment0
pageId399441934
custContentId400556600
lbox1
diagramDisplayName제목 없는 다이어그램-1679529724776.drawio
contentVer1
revision2
baseUrlhttps://axchange.atlassian.net/wiki
diagramName제목 없는 다이어그램-1679529724776.drawio
pCenter0
width627
links
tbstyle
height311

...

Endpoint

https://prod.ax-cloud.com/v1/channel/orders/tourticket/{order_code}

Method

PATCH

Description

주문 상태 변경

Content-Type

application/json

Headers > Authorization

Token {api_key}

Headers > Channel

Code {channel_code}

...

Expand
titleStatus Code : 200 Response: 변경 완료된 값
Code Block
{
  "order_code": 915c1218-f41c-492b-bb0b-96177ff4d2ee,
  "ax_status": "25",
  "channel_status": "25",
  "comment": "supplier가여행자의 여행자와개인 전화사정으로 통인 후 주문 확정 예정이라고 함.인한 취소"
}

4) Error Spec

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

...

Code Block
curl -X 'PATCH' \
  'https://prod.ax-cloud.com/v1/channel/orders/tour/915c1218-f41c-492b-bb0b-96177ff4d2ee' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'X-CSRFTOKEN: qE3VQawgUcqbERA2G3LiGZQ1gPQuZZQLNmz9OmMxB7EuDCGMjjEgMQMsdVcGi7kw' \
  -H "Authorization: Token api_key_secret" \
  -H "Channel: Code code_secret" \
  -d '{
  "ax_status": "25",
  "channel_status": "25",
  "comment": "supplier가여행자의 여행자와개인 전화사정으로 통인 후 주문 확정 예정이라고 함.인한 취소"
}'