The Sandwich Police Department is investigating an alleged armed robbery that took place after a victim arranged an online transaction through Facebook Marketplace.