There can be restrictions. Many patterns state that anyone who buys the pattern can use it for their own, personal use, but not for any type of commercial use, which includes selling the finished goods online. Look over your pattern and see if it says anything about the copyright.