I’m working on the plans page of my shopify app. It’s a public app and has the listing status ‘draft’.
When sending a post request to recurring_application_charges.json, using the rest api, I get the error ‘403 Forbidden’. The store I’m testing this out on is a development store. I’m sending the necessary parameters ‘name’, ‘price’, and ‘return_url’ (test is set to true)
Here is the x-request-id:
486540b5-be45-4495-b053-9bbe3796d8cd-1734862393
Not sure if this might be the case or if that would be the expected error in this case, but you may want to double check that the app is set up for ‘Manual pricing’ and not ‘Managed pricing’.
If the app is set for managed pricing, you would not be able to create subscription charges through the API.
@Merchbees Thanks, testing with graphql gave me a better undertsanding of the issue
Message : Managed Pricing Apps cannot use the Billing API (to create charges).