GO7 API DOCUMENTATION

WE-7 Cancel a segment

Postman: UseCase/Manage booking - Cancel/Cancel Segment

Capabilities. Cancel a segment

Sequence. OrderRetrieve → OrderReshop → OrderChange → OrderRetrieve

Preconditions. An order with more than one flight.

Step Message Send Get back Carry forward
1 OrderRetrieve OrderID Current order OrderItemRefID of the part to remove
2 OrderReshop OrderID and the OrderItemRefID to cancel Cancel offer for that item OfferRefID, OfferItemRefID
3 OrderChange The accepted cancel offer Order with the segment removed OrderID
4 OrderRetrieve OrderID Remaining itinerary —

Outcome. The selected segment is removed and the rest of the order is untouched.

Watch out for. This flow has no quote step. Selecting the right OrderItemRefID in step 2 is what limits the cancellation to one part of the order.


All worked examples · NDC Partner Guide