notrab / headless-dropshipping-starter

Create your own dropshipping store with Next.js, Snipcart & Printful đź‘•
https://headlessdropshipping.com
693 stars 132 forks source link

printful api change to access tokens #87

Closed stephangriesel closed 1 year ago

stephangriesel commented 1 year ago

I tried using the private tokens since Printful is not supporting API keys from March 2023. Is this working for this repo yet?

notrab commented 1 year ago

Hey @stephangriesel

I merged support for this in https://github.com/notrab/headless-dropshipping-starter/commit/4604b537d3b35b5ee10321c5cdd4634e3d684072

Does the instructions in the README not work? More info would be great.

Thank you 🙏🏻

stephangriesel commented 1 year ago

Ah just saw now I am still behind, thank you!

pythlang commented 1 year ago

image

I needed to provide npm with specificity npm install printful-request@2.0.0 @notrab

notrab commented 1 year ago

@pythlang did you already have the plugin installed? You should be able to do npm install printful-request@latest to upgrade the dependency inside an existing project.

pythlang commented 1 year ago

@pythlang did you already have the plugin installed? You should be able to do npm install printful-request@latest to upgrade the dependency inside an existing project.

Yes… Fair play, but I didn’t know as it had been a while so I upgraded to the version in the readme

notrab commented 1 year ago

@pythlang Is there anything I can do better to improve so others don't have the same issue?