bold-commerce / go-shopify

Go client for the Shopify API
MIT License
330 stars 256 forks source link

feat: add app uninstall functionality #267

Closed ghodss closed 9 months ago

ghodss commented 9 months ago

Add the ability to uninstall an app over the Shopify REST API by calling DELETE on the admin/api_permissions resource. Documentation for this functionality is found on Shopify API docs here. Note that DELETE is the only method allowed on the api_permissions resource, hence it is the only method implemented.

I’ve added a test and tested manually to confirm this works, but please let me know if I’ve missed anything!

oliver006 commented 9 months ago

Thanks for adding that, that's great!

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (58f8f44) to head (4eaff49). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #267 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 51 52 +1 Lines 2207 2211 +4 ========================================= + Hits 2207 2211 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.