My observation is that they use restrooms in office buildings on their route. Idk what they do on residential routes.
Our UPS driver at least tends to stop over by one right down the road from us. We have a regular driver, which likely helps create a bond with the staff, so you can skip the need to buy something every time.