Open Sobak opened 2 months ago
Here is some example codes, refer to #390 ,
Have you tried giving a dummy refresh token? I believe that it should work fine, because I don't think we ever use the refresh token if you only make requests to grantless operations. Or at least that's definitely how I intended to build it...coulda messed something up.
Problem description:
Hi!
Both SP API docs from Amazon and the package readme state that for the grantless operations having a refresh token for the particular seller isn't a must.
However, after checking all package APIs I could think of it seems there isn't a way to create a seller connector instance without providing a valid refresh token, because the package sends it to SP API at all times.
Is my understanding correct that it should be made optional for grantless operations? Any tips on how can I achieve it without writing my own code to build the entire request to SP API, handle the response with Saloon etc?
Context: I'm building a multi-seller application where I need to call CreateDestination for notifications without a context of specific seller.