Skip to content

Commit

Permalink
Update API Version
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqtms authored Jul 14, 2022
1 parent 6f56675 commit 5bc3d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ShopifySDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class ShopifySDK
/**
* @var string Default Shopify API version
*/
public static $defaultApiVersion = '2022-01';
public static $defaultApiVersion = '2022-07';

/**
* Shop / API configurations
Expand Down

1 comment on commit 5bc3d3a

@bincani
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Tareqtms,

Just a word of warning; I had this in my compser file "phpclassic/php-shopify": "^1.1".

So after my last composer update all my order fullfilments obvisouly started failed with: Error: Request failed with HTTP Code 404.

I would suggest you update your doco with a note to developers that they should lockdown your library to a version.
e.g.
composer require phpclassic/php-shopify:1.1.22

That way they wont get suprise SDK version updates like I did ;)

Keep up the good work.

Thanks,

-Ben

Please sign in to comment.