Check if an order is ready for pick up via API

Hi, guys

I’m just wondering how to check if an order is ready for pick up via API.

I’m not able to find relevant information on the dev documentation.