The goods were shipped yesterday.

Literal

Goods [topic-は] yesterday was-shipped [polite-ました].

出荷される is the passive of 出荷する ('to ship out'). The passive here is natural — the focus is on the goods, not who shipped them. されました is the polite past passive.