Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest supported API version? #300

Open
par5er opened this issue Jul 16, 2024 · 3 comments
Open

Latest supported API version? #300

par5er opened this issue Jul 16, 2024 · 3 comments

Comments

@par5er
Copy link

par5er commented Jul 16, 2024

Hi, thanks for this library. Could I know what is the latest supported version of the Shopify Rest API? From reading the commits it appears to be 2024-04. Is that right?

@oliver006
Copy link
Collaborator

tbh I'm not entirely sure what the latest version is as individual endpoints are not all equally well supported and are at the same level.
So I wouldn't feel comfortable to say that "all 2024-04 rest REST functionality is supported" but you can certainly set your API version to "2024-04", cross your fingers and should most probably be ok.

Note to self: we should probably update the API version in the README to be more current and not 2019...

@par5er
Copy link
Author

par5er commented Jul 17, 2024

Would appreciate it if you could shed some light on how this library is used in production at Bold Commerce. Specifically - how do you determine the API version that corresponds to a given go-shopify struct? (aside from manually comparing every field with the Admin API reference, of course)

We recently migrated our codebase from manual HTTP calls to go-shopify but have been getting spurious unmarshal errors as the Shopify resource (Order and Fulfillment mostly) does not match the corresponding struct in this library. Pretty sure this is because of a mismatch between our specified API version and the highest supported version of it in go-shopify. Would be grateful for some clarity on this matter.

@oliver006
Copy link
Collaborator

I don't work for bold-commerce, I simply maintain this library.

If you encounter unmarshal errors then please raise an issue with details on what endpoint fails, etc so it can be looked into and fixed.
This is not an official library supported by Shopify but it was created and is maintained by volunteers and your help in keeping it updated and functional is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants