I am developing a Shopify app with “time-based pricing” and three plans with fixed prices for all shops. Now, I want to include a fourth option for custom enterprise pricing. Here’s what I need for this plan:
It should also be time-based pricing.
The price will be unique for each shop.
To implement this in my Shopify app using the billing API, how can I create this custom enterprise plan specifically priced for each shop?
Charges are created for, and approved by, each individual shop - couldn’t you change the price for specific enterprise shops? Let me know if I’m not following.
Imagine you want to set up a monthly recurring subscription charge with different prices per shop. You’ll utilize appSubscriptionCreate, where you’ll pass in lineItems → price → amount. Since our objective is to make this “amount” dynamic for each shop, you can add logic to check the current shop and populate this amount variable with the corresponding price for that shop.