Being a new purchase, you do need to 'allow' time to settle in and for the snake to acclimatise to the new environment without too much disturbance and handling.
Royals do tend towards fasting this time of year, this corresponds to the breeding or brumation period of a snakes lifecycle. This can be most noticeable in wild and first clutches of captive bred, with CB sometimes this trait comes through - sometimes not. However, yours is obviously too young to breed by the sounds of it.
There are various things you can do and check. Make sure the environment is suitable for the snake, that there’s places to hide, that it is not too big (its no good putting a baby in the viv intended for adulthood), plenty of water, a sufficient and safe heat source and lighting as appropriate etc. Is the temperature being maintained and a gradient present. this can be difficult over here and especially
if the housing isn’t a good heat retainer. Wood tends to retain heat better than glass. Also where you keep the vivarium can make a difference to the environment maintained and even the snakes comfort/wellbeing. Use a digital thermometer if possible as this will give a clearer reading that the 'stick-on's'. A simple indication of temperature and the snakes comfort is if it tends to spend all its time at one end - either very close to the heat source or the coolest spot.
Did you see the snake feed prior to getting it? Were you told it's feeding characteristics - is it a strike feeder or is the food placed in the viv either in a feed box or otherwise and the snake left to its own devices. How often and also when was the snake fed. The source of the food, the size, even the colour of it can trigger a negative response. Ensure it is properly defrosted. Pythons have heat sensory glands which are used during feeding. You could try gently warming the food. Not in a microwave as this cooks it (inside out) and stinks. You could place the food in a plastic bag and stand in hot water until warmed through. Another trick you could try is 'braining' whereby you make a slit into the head,-cut it off even. Yet another temptation is to offer adult rat tails. Feed at night, turning any display lights off. Maybe either cover the viv. so the snake doesn’t feel exposed or alternatively place the snake and the prey in an opaque small feeding box.
Good luck and hope you enjoy your new friend.

To be someone is to be no-one,-I am no-one.
Belief from within let's the magic begin.