Command Reference
NDCTerm uses a cryptic command language inspired by traditional GDS systems and designed for the NDC 24.1 standard. Commands are short, consistent, and follow a few clear patterns.
Namespaces
Commands use prefix characters to indicate their category. If you see a prefix, you can guess what the command does.
| Prefix | Category | Example |
|---|---|---|
(none) | Shopping & search | 15NOVJFKLAX |
1–9 | Selection | 1, 1-3 |
A–Z | Actions | WP, ER, CANCEL |
* | Lookup & display | *ABC123, *L |
- | Passengers | -DOE/JANE MS |
@ | Passenger attributes | @DOB01JAN1980 |
$ | Seats | $12A, $MAP |
! | Special service requests | !P1/VGML |
+ | Ancillaries | +BAG1/25KG |
% | Loyalty programs | %P1/UA/123 |
? | Queries & help | ?FR, ?BAG |
# | Workspaces | #1, #NEW |
X | Delete | X1, XA |
D | Split order | D1 |
Search
15NOVJFKLAX
Search JFK to LAX on Nov 15. Schedule mode (cached, instant, nonstop).
15NOVJFKLAX/AA
Filter to a specific carrier.
15NOVJFKLAX/SHOP
Shop mode — live priced offers from the airline.
15NOVJFKLAX/SHOP7/AA
7-day price calendar on AA. Cheapest date highlighted.
15NOVJFKLAX/20NOVLAXJFK
Round-trip. Auto-shops via NDC API.
15NOVJFKLAX/18NOVLAXSFO/20NOVSFOORD
Multi-city. Auto-shops via NDC API.
15NOVJFKLAX/SHOP/J
Cabin filter: /E economy, /W premium, /J business, /F first.
15NOVJFKLAX/SHOP/*A
Alliance filter: *A Star, *O Oneworld, *S SkyTeam.
15NOVJFKLAX/SHOP/-BA
Exclude a carrier.
15NOVJFKLAX/NONSTOP
Connection limit: /NONSTOP, /1STOP, /2STOP, /ANY.
15NOVJFKLAX/SHOP/2ADT/1CHD
Passenger counts. PTC codes: ADT, CHD, INF, YTH, SRC…
Select
1
Select flight 1 from results.
1/2/3
Select multiple non-consecutive flights.
1-5
Select a range.
1R
Long-sell row 1 with booking class R.
I
Clear selection & offers (keeps workspace buffer).
X / CLEAR
Clear everything — selection, offers, and workspace buffer.
Passengers
-DOE/JANE MS
Add adult passenger. Format: -SURNAME/GIVEN TITLE.
-DOE/TIMMY MSTR
Add child passenger.
@DOB01JAN1980
Date of birth (last passenger).
@P1/DOB01JAN1980
Date of birth for a specific passenger.
@M / @F
Gender (last passenger).
@PAXTEL+15551234567
Phone number (last passenger).
@PAXEMAIL/[email protected]
Email (last passenger).
@P1/DOCPP/USA/123456789
Passport for passenger 1. DOCID for ID card, DOCO for visa.
@P1/KTN/123456789
TSA PreCheck Known Traveler Number.
XP1
Delete passenger 1.
Seats & services
Seats
$MAP
Show seat map for current segment.
$MAP1
Seat map for a specific segment.
$P1/12A
Queue seat 12A for passenger 1. Commit with ER.
$P1/X
Remove a passenger's seat.
Special service requests (SSRs)
!P1/VGML
Vegetarian meal for passenger 1.
!P2/WCHR
Wheelchair for passenger 2.
!P1/S2/WCHR
Wheelchair, segment 2 only.
!P1/PETC
Pet in cabin.
Ancillaries & services
+BAG1/25KG
Add 1 bag (25kg) for last passenger.
+P1/BAG1/25KG
Add bag for a specific passenger.
+P1/LOUNGE
Add lounge access.
SERVICES
List all available services.
SERVICES/3
Purchase service #3.
SERVICES/P1/3
Purchase service #3 for passenger 1.
Loyalty programs
%P1/UA/123456789
United MileagePlus for passenger 1, all segments.
%P1/UA/123456789/UA
For passenger 1, only on UA segments.
%P1/UA/123456789/*A
For passenger 1, on Star Alliance segments.
Pricing
WP
Price all offers for current selection.
WPE / WPB / WPF
Cabin-specific pricing: economy, business, first.
WP*
Price with detailed tax breakdown.
WP/AC*CORP123
Price with corporate account code.
WP/CT*CONTRACT456
Price with negotiated contract ID.
WP/PC*SAVE50
Price with promotion code.
WP/AC*CORP1/PC*PROMO
Combine qualifiers.
Booking
1ER
Book offer 1, end & retrieve.
1ETR
Book, ticket immediately, and retrieve.
ER
Commit current changes (no display).
ET
Commit and ticket.
Orders
*ABC123
Retrieve order by ID.
*-DOE/JANE
Retrieve most recent order by passenger name.
*
Display current order.
*I
Display itinerary only.
*PAX
Display passengers only.
*L / *LIST
List all orders.
*L/ACTIVE
Filter by status: ACTIVE, TICKETED, CANCELLED, PENDING.
*H
Show order history (version trail).
Modify orders
No "change mode" required. Retrieve the order, make modifications, commit with ER.
X1
Delete segment 1.
X1/2/3
Delete multiple segments.
X1-3
Delete a range.
XA
Delete all segments.
IR
Ignore changes and retrieve original order.
Cancel, void, refund & credit
All four commands fetch real airline quotes before confirming. No local estimates.
CANCEL
Cancel current order. Real airline quote, prompts Y/N.
VOID
Void tickets. Validates void window; rejects if outside.
REFUND
Refund tickets, keep flights active.
CREDIT
Cancel flights, retain ticket credit for future use.
CANCEL/EMD/1
Cancel a specific EMD service line.
D1
Split passenger 1 into a new order.
| Command | Flights after | Tickets after |
|---|---|---|
CANCEL | Cancelled | Voided / refunded |
VOID | Active | Voided (full refund) |
REFUND | Active | Refunded (may have penalty) |
CREDIT | Cancelled | Credit retained |
Complete workflows
Simple one-way booking
15NOVJFKLAX # Search flights
1 # Select flight 1
-DOE/JANE MS # Add passenger
@PAXTEL+15551234567 # Add phone
WP # Price offers
1ER # Book offer 1 and commit
Round-trip with services
15OCTJFKLAX # Search outbound
1 # Select outbound
20OCTLAXJFK # Search return
2 # Select return
-DOE/JANE MS # Add passenger
@DOB01JAN1980 # Date of birth
@F # Gender
$12A # Select seat
!P1/VGML # Vegetarian meal
+BAG1/25KG # Add baggage
WP # Price
1ER # Book
Corporate booking with immediate ticketing
15NOVJFKLAX # Search
1 # Select
-DOE/JANE MS # Add passenger
WP/AC*CORP123 # Price with corporate account
1ETR # Book, ticket, retrieve
Change flight date
*ABC123 # Retrieve order
X1 # Delete outbound segment
22NOVJFKLAX # Search new date
1 # Select new flight
WP # Price reshop offers
1ER # Commit changes
Cancel
*ABC123 # Retrieve order
CANCEL # Real airline quote, prompts Y/N
Multi-airline booking with different FFNs
15NOVJFKLHR # JFK to London
1 # Select BA flight
17NOVLHRCDG # London to Paris
2 # Select AF flight
-DOE/JANE MS
@DOB01JAN1980
%P1/BA/123456/BA # BA Executive Club, BA segments only
%P1/AF/789012/AF # Flying Blue, AF segments only
WP
1ER
Quick reference
Search & select
15NOVJFKLAX
15NOVJFKLAX/SHOP
15NOVJFKLAX/AA
1
1/2/3
I
X / CLEAR
Passengers
-DOE/JANE MS
@DOB01JAN1980
@PAXTEL+15551234
@P1/DOCPP/USA/123
$12A
!P1/VGML
+BAG1/25KG
Price & book
WP
WP/AC*CORP1
1ER
1ETR
ER
Orders
*ABC123
*L
*L/TICKETED
CANCEL
VOID
REFUND
CREDIT
D1
Modify
X1
XA
IR
ER
Navigation
NEXT / PREV
#1 / #2
#NEW
#LIST
Ready to use these commands?
NDCTerm is in limited release. Tell us how you'd use it and we'll be in touch.
Request Access