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

Enable setting the app billing discount field or make shopifyApp idempotent - if it isn't already #1698

Open
LouiseEH opened this issue Oct 28, 2024 · 2 comments
Labels

Comments

@LouiseEH
Copy link

Overview

C.f. https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/appsubscriptioncreate the field lineItems.plan.appRecurringPricingDetails.discount enables the app developer to give the merchant a discounted price.

For this reason it would be nice to be able to set the field dynamically.

Is there a way to set and update the discount field in the shopifyApp configuration?
Or is the shopifyApp call alternatively idempotent, making it possible to call shopifyApp multiple times and merely changing the discount field in order to change the current app price discount, without any unexpected side-effects? And if it is already possible, how is the discount field supposed to be set - I can't seem to find it in the code.

Kind regards,
-Louise

@lizkenyon
Copy link
Contributor

Hi there 👋

I appreciate your feedback that it would be nice to have a helper function that would better allow you to dynamically create app subscriptions. This is feedback I will bring back to the team to discuss.

At this time the workaround would be to make the API call directly with the API client, for shop's that should have a unique subscription plan.

Copy link
Contributor

github-actions bot commented Jan 5, 2025

We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests.

You can add a comment to remove the label if it's still relevant, and we can re-evaluate it.

@github-actions github-actions bot added the Stale label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants