This is a newb question for sure. I built my app based on this tutorial, and it's working well so far. https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/fetch-data-with-apo...
I'd like to start using Typescript on my node.js backend, but when I get started changing server.js to a server.ts, it needs type definitions for things like the ctx object returned by createShopifyA...
I'm working in Insomnia to try to come up with queries so I can create a set of test data in my account (customers and orders) , but looks like i'm not understanding how to do it correctly. ...
No content to show

User Activity

Yes, that was my problem. So for others, to access more than 60 days through the REST API you both have to get approval from Shopify customer support, you also need to add "read_all_orders" to your scope.
Kevin, Thanks for the reply. Yea, the problem appears to be I'm not asking for "read_all_orders" in my scopes. I've been pulled away to another project for the moment but will test to confirm and post an update when I do. best wishes,Randy 
My app is built on the node/react example. It currently gets lists of orders from the GraphQL API, which works well but requires that I add "write_orders" to my scopes. Since my app will never need to write to orders, and that permission may scare cu...
Of course it doesn't work from my app, but one problem at a time.
@akatcha I'm back on this, and in Shopify just got a GET request to /admin/api/2020-07/orders/count.json working using a "X-Shopify-Access-Token" with no authorization.
I am very sure this is a very silly mistake on my part. I have a working app that has no problem making requests to both the GraphQL and REST APIs, and am adding some calls to the Orders API. I wanted to prototype them in Postman, but have not been a...
OK, I found the problem. Registering the webhook using const registration = await registerWebhook({address:`${HOST}/webhooks/products/create`,topic: 'PRODUCTS_CREATE',accessToken,shop,apiVersion: ApiVersion.October19}); actually registers it as: http...
I'm having same problem, exact same server.js as example, everything works properly including registering the webhook, yet when I create a product ngrok is displaying: POST /webhooks/products/create                                 403 Forbidden      ...
This widget could not be displayed.
This widget could not be displayed.