Python Connector for NetSuite

Connection parameters - Python Connector for NetSuite

Connection parameters

The following table describes the NetSuite connection parameters you can use in the connect() module method.

Parameter Description

Authentication

The authentication type. The possible values are:

  • Basic – (Default) Basic authentication
  • TokenBased – Token-based authentication
  • OAuth – OAuth 2.0 authentication

Ver

The NetSuite API version. The possible values are:

  • Ver1 – (Default) The NetSuite API V1. This version supports basic and token-based authentication.
  • Ver2 – The NetSuite API V2. This version supports token-based and OAuth 2.0 authentication.

Basic authentication

AccountId

The account ID

ApplicationId

The application ID

UserId

The user's name

Password

The user's password

RoleId

The role ID

Token-based authentication

AccountId

The account ID

AccountTimeZone

The account timezone. For a complete list of timezones and their IDs, see Timezones.

This parameter is available when the Ver parameter is set to Ver2.

ConsumerKey

The consumer key

ConsumerSecret

The consumer secret

Token

The access token

TokenSecret

The token secret

OAuth 2.0 authentication

AccountId

The account ID

AccountTimeZone

The account timezone

ClientId

The client ID

ClientSecret

The client secret

RefreshToken

The refresh token.

Follow the instructions in Using the module to obtain a refresh token.

Proxy parameters

ProxyHostName

The hostname or IP address of the proxy server

ProxyPort

The proxy port

ProxyUserName

The username for proxy authentication

ProxyPassword

The password for proxy authentication

Other parameters

PoolId

The ID of a connection pool that will be used for a particular connection

DisablePooling

Disables connection pooling for a particular connection.

The possible values are True and False. The default value is False.

© 2022-2025 Devart. All Rights Reserved. Request Support Python Connectors Forum Provide Feedback