We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to retrieve the pointId of a selected pickup point?

How to retrieve the pointId of a selected pickup point?

Tipsa
Shopify Partner
4 0 1

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

 

Reply 1 (1)

Tipsa
Shopify Partner
4 0 1

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