Is it OK to order something from amazon knowing it’s going to come on shabbos
Answer:
If the delivery is specifically for Shabbos this would be prohibited, and included in the prohibition of Amira LAkum.
However, if the agreement is that it must be there by Shabbos, but they can also deliver it before Shabbos, and this is a possibility for them, it would be permitted. In that case they are delivering it on Shabbos for their own convenience.