Versions Compared

Key

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

...

Expand
titleStatus Code : 403 Cause: 유효하지 않은 API Key
Code Block
{'messagedetail': '이 작업을 수행할 권한(permission)이 없습니다.'}
Expand
titleStatus Code : 404 Cause: 유효하지 않은 order_code, ticket_code
Code Block
{'messagedetail': '찾을 수 없습니다.'}

3. Request Example

...

Code Block
curl -X 'PATCH' \
  'https://prod.ax-cloud.com/v1/channel/orders/tour/b9872ed4-12c5-4fb5-ae18-4f39b11ee912/tickets/915c1218-f41c-492b-bb0b-96177ff4d2ee/refunds' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Token api_key_secret" \
  -d '{ \
  "refund_price": "5000",
  "channel_canceled_datetime": "2021-01-20 21:13:13",
  "channel_refunded_datetime": "2021-01-20 23:24:29",
  "policy": {"0": "1", "50": "3",  "100": “7"}
}'

...