Open GhaithxSW opened 1 year ago
Your private app in the Shopify store has an old API version that will no longer be supported in October, you must go to your store and change the version of your custom app to newer API versions.
@AlexandreSantos76 Thanks for replying, Do you mean the Webhook subscription version here: , or I should add the apiVersion option in my Shopify instance?
@GhaithxSW yes select latest in Event version
@AlexandreSantos76 Got it, I think I have to wait about 14 days to see the effects and the warning should disappear right? Just to confirm I have to change nothing in my code right?
I still get the deprecated API warning after upgrading the version..
[
{
"api_type": "REST",
"description": "The gateway, payment_details, and processing_method fields on the Order resource have been removed.\n\n\nThe `orders/transactions.json` REST endpoint, and the `transactions` GraphQL connection provide correct information per transaction set.\n",
"documentation_url": "https://shopify.dev/changelog/payment-properties-deprecation-on-the-admin-api-order-resource",
"endpoint": "Order",
"last_call_at": "2023-10-01T09:19:47.000000Z",
"migration_deadline": "2024-01-01T15:00:00.000000Z",
"graphql_schema_name": null,
"version": "2023-04"
},
{
"api_type": "REST",
"description": "The delivery_category field has been removed from the ShippingLine REST Admin API.",
"documentation_url": "https://shopify.dev/changelog/removal-of-the-delivery_category-field-on-order-shipping-lines",
"endpoint": "Order",
"last_call_at": "2023-10-01T09:19:47.000000Z",
"migration_deadline": "2024-04-01T15:00:00.000000Z",
"graphql_schema_name": null,
"version": "2023-07"
},
{
"api_type": "REST",
"description": "The `origin_location` and `destination_location` fields on line items have been deprecated from Admin REST API's Order resource.",
"documentation_url": "https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource",
"endpoint": "Order",
"last_call_at": "2023-10-01T09:19:47.000000Z",
"migration_deadline": "2023-07-01T15:00:00.000000Z",
"graphql_schema_name": null,
"version": "2022-10"
},
{
"api_type": "REST",
"description": "The `total_price_usd` field on `Order` has been deprecated from the Admin REST API's Order resource.",
"documentation_url": "https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource",
"endpoint": "Order",
"last_call_at": "2023-10-01T09:19:47.000000Z",
"migration_deadline": "2023-07-01T15:00:00.000000Z",
"graphql_schema_name": null,
"version": "2022-10"
}
]
Hello,
I believe Shopify-api-node has to be updated to accommodate these changes. I don't think the Event version the app uses is the issue.
I got an email on the 31st that says:
One or more of your apps have made deprecated API calls in the last 14 days. Support for this version will be removed on January 2, 2024. Please update the apps listed below to API version 2023-04 or later to ensure they continue to function correctly.
The delivery_category field has been removed from the ShippingLine REST Admin API View change
The gateway, payment_details, and processing_method fields on the Order resource have been removed. The orders/transactions.json
REST endpoint, and the transactions
GraphQL connection provide correct information per transaction set. View change
Thank you!
Hi,
first thanks for the great work on that library, awesome!
Is there any update on this specific issue? We just received a similar message, that the fields gateway, payment_details and processing_method have been removed in the Resource Order (orders/transaction.json) and the Field delivery_category from the ShippingLine.
Support for this version will be dropped by April 1, 2024 as of Shopify.
I have Shopify custom app warning for a while saying the app may stop working due to using deprecated API versions:
I checked the deprecated API list by calling
deprecatedApiCall.list()
and the response:I noticed that they're exist in
shopify-api-node\types\index.d.ts
How can I fix this? should I do something or it should be updated by you?Appreciate your work and time, Best regards.