GO7 API DOCUMENTATION

Service List

POST {NDC_GATEWAY_BASE_URL}/v21.3.5/ServiceList

Obtain your assigned base URL and API key from GO7; see Base URLs.


Description

The Service List API returns ancillary services available for a selected offer or an existing order. Use it to retrieve optional services such as bags, meals, sports equipment, and other a la carte items before the customer confirms changes or adds extras.

Workflow (NDC API guide)

Step 5 (workflow index). POST …/ServiceList · ancillary service lookup. By offer: use AirShopping offer IDs in OfferRequest (no prior OfferPrice required), then OfferPrice (flight + service, or flight + seat + service) → OrderCreate with payment (instant pay). By order: after OrderCreate (pay-later path), call with OrderRequest, then OrderQuote → OrderChange. Scenarios: #servicelist-by-offer, #servicelist-by-order.

The response returns an ALaCarteOffer with service-priced OfferItem rows that can be used in downstream ancillary or change flows.

See Authentication for x-api-key.

Request

Headers

Header Purpose Format Required Example
x-api-key API key for authenticating the request String Yes x-api-key: {x-api-key}
Content-Type Request body media type application/xml or application/xml;charset=UTF-8 Yes Content-Type: application/xml

Note: The x-api-key alone identifies the caller; the gateway resolves the account from it.

Request Body

The request body must be a valid IATA_ServiceListRQ XML document following IATA NDC v21.3.5 standard.

Partner keys: DistributionChain must name you: your Partner ID as ParticipatingOrg/OrgID, with the OrgRole your agreement allows. See Partner identification (DistributionChain).

Message attributes: send PayloadAttributes with a fresh CorrelationID on every request — both are required. The gateway echoes the block back unchanged, and your CorrelationID comes back as Error/ErrorID if the request fails. See Message attributes (PayloadAttributes).

Provide exactly one of OfferRequest or OrderRequest inside ServiceListCoreRequest. Both request modes also support ResponseParameters such as currency and language.

ServiceList — By offer

Use this mode when you already have an offer from AirShopping and need ancillary services for that itinerary. No prior OfferPrice is required.

Request Payload

<?xml version="1.0" encoding="UTF-8"?>
<IATA_ServiceListRQ xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage"
                    xmlns:cns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
    <DistributionChain>
        <cns:DistributionChainLink>
            <cns:Ordinal>1</cns:Ordinal>
            <cns:OrgRole>Seller</cns:OrgRole>
            <cns:ParticipatingOrg>
                <cns:Name>Travel Agency XYZ123511</cns:Name>
                <cns:OrgID>7f9c2b1e-3a4d-4e5f-8a6b-1c2d3e4f5a6b</cns:OrgID>
            </cns:ParticipatingOrg>
        </cns:DistributionChainLink>
    </DistributionChain>
    <Request>
        <cns:ServiceListCoreRequest xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
            <cns:OfferRequest>
                <cns:Offer>
                    <cns:OfferID>30bdde1b-cbc1-41d5-a832-ef8b2a665321</cns:OfferID>
                    <cns:OfferItem>
                        <cns:OfferItemID>0bc734ea-8d1b-459f-978a-afcd9b257ec0:01484b6d-50d2-41a7-8dd3-5380baab9322</cns:OfferItemID>
                    </cns:OfferItem>
                    <cns:OwnerCode>VS</cns:OwnerCode>
                </cns:Offer>
            </cns:OfferRequest>
        </cns:ServiceListCoreRequest>
        <cns:ResponseParameters>
            <cns:CurParameter>
                <cns:CurCode>USD</cns:CurCode>
            </cns:CurParameter>
            <cns:LangUsage>
                <cns:LangCode>en</cns:LangCode>
            </cns:LangUsage>
        </cns:ResponseParameters>
    </Request>
</IATA_ServiceListRQ>

ServiceList — By order

Use this mode for an existing booking when ancillary pricing must be based on the order and its order items.

Request Payload

<?xml version="1.0" encoding="UTF-8"?>
<IATA_ServiceListRQ xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage"
                    xmlns:cns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
    <DistributionChain>
        <cns:DistributionChainLink>
            <cns:Ordinal>1</cns:Ordinal>
            <cns:OrgRole>Seller</cns:OrgRole>
            <cns:ParticipatingOrg>
                <cns:Name>Travel Agency XYZ123511</cns:Name>
                <cns:OrgID>7f9c2b1e-3a4d-4e5f-8a6b-1c2d3e4f5a6b</cns:OrgID>
            </cns:ParticipatingOrg>
        </cns:DistributionChainLink>
    </DistributionChain>
    <Request>
        <cns:ServiceListCoreRequest xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
            <cns:OrderRequest>
                <cns:Order>
                    <cns:OrderID>754555bf-d24f-4c85-b234-4b4f00db837f</cns:OrderID>
                    <cns:OrderItem>
                        <cns:OrderItemID>7dbfaecf-4938-4daa-bcff-410496261bc9</cns:OrderItemID>
                    </cns:OrderItem>
                    <cns:OwnerCode>VS</cns:OwnerCode>
                </cns:Order>
            </cns:OrderRequest>
        </cns:ServiceListCoreRequest>
        <cns:ResponseParameters>
            <cns:CurParameter>
                <cns:CurCode>USD</cns:CurCode>
            </cns:CurParameter>
            <cns:LangUsage>
                <cns:LangCode>en</cns:LangCode>
            </cns:LangUsage>
        </cns:ResponseParameters>
    </Request>
</IATA_ServiceListRQ>

Response

Success Response (200 OK)

Returns an IATA_ServiceListRS XML document containing DataLists and an ALaCarteOffer with service-priced offer items. The example below reflects the offer-based fixture; order-based responses use the same structure but return a reshop offer generated from the order context.

