swing by

中级 (B1) informal

To quickly visit a place for a short time while you are going somewhere else.

"I'll swing by the bakery on my way home and pick up some bread."