Cmdlets for NetSuite

Build 24.0.9060

Scope Parameter (Connect-NetSuite Cmdlet)

Specify scope to obtain the initial access and refresh token with OAuth 2.0.

Syntax

Connect-NetSuite -Scope string

Data Type

cstr

Default Value

""

Remarks

When using OAuth 2.0 (only available when Schema is set to SuiteQL), NetSuite requires a Scope to be specified to retrieve the token. If using the embedded token, an appropriate scope will automatically be used. Otherwise, the scope must match exactly your configured scopes for the specified OAuthClientId, otherwise NetSuite will return an error. The available values are:

  • restlets
  • rest_webservices
  • restlets rest_webservices

This property only applies when Schema is set to SuiteQL.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060