phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

does the sdk support the 2024-04 api version? #328

Closed gabrielalves00 closed 1 month ago

gabrielalves00 commented 1 month ago

image

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

tareqtms commented 1 month ago

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',
);
tareqtms commented 1 month ago

@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.