{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/flights/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Transaction and Trace IDs","description":"Create AI-native travel products with Travelport's powerful, flexible APIs.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"transaction-and-trace-ids","__idx":0},"children":["Transaction and Trace IDs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The TripServices Flights APIs support transaction and trace IDs for both GDS and NDC content. These IDs can be used to assist in tracking and troubleshooting if you need ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/resources/support"},"children":["Support Options"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tracking-ids-in-the-request","__idx":1},"children":["Tracking IDs in the Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The TripServices APIs support two separate tracking IDs, one issued by Travelport by default (",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["transactionId"]},") and another that customers can send by choice (",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["traceId"]},"). The traceId is sent in the message request header, and both transactionId and traceId are returned in the response header and/or response payload depending on transaction type."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["transactionId"]}," is unique to a single transaction and returned in most APIs. Note that the header may be titled ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["e2etrackingid"]}," instead of transactionId. See the table below. When returned, the response payload object is always transactionId."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["traceId"]}," is returned only if sent by the customer. Can be sent in all transaction types to add the same common identifier to all transactions in a workflow."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Do not confuse traceId with the Open Telemetry TraceId header."]}]}]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show table for transactionId and e2etrackingid"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This table lists whether the Travelport-issued tracking ID is returned in the response header as e2etrackingid or transactionid, and whether returned in the response payload, always as transactionid. N/A means transactionId is not returned in the response payload. This list is not inclusive of all TripServices APIs."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"doc-table md","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API"},"children":["API"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Response header"},"children":["Response header"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Response payload"},"children":["Response payload"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AirPrice reference payload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create Workbench"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add Offer reference payload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add Traveler"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pre-commit workbench retrieve"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat map in workbench"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat Book"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ancillary Shop"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ancillary Price"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ancillary Book"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add remarks (reservation comments)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accounting remarks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Primary contact remarks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Special services list remarks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Profile move"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Traveler updatable item"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Traveler update"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workbench Commit"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reservation retrieve"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fare rules"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["e2etrackingid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Post commit workbench"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add form of payment"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add payment"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exchange Search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exchange Eligibility"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transactionid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more about headers, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/flights/general/common-flights-api-headers"},"children":["Common Flights API Headers"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do not change the TraceID value in subsequent transactions in the same flow, such as between transactions in the same workbench session. For example, don't send a value of ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["ABC"]}," in the header of the request to establish a workbench and then change that value to ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["123"]}," when you add an offer."]}]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show Example request headers with traceId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"Accept: application/json\nContent-Type: application/json\nXAUTH_TRAVELPORT_ACCESSGROUP: 36CFECCB-9A27-4A78-8B4D-7272F3830C20\nAccept-Version: 11\nContent-Version: 11\ntaxBreakDown: true\ntraceId: TVP123\nAuthorization: Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwianRpIjoibXN2cmF2aGswYWs2In0..QqiW_TNK0GbMcM6s-..\nUser-Agent: PostmanRuntime/7.43.4\nCache-Control: no-cache\nPostman-Token: 858b12bb-10de-4489-b2da-a993957bb041\nHost: api.pp.travelport.com\nAccept-Encoding: gzip, deflate, br\nConnection: keep-alive\nCookie: akaalb_API_PP=1746738460~op=SEARCHPLUS_API_PP:searchplus_apim-direct_zu2_pp|~rv=96~m=searchplus_apim-direct_zu2_pp:0|~os=70385e00aec375405facb619cb3d7c12~id=9583fc9cc010cb848fe55df8c362e441\n","lang":"http"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tracking-ids-in-the-response","__idx":2},"children":["Tracking IDs in the Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All TripServices API responses return the system-generated transaction ID. Most responses return the ID in the transactionId object in the first object of the response payload (object name varies by API) and in the e2etrackingid field in the response header, although some APIs return it only in the header."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you send a trace ID in the header, the response returns that ID. Most responses return a traceId object with your traceID value in the first object in the response payload and in the TraceID field in the response header, although some APIs return it only in the header. If you do not send a trace ID, traceId is not returned."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following example shows the transaction and trace IDs as returned in the headers and response payloads of different APIs."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Depending on the API, the transactionId is returned in a response header titled either ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["transactionid"]}," or ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["e2etrackingid"]},".In the response payload, the transactionId is always returned in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["transactionId"]}," object."]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show Example response headers with transactionId returned in e2etrackingid"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"Content-Type: application/json\ncontent-version: 11\ne2etrackingid: 7f665ede-abde-4fe7-b8b7-54fa153f6246\nContent-Encoding: gzip\nContent-Length: 6243\nDate: Thu, 08 May 2025 20:53:59 GMT\nConnection: keep-alive\nVary: Accept-Encoding\nServer-Timing: cdn-cache; desc=MISS\nServer-Timing: edge; dur=237\nServer-Timing: origin; dur=2167\nServer-Timing: ak_p; desc=\"1746737637123_389073145_527038739_239945_27908_2_16_-\";dur=1\nAkamai-GRN: 0.f9c83017.1746737637.1f69f913\n","lang":"html"},"children":[]}]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show Example payload response excerpts with transactionId only"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"CatalogProductOfferingsResponse\": {\n        \"@type\": \"CatalogProductOfferingsResponse\",\n        \"transactionId\": \"452a28d3-67d8-4c77-a867-b1d0fdece7d5\",\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"OfferListResponse\": {\n        \"@type\": \"OfferListResponse\",\n        \"transactionId\": \"aeac4215-fffa-a8fc-d5f3-ad09b4e5a13d:ppn\",\n\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show Example response headers with both transactionId and traceId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"Content-Type: application/json\ntransactionid: 765c0565-a436-473e-9f16-462bbe95a1e0\ntraceid: TVP123\ncontent-version: 11\nContent-Encoding: gzip\nContent-Length: 1249\nDate: Thu, 08 May 2025 21:10:34 GMT\nConnection: keep-alive\nVary: Accept-Encoding\nServer-Timing: cdn-cache; desc=MISS\nServer-Timing: edge; dur=8\nServer-Timing: origin; dur=3212\nServer-Timing: ak_p; desc=\"1746738631175_389073145_528121150_321427_22640_7_3_-\";dur=1\nAkamai-GRN: 0.f9c83017.1746738631.1f7a7d3e</p>\n","lang":"html"},"children":[]}]},{"$$mdtype":"Tag","name":"details","attributes":{"className":"example-box"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Show Example payload response excerpts with transactionId and traceId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"CatalogProductOfferingsResponse\": {\n        \"@type\": \"CatalogProductOfferingsResponse\",\n        \"transactionId\": \"7f665ede-abde-4fe7-b8b7-54fa153f6246\",\n        \"traceId\": \"TVP123\",\n        \"CatalogProductOfferings\": {\n            \"@type\": \"CatalogProductOfferings\",\n            \"Identifier\": {\n                \"value\": \"1a763955-d784-431f-89c1-4de207f9db44\"\n            },\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"CatalogOfferingsAncillaryListResponse\": {\n        \"@type\": \"CatalogOfferingsAncillaryListResponse\",\n        \"transactionId\": \"5085fef3-c0b3-4c15-86e1-2e7bc80b23cb\",\n        \"traceId\": \"38168bbf-c8b7-4171-866a-8f3d22e2dc61\",\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"ReservationResponse\": {\n        \"@type\": \"ReservationResponse\",\n        \"transactionId\": \"a1c2e9da-1deb-4c82-bb22-746994f468c4\",\n        \"traceId\": \"18717099-fa41-4452-b75b-54a7eaddfa8b\",\n","lang":"json"},"children":[]}]}]},"headings":[{"value":"Transaction and Trace IDs","id":"transaction-and-trace-ids","depth":1},{"value":"Tracking IDs in the Request","id":"tracking-ids-in-the-request","depth":2},{"value":"Tracking IDs in the Response","id":"tracking-ids-in-the-response","depth":2}],"frontmatter":{"seo":{"title":"Transaction and Trace IDs"}},"lastModified":"2026-05-27T15:34:23.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/flights/general/transaction-and-trace-ids","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}