API deprecation notice for the simplest call

Hi there,

I am trying to make what I think is the simplest API call possible

https://my-dev-store.myshopify.com/admin/api/2023-01/orders/<a_valid_order_id>.json?fields=name

But I am still getting the deprecation notice.

API Deprecation Notice: {
  message: 'https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource',
  path: 'https://my-dev-store.myshopify.com/admin/api/2023-01/orders/<a_valid_order_id>.json?fields=name'
}

Not sure if I am doing something wrong as, even if I try the example call from API docs

https://shopify.dev/docs/api/admin-rest/2023-01/resources/order#get-orders-order-id?fields=id,line-items,name,total-price

I get the same deprecation warning.

Any help on this will be greatly appreciated.

Thanks

1 Like

I’m running into the same problem, any solutions?

I’m hitting the api with the Shopify REST API doc example order to the node package listed and getting a deprecation warning interception and not any actual response