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

Support for partners API #836

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Conversation

clement911
Copy link
Collaborator

@clement911 clement911 commented Feb 3, 2023

See https://shopify.dev/api/partner

This includes the PartnerService, some tests and enhancements to the leaky bucket policy because the Partners API has its own rate limits.

Running the tests requires 2 new environment variables:

  1. SHOPIFYSHARP_ORG_ID => The Id of a partner organization. When logged in the partner dashboard, it shows in the url after https://partners.shopify.com/
    image

  2. SHOPIFYSHARP_ORG_TOKEN => Within the partner dashboard, go to Settings then click 'Manage Partner API clients'. Then create a dummy client for testing. Ensure you grant the 'View financials', required to run run and copy the access token in the environment variable.
    image

@clement911
Copy link
Collaborator Author

@nozzlegear can you please add the 2 new environment variables to the build settings?

These are required to pass the new tests.

Then you can merge.

Let me know it's not all clear.

@nozzlegear
Copy link
Owner

nozzlegear commented Feb 4, 2023 via email

@nozzlegear nozzlegear merged commit 36dc07b into nozzlegear:master Feb 21, 2023
@clement911
Copy link
Collaborator Author

@nozzlegear have you been able to add the 2 new env variables to get the new tests running?

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

Successfully merging this pull request may close these issues.

2 participants