Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
OAuth2 Logout
NETSUITE_O_AUTH2_LOGOUTTool to revoke an ID token and its associated access and refresh tokens. Use when ending an OAuth2 session to ensure credentials are invalidated.
Revoke OAuth2 Refresh Token
NETSUITE_O_AUTH2_REVOKE_REFRESH_TOKENRevokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them. Use this when: - A user logs out and you want to invalidate their session tokens - Credentials are compromised and need immediate revocation - Decommissioning an integration or removing access - Cleaning up test tokens after development Note: This is a destructive operation - revoked tokens cannot be reused.
Exchange OAuth2 Authorization Code for Tokens
NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODEExchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.
OAuth2 Token Client Credentials
NETSUITE_O_AUTH2_TOKEN_CLIENT_CREDENTIALSTool to obtain an OAuth2 access token via client credentials grant. Use when authenticating to NetSuite APIs with a JWT-based client credentials flow.
OAuth2 Token Refresh
NETSUITE_O_AUTH2_TOKEN_REFRESHTool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.
Update Customer
NETSUITE_UPDATE_CUSTOMERUpdates an existing NetSuite customer by ID using PATCH, including contact information, settings and custom fields. Supports synchronous and asynchronous processing; the location header may contain an async job URL.
Update Customer Payment
NETSUITE_UPDATE_CUSTOMER_PAYMENTTool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.
Update Employee
NETSUITE_UPDATE_EMPLOYEETool to update an employee record by ID. Use when modifying fields of an existing employee.
Update Invoice
NETSUITE_UPDATE_INVOICEUpdates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.
Update Item
NETSUITE_UPDATE_ITEMUpdates an item record by type and internal ID using the supplied fields. It also supports replacing specified sublists or selected fields.
Update Item Fulfillment
NETSUITE_UPDATE_ITEM_FULFILLMENTTool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.
Update Item Receipt
NETSUITE_UPDATE_ITEM_RECEIPTTool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.
Update Journal Entry
NETSUITE_UPDATE_JOURNAL_ENTRYTool to update a journal entry record by ID. Use when modifying fields of an existing journal entry after retrieving its details.
Update Purchase Order
NETSUITE_UPDATE_PURCHASE_ORDERTool to update a purchase order record by ID. Use when modifying fields of an existing purchase order. Call after retrieving the record to confirm current values.
Update Sales Order
NETSUITE_UPDATE_SALES_ORDERUpdates an existing NetSuite sales order record by ID using PATCH semantics. Only the fields provided in the data parameter will be modified; all other fields remain unchanged. Use this tool when you need to modify specific fields on an existing sales order, such as updating the memo, PO number, or status.
Update Vendor
NETSUITE_UPDATE_VENDORTool to update a vendor record by ID. Use when modifying fields of an existing vendor.
Update Vendor Bill
NETSUITE_UPDATE_VENDOR_BILLTool to update a vendor bill record by ID. Use when modifying fields of an existing vendor bill.
Update Vendor Payment
NETSUITE_UPDATE_VENDOR_PAYMENTTool to update a vendor payment record by ID. Use when modifying one or more fields on an existing vendor payment.
Upsert Record by External ID
NETSUITE_UPSERT_RECORD_BY_EXTERNAL_IDTool to create or update a record by external ID. Use when you need to ensure a record exists or update its fields in one call.