You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: