You must have a QuickBooks Online Essentials or Plus account to map COGS accounts to settlement transactions.
Only Essentials or Plus subscriptions can map Cost of Goods Sold accounts to Settlement transactions.
If you have one of those plans, then go to the Settlement tab. Click on the transaction you want to map and select your Cost of Goods Sold account. If you just created it, then click on the Refresh button.