phpclassic/php-shopify

does the sdk support the 2024-04 api version?

Closed this issue · 2 comments

image

got this error then changed the api version to 2024-04, do someone is having the same problem?

You can use the latest API Version by mentioning in the config :

$config = array(
    'ShopUrl' => 'yourshop.myshopify.com',
    'AccessToken' => '***ACCESS-TOKEN-FOR-THIRD-PARTY-APP***',
    'ApiVersion' => '2024-04',
);

@gabrielalves00
Anyways, I have updated the default API version in the SDK, so you will be good if you use the latest version of the sdk (v1.2.10). However, it is always recommended to mention your own supported Api Version in your config.