I have added a new Shopify API Resource to retrieve the Shopify API Deprecations that Shopify has logged in their system. This is helpful for developers to stay up to date with deprecations that are coming up in the future. The resource returns an array of API deprecations example:
[0]=>
array(8) {
["api_type"]=>
string(4) "REST"
["description"]=>
string(83) "Some customer fields have been deprecated from the Admin REST API's Order resource."
["documentation_url"]=>
string(88) "https://shopify.dev/changelog/property-deprecations-in-the-rest-admin-api-order-resource"
["endpoint"]=>
string(5) "Order"
["last_call_at"]=>
string(27) "2022-12-13T16:59:32.000000Z"
["migration_deadline"]=>
string(27) "2023-04-01T15:00:00.000000Z"
["graphql_schema_name"]=>
NULL
["version"]=>
string(7) "2022-07"
}
I have added a new Shopify API Resource to retrieve the Shopify API Deprecations that Shopify has logged in their system. This is helpful for developers to stay up to date with deprecations that are coming up in the future. The resource returns an array of API deprecations example:
Usage
$shopify->ApiDeprecations()->get()
More Information https://shopify.dev/api/admin-rest/2022-04/resources/deprecated-api-calls#get-deprecated-api-calls
Thank you for the consideration of this PR, my team and myself would find this as a helpful inclusion to the library.
PS - I also have submitted a PR for Callbacks after Curl requests, would it be possible to include this in the library as well? https://github.com/phpclassic/php-shopify/pull/276