Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify API orders/create webhook access issue

Solved

Shopify API orders/create webhook access issue

conversionninja
Shopify Partner
7 2 5

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?

Accepted Solution (1)

conversionninja
Shopify Partner
7 2 5

This is an accepted solution.

I was able to get the required order details using the read_orders access scope.

View solution in original post

Replies 2 (2)

conversionninja
Shopify Partner
7 2 5

This is an accepted solution.

I was able to get the required order details using the read_orders access scope.

zernie
Shopify Partner
3 0 1

@conversionninja using orders/create webhook, right? i'm having issues with it