Response Payload

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:IATA_ServiceListRS xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes" xmlns:ns2="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage">
    <ns2:Response>
        <DataLists>
            <DatedMarketingSegmentList>
                <DatedMarketingSegment>
                    <Arrival>
                        <AircraftScheduledDateTime>2026-03-19T14:30:00</AircraftScheduledDateTime>
                        <IATA_LocationCode>AAC</IATA_LocationCode>
                    </Arrival>
                    <CarrierDesigCode>DX</CarrierDesigCode>
                    <DatedMarketingSegmentId>DMS1</DatedMarketingSegmentId>
                    <DatedOperatingSegmentRefId>DOS1</DatedOperatingSegmentRefId>
                    <Dep>
                        <AircraftScheduledDateTime>2026-03-19T12:30:00</AircraftScheduledDateTime>
                        <IATA_LocationCode>AAL</IATA_LocationCode>
                    </Dep>
                    <MarketingCarrierFlightNumberText>DX7879</MarketingCarrierFlightNumberText>
                </DatedMarketingSegment>
            </DatedMarketingSegmentList>
            <DatedOperatingSegmentList>
                <DatedOperatingSegment>
                    <CarrierDesigCode>DX</CarrierDesigCode>
                    <DatedOperatingSegmentId>DOS1</DatedOperatingSegmentId>
                    <OperatingCarrierFlightNumberText>DX7879</OperatingCarrierFlightNumberText>
                </DatedOperatingSegment>
            </DatedOperatingSegmentList>
            <OriginDestList>
                <OriginDest>
                    <DestCode>AAC</DestCode>
                    <OriginCode>AAL</OriginCode>
                    <OriginDestID>OD1</OriginDestID>
                    <PaxJourneyRefID>JOUR1</PaxJourneyRefID>
                </OriginDest>
            </OriginDestList>
            <PaxJourneyList>
                <PaxJourney>
                    <Duration>PT1H</Duration>
                    <PaxJourneyID>JOUR1</PaxJourneyID>
                    <PaxSegmentRefID>SEG1</PaxSegmentRefID>
                </PaxJourney>
            </PaxJourneyList>
            <PaxList>
                <Pax>
                    <PaxID>PAX1</PaxID>
                    <PTC>ADT</PTC>
                </Pax>
            </PaxList>
            <PaxSegmentList>
                <PaxSegment>
                    <DatedMarketingSegmentRefId>DMS1</DatedMarketingSegmentRefId>
                    <MarketingCarrierRBD_Code>DX</MarketingCarrierRBD_Code>
                    <OperatingCarrierRBD_Code>DX</OperatingCarrierRBD_Code>
                    <PaxSegmentID>SEG1</PaxSegmentID>
                </PaxSegment>
            </PaxSegmentList>
            <PriceClassList>
                <PriceClass>
                    <Name>Economy</Name>
                    <PriceClassID>PC1</PriceClassID>
                </PriceClass>
            </PriceClassList>
            <ServiceDefinitionList>
                <ServiceDefinition>
                    <Name>Cykler - OddSize</Name>
                    <ServiceDefinitionID>SD1</ServiceDefinitionID>
                </ServiceDefinition>
                <ServiceDefinition>
                    <Name>Skiudstyr - OddSize</Name>
                    <ServiceDefinitionID>SD2</ServiceDefinitionID>
                </ServiceDefinition>
                <ServiceDefinition>
                    <Name>food - Food</Name>
                    <ServiceDefinitionID>SD4</ServiceDefinitionID>
                </ServiceDefinition>
            </ServiceDefinitionList>
        </DataLists>
        <ALaCarteOffer>
            <OfferID>30bdde1b-cbc1-41d5-a832-ef8b2a665321</OfferID>
            <OfferItem>
                <Eligibility>
                    <PaxRefID>PAX1</PaxRefID>
                    <OfferFlightAssociations>
                        <PaxSegmentReferences>
                            <PaxSegmentRefID>SEG1</PaxSegmentRefID>
                        </PaxSegmentReferences>
                    </OfferFlightAssociations>
                </Eligibility>
                <OfferItemID>37bfec30-d49b-401a-84a7-7249f97cd949</OfferItemID>
                <Service>
                    <ServiceDefinitionRefID>SD1</ServiceDefinitionRefID>
                    <ServiceID>SV1</ServiceID>
                </Service>
                <UnitPrice>
                    <BaseAmount CurCode="USD">6.79</BaseAmount>
                    <TaxSummary>
                        <TotalTaxAmount CurCode="USD">0.0</TotalTaxAmount>
                    </TaxSummary>
                    <TotalAmount CurCode="USD">6.79</TotalAmount>
                </UnitPrice>
            </OfferItem>
            <OfferItem>
                <Eligibility>
                    <PaxRefID>PAX1</PaxRefID>
                    <OfferFlightAssociations>
                        <PaxSegmentReferences>
                            <PaxSegmentRefID>SEG1</PaxSegmentRefID>
                        </PaxSegmentReferences>
                    </OfferFlightAssociations>
                </Eligibility>
                <OfferItemID>11e58f1e-37d4-4ac5-8543-e703867f9c5b</OfferItemID>
                <Service>
                    <ServiceDefinitionRefID>SD2</ServiceDefinitionRefID>
                    <ServiceID>SV2</ServiceID>
                </Service>
                <UnitPrice>
                    <BaseAmount CurCode="USD">13.58</BaseAmount>
                    <TaxSummary>
                        <TotalTaxAmount CurCode="USD">0.0</TotalTaxAmount>
                    </TaxSummary>
                    <TotalAmount CurCode="USD">13.58</TotalAmount>
                </UnitPrice>
            </OfferItem>
            <TotalPrice>
                <BaseAmount CurCode="USD">325.44</BaseAmount>
                <TaxSummary>
                    <TotalTaxAmount CurCode="USD">0.0</TotalTaxAmount>
                </TaxSummary>
                <TotalAmount CurCode="USD">325.44</TotalAmount>
            </TotalPrice>
        </ALaCarteOffer>
    </ns2:Response>
</ns2:IATA_ServiceListRS>

Error Responses

400 Bad Request

Invalid request format or missing required fields.

Response Payload

<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse>
    <Error>
        <Code>400</Code>
        <Message>Bad Request - Invalid request format or missing required fields</Message>
        <Details>Request validation failed: Missing required field 'Request.ServiceListCoreRequest'</Details>
    </Error>
</ErrorResponse>

Code Examples

=== “Curl”

```bash
curl -X POST {NDC_GATEWAY_BASE_URL}/v21.3.5/ServiceList \
  -H "x-api-key: your-api-key-here" \
  -H "Content-Type: application/xml" \
  -d @servicelist-request-offer.xml
```

Notes

  1. ServiceListCoreRequest must contain either OfferRequest or OrderRequest; the gateway branches on that choice.
  2. Offer-based lookups use OfferID plus one or more OfferItemID values from the upstream offer context. This request can only be used to get information about the offer.
  3. Order-based lookups use OrderID and OrderItemID values from the existing booking and return a reshop-style ancillary offer.
  4. ResponseParameters controls output preferences such as currency (CurCode) and language (LangCode).