Dublicate order created by Shopify is not coming the response of get all order API

Dublicate order created by Shopify is not coming the response of get all order API

Which API are you using (REST GET /admin/api/…/orders.json or maybe GraphQL orders query), and what do you mean by duplicate (manual duplicate in admin, edited order, app-created copy, etc.)? Hard to give useful help without a bit more information.

using GET /admin/api/…/orders.json api, Its was shopify customer support who create a dublicate of an order , which visible on shopify but is not comming in the response of mentioned API

Hi,

Shopify doesn’t normaly hide things. If it’s not showing, it’s probably being filtered out. GET /admin/api/…/orders.json api supports a lot of filters. Check Query parameters in Order for a list.

Reasons could be - status default is open. If you don’t pass status, Shopify defaults to status=open which exclides orders that are archived, cancelled or closed. In those cases you would have to explicitly request status=any.
Other reasons could be - Date filters, financial/fulfillment status filters, and ID filters. You can get examples of all of them in Order . Have a look and come back if you are still stuck.