Versions Compared

Key

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

...

  • 티켓은 주문의 일부분 입니다. 티켓의 취소는 주문의 부분 취소를 의미 합니다.

  • 티켓을 취소하면 주문의 부분 취소를 할 수 있습니다.

  • 채널에서 구매자가 주문의 부분 취소를 했고, 이를 Channel에서 확정했으며, AX와 동기화 요청을 위해 사용합니다.

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

...

Name

Required

Type

Description

status

O

String

  • AX 내부 주문 상태

  • 취소하고자 하는 티켓 상태를 입력

  • 측 티켓의 상태를 동기화 하고자 하는 상태('Traveler canceled')로 전달

  • 티켓의 상태는 다음과 같습니다.

    • "New" : 새 티켓
      "Traveler Canceledcanceled" : 여행자 취소

comment

X

String

  • 취소 시 남길 주석

...

Expand
titleStatus Code : 200 Response: 취소 완료된 값
Code Block
{
  "channel_order_code": "d96b3ed4-12c5-4fb5-ae22-4f39b11ee980",
  "ax_order_status": "New",
  "ax_order_code": "b9872ed4-12c5-4fb5-ae18-4f39b11ee912",
  "ax_ticket_code": "827c0381-f41c-492b-bb0b-88229ff4d2ee",
  "ax_ticket_status": "Traveler Canceledcanceled",
}

4) Error Spec

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

...

Code Block
curl -X 'PATCH' \
  'https://prodtest.ax-cloud.com/v1/channel/orders/tour/b9872ed4-12c5-4fb5-ae18-4f39b11ee912/tickets/915c1218-f41c-492b-bb0b-96177ff4d2ee' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Token api_key_secret" \
  -d '{ \
  "status": "Traveler Canceledcanceled"
}'