There is no shipping address returned from orders API

Hello,

When I send a GET request to retrieve all orders (https://xxx.myshopify.com/admin/api/2022-10/orders.json),,) I successfully get the response, but in the shipping_address field, only province, country, company, country_code, province_code have been returned, without shipping address details like address1.

Does anyone know why is this happening? Thanks.

2 Likes

When I’m sending a request from 2022-04 api it’s returning shipping_address information but when I’m sending a request from 2022-10 shipping_address doesn’t have customer information.

They probably made a new endpoint for customer address and info

2 Likes

Reason it was not going through was Shopify new customer policy. You need to request customer data from shopify app dashboard.

Hi Mwaqas
I am facing similar issues.
Can you please tell me how to fetch the orders from shopify app dashboard.

Can you recommend any free app that will let me do this through API calls?

Hello,

In my case, this problem was caused by the Shopify plan — you could upgrade it to a higher version as an option.

Alternatively, if you only need that data once, you can manage it through webhooks. For example, what I do is create a webhook where I receive the complete order data and process it in my system.