Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Indonesia to Samoa as you normally would.
This is defined as Denpasar Bali Ngurah Rai Airport (DPS) and Apia Faleolo Airport (APW). Codes like Apia Faleolo Airport are often used to just call airports uniquely. Ready for more IATA code knowledge? These are related airports for your current travel destination: Jakarta Soekarno-Hatta Intl Airport (CGK), Surabaya Juanda Airport (SUB), Praya Lombok Intl Airport (LOP), Medan Kuala Namu Intl Airport (KNO), Yogyakarta Intl Airport (YIA).