How to retrieve the pointId of a selected pickup point?

I am using the Pickup Point Delivery Option Generator API reference, and I get a JSON response. How can I retrieve the pointId value of the selected point or any other data from the object when querying an order from my custom app?

I would like to be able to use something like this for orders to retrieve it:

$respuesta = shopify_call(
    $datos_api['access_token'],
    $datos_api['shop'],
    '/admin/api/2023-07/orders/' . $order_number . '.json',
    [],
    'GET'
);

And then do something like to extract the data:

$order['shipping_address']['phone']

Thank you for your response, I will try it out and let you know, thanks again.