Re: Order API not working

Topic summary

Main issue: An orders endpoint that previously returned details (e.g., created_at) now returns no results.

  • Endpoint used: /admin/api/2021-01/orders.json?ids={{order_id}}&fields=created_at.
  • Observed behavior: No data returned for the specified order ID.

Diagnosis:

  • The API version in use (2021-01) is outdated.

Suggested resolution:

  • Update the API to a newer version and retry the request.

Status:

  • No confirmation yet that updating the version resolves the issue.
  • No error messages or additional troubleshooting steps were provided.
Summarized with AI on February 2. AI used: gpt-5.

Hi,

I just wanted to raise a concern regarding the API used for fetching the order details like created_at and any other details.

We are using an API that returns the detail of an orders.

API: /admin/api/2021-01/orders.json?ids={{order_id}}&fields=created_at

But now, if we are using the same API, it is not providing any result.

Hi,

You are using an outdated version(2021-01) of the api, update the version and it should work.