I am making this call:
/admin/api/2022-01/orders.json?limit=100&status=any&updated_at_min=2022-02-01T19:40:47.0000000Z
and getting a deprecated call notice in the response header.:
X-Shopify-API-Deprecated-Reason
https://shopify.dev/changelog/property-deprecations-in-the-rest-admin-api-order-resource
(this is a dead link)
I get this response only when making this call for stores that have mutli- locations enabled.
the same request to a different Shopify store, with only one location enabled
/admin/api/2022-01/orders/count.json?status=any&updated_at_min=2022-02-01T19:57:05.0000000Z
gets no deprecated call header.
When I check the deprecated calls resource for the stores that are getting the deprecated call header, I see this sort of response:
“api_type”: “REST”,
“description”: “The fulfillment_service_handle property will no longer exist on the FulfillmentOrder resource.”,
“documentation_url”: “https://shopify.dev/api/admin/rest/reference/shipping-and-fulfillment/fulfillmentorder#properties-2021-07”,
“endpoint”: “Fulfillment Order”,
“last_call_at”: “2022-02-01T18:57:23.000000Z”,
“migration_deadline”: “2022-04-01T15:00:00.000000Z”,
“graphql_schema_name”: null,
“version”: “2021-07”
the deprecated call response is on the orders end point NOT the fulfilment orders endpoint as the response says.
I do call the fulfillment orders end point like this:
/admin/api/2022-01/orders/(orderID)/fulfillment_orders.json
and this call has no deprecated call notice in the header.
the mentioned property – fulfillment_service_handle – is not used, and I see no reference to it in my code. I am not even finding it in the json response from the orders call that is triggering the deprecated notice.
I am at a loss how to proceed to remedy this.
any help is apreciated.
Thanks
take care
Roy.