Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I am creating an app that will charge customers based on the total conversion value of the sales that the app helps the merchant make. In order to do this I need to access the order information as soon as the a sale is made on the store. After checking the shopify webhook documentation says that I will need the "Orders" and "Marketplace Orders" access scopes to get orders information that I need. It turns out the I also need an additional permission from shopify to be able to add those scopes in my app. I did make a request from my shopify app dashboard to allow my app to use these access scopes but it got rejected. Shopify is asking me to provide the reasons why my app needs to access the orders that are older than 60. But my app doesn't need to access orders that are older than 60 days I just need to get the orders that have a specific discount code applied(which is created by my app).
So here are my questions:
1. Do I really need to access orders older than 60 days to achieve this?
2. Is there any other way for me to access just the orders that are created in the duration the app was installed on a merchant's store?
3. Shopify's response to my request suggests that there are other methods of accessing orders within the 60 day window is this true?
Solved! Go to the solution
This is an accepted solution.
I was able to get the required order details using the read_orders access scope.
This is an accepted solution.
I was able to get the required order details using the read_orders access scope.