I am always being redirected to login page when using this URL to generate temporary token:
This is the expected behaviour. Once you (or the customer) log into the retail account you wish to connect to, you will be asked to authorize the client (application). Once this is done, the temporary code will appear in the response URL, and will also be sent to your redirect URI. You can then exchange that code (within 30 seconds) for an access token and refresh token. A detailed explanation can be found here: https://developers.lightspeedhq.com/retail/authentication/authentication-overview/
I tried but I am still receiving empty response even after login. I am using this API:
After log in, you need to authorize the application. When doing this you're redirected to adnan-tech.com?code=2345678
This is the code you need.
I hope this helps.
Will it be static ? Or will it be different each time ?
Still seeing empty response when calling this:
Like we are mentioning in our documentation this "code" expires after 30 secs
Can you make a screenshot of your response?
Can you tell any tutorial where I can transfer product from one shop to another ? No need to send general URL.
A tutorial where I can go from step by step to transfer items.