Trading requires foreign Settlements to work at least one resource. In the Antiquity Age and the Exploration Age, your Merchant must physically move to a Settlement before being able to establish a Trade Route. Upon establishing a Trade route, you gain GDP and a copy of all the resources in that Settlement, while the other party gains Gold as Trade Income per copy of the resource. Multiple copies of a single resource stack additively, increasing benefits like purchase discounts. Settlements must be part of your trade network to share resources, the range of which is expandable by having a Naval building, properly placed Settlements, and a Town Focus. Reassigning resources is only possible when acquiring new ones or expanding resource slots.
Tip: Accumulate multiple copies of essential resources, such as Gold, to build stacking bonuses that significantly enhance your Gold power.