Reshop Cancel Order (JSON)

 

API情報

当該機能は、発券済みPNRをキャンセルする際にVOID/REFUNDを判定するためのAPI(Endpoint)です。

最新バージョン :1.0.0
プロトコル :JSON
HTTPメソッド :POST
Endpoint :/v1/offers/reshop/cancelOrder
注1: Endpointは、HTTPリクエストヘッダーに設定します。
注2: Endpoint情報は、バージョンによって異なりますので、
最新バージョン以外のEndpointは、タグ定義書をご確認ください。
 

更新履歴

Reshop Order(Reshop Cancel Order) v1.0.0 on July 31, 2025
  • Version 1.0.0をリリースいたしました。
 

リクエストサンプル

VOID

 選択{
	"request": {
		"orderId": "1SXXXC2M2UK1Y",
		"orderItemIds": [
			"24436AF2-A1DF-4ABC-8E63-448DE3A7B535"
		]
	}
}

レスポンスサンプル

 選択{
    "payloadAttributes": {
        "timeStamp": "2025-07-18T07:58:42.827575352Z",
        "trxId": "181a5f1c-38d9-4791-bbaa-eb4125763f9f",
        "host": "offer-cancel-green-c9b4dd986-ncf5z",
        "baseline": "offer-cancel_759-20250703-083014-0.4.0-20250703.062513-26-7e9075d",
        "version": "1.0.0"
    },
    "response": {
        "warnings": [
            {
                "message": "Ancillary Service value e.g. Seats, may not be included in the total amount.",
                "service": "SPR"
            }
        ],
        "reshopOffers": [
            {
                "offerId": "ce84894876d78jl2dmd8g5z4y9",
                "ownerCode": "AA",
                "offerExpirationDateTime": "2025-07-18T08:18:42.664902524Z",
                "offerType": "VOID",
                "offerItems": [
                    {
                        "offerItemId": "ce84894876d78jl2dmd8g5z4y9-1",
                        "mandatoryInd": true,
                        "originalOrderItemDifferential": {
                            "amount": {
                                "amount": "163400",
                                "curCode": "JPY"
                            },
                            "taxSummary": {
                                "totalTaxAmount": {
                                    "amount": "72930",
                                    "curCode": "JPY"
                                }
                            }
                        },
                        "differentialAmountDue": {
                            "amount": {
                                "amount": "0",
                                "curCode": "JPY"
                            }
                        }
                    }
                ]
            }
        ]
    }
}

REFUND

 選択{
	"request": {
		"orderId": "1SXXXCTSAWOXW",
		"orderItemIds": [
			"4027F783-2B2D-4477-98CB-0E058FC73122"
		]
	}
}

レスポンスサンプル

 選択{
    "payloadAttributes": {
        "timeStamp": "2025-07-22T02:28:32.974051975Z",
        "trxId": "1d89b559-d257-4cf3-ae4b-72f638f83211",
        "host": "offer-cancel-green-c9b4dd986-8h7sx",
        "baseline": "offer-cancel_759-20250703-083014-0.4.0-20250703.062513-26-7e9075d",
        "version": "1.0.0"
    },
    "response": {
        "warnings": [
            {
                "message": "Ancillary Service value e.g. Seats, may not be refundable.",
                "service": "SPR"
            }
        ],
        "reshopOffers": [
            {
                "offerId": "ce0cb74c46d9v8w6qmddvy6ir3",
                "ownerCode": "QF",
                "offerExpirationDateTime": "2025-07-22T02:48:32Z",
                "offerType": "REFUND",
                "offerItems": [
                    {
                        "offerItemId": "ce0cb74c46d9v8w6qmddvy6ir3-1",
                        "mandatoryInd": true,
                        "originalOrderItemDifferential": {
                            "amount": {
                                "amount": "110000",
                                "curCode": "JPY"
                            },
                            "taxSummary": {
                                "totalTaxAmount": {
                                    "amount": "21985",
                                    "curCode": "JPY"
                                }
                            }
                        },
                        "differentialAmountDue": {
                            "amount": {
                                "amount": "-101985",
                                "curCode": "JPY"
                            },
                            "taxSummary": {
                                "totalTaxAmount": {
                                    "amount": "21985",
                                    "curCode": "JPY"
                                }
                            }
                        },
                        "penaltyDifferential": {
                            "amount": {
                                "amount": "30000",
                                "curCode": "JPY"
                            }
                        }
                    }
                ]
            }
        ]
    }
}
 

JSONタグ定義書

スキーマ

【注意点】
各種スキーマは、Sabre社提供のオリジナル版となるため、「JSONタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「JSONタグ定義書」にてご確認ください。

※弊社にて「JSONタグ定義書」を作成する際、各タグの利用可否確認を行っております。