Shopify - Storefront Api return order as null

I’ve tried to get order detail by checkout id using a storefront access token. but it returns null. I got the proper response when I call the admin API. I’ve checked the access scope for that token, it has all the required scope. Kindly help me to fix this issue.

Sample query and response below :
query:

{node(
    id: "CHECKOUT_ID_HERE"
  ) {
    ... on Checkout {
       id
      createdAt
      completedAt
      order {
       id
      }
  }
}
}

Response :

{
    "data": {
        "node": {
            "id": "CHECKOUT_ID_HERE",
            "createdAt": "2022-10-20T09:33:08Z",
            "orderStatusUrl": null,
            "completedAt": null,
            "order": null,
        }
    }
}

I’m having same issue. I contacted Shopify support on Saturday and still haven’t heard anything back.

Some other reports:

https://community.shopify.com/topic/1791997

https://github.com/Shopify/js-buy-sdk/issues/917

https://github.com/Shopify/js-buy-sdk/issues/917

@Unknown_Dev This is now working for me. The storefront api suddenly returns the correct completedAt values. Is it working for you now?

@dogowner Yes. it’s working fine now. thanks for the update

I am having the same issue. Checkout was successfully completed but the order, completedAt and transaction objects are null.

{"data":{"checkoutCompleteWithTokenizedPaymentV3":{"checkout":{"order":null,"createdAt":"2023-07-14T18:23:04Z","completedAt":null,"orderStatusUrl":null,"email...

No errors and order were successfully created. I tried versions 2022-07, 2022-10 and 2023-07.

Any help is truly appreciated.

Thanks!