Your meaning is slightly different in each one::
We would like to confirm to you that the goods were picked up on March 10th = we are confirming that this happened. The goods were collected from us.
We would like to confirm with you ..... = can you confirm that this happened. The goods were collected from your factory/depot/warehouse.