Laurens
06/18/2020, 8:02 AMinvalid_request
):
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=refresh_token&refresh_token=XXXX&client_id=XXX&client_secret=XXXX" <https://REDACTED-sb1.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token>
{"error":"invalid_request"}
2. Is it possible to fetch invoice documents (like an invoice pdf) via the REST API?
3. How to refresh a refresh_token? It seems to expire after 7 days?
4. In our "normal" OAuth applications we can use 1 integration/application that we register as a company. We can use the same client_id
and client_secret
and the same authorization + token urls for ALL our clients, it seems this is not possible for Netsuite?
Thank you very much in advance.battk
06/18/2020, 8:13 AMbattk
06/18/2020, 8:14 AMbattk
06/18/2020, 8:15 AMbattk
06/18/2020, 8:20 AMLaurens
06/18/2020, 8:21 AMThe same page also says what to do after the refresh token expires, which is basically start over from step 1I couldn't imagine someone would implement it that way. This means all clients should manually reconnect again.
battk
06/18/2020, 8:22 AMLaurens
06/18/2020, 8:30 AMbattk
06/18/2020, 8:31 AMLaurens
06/18/2020, 8:49 AMLaurens
06/18/2020, 8:49 AMbattk
06/18/2020, 8:50 AMLaurens
06/18/2020, 8:50 AMLaurens
06/18/2020, 9:16 AMbattk
06/18/2020, 9:34 AMbattk
06/18/2020, 9:37 AMLaurens
06/18/2020, 9:47 AM