MT#9447 Add external_id query parametere for customers.

(cherry picked from commit aa99236a2b6d6e86a5dad110edc16eeeb16dc32a)