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']