Skip to main content
Use a protected REST mount for each read mode. Bind providerEndpoint to the account-specific https://<account>.suitetalk.api.netsuite.com origin and the exact path below. Use a sealed SuiteTalk bearer, OAuth2 or token-based OAuth1 credential with the necessary record and search permissions. Initialize with { profile: { mode: "provider", provider, limit, ...terms } }. NetSuite collection pages accept 1–100 records and 36 KiB. Each validates offset, count and hasMore, advances by the requested page size and restarts at zero after the terminal page. Concurrent edits can shift offsets. Missing records stay published in every mode. REST record types are invoice, vendorBill, customerPayment, customer, vendor, inventoryItem, nonInventorySaleItem and serviceSaleItem. Use a saved search exposed by your account’s REST release. Search definitions and sublist data are outside these projections.

Declared record types

Configure schema discovery at a protected data label. Use account-scoped OAuth with access to the REST metadata catalog and the selected table in SuiteAnalytics.
Use a record type whose REST name and selected scalar field names are also available in SuiteQL. Review the metadata and confirm those names in the account’s Analytics Records Catalog. The app reads the selected record’s JSON Schema and projects up to 32 direct string, boolean, integer or decimal fields. The feed reads ordered internal ID batches, resumes from the last ID in a full batch, and starts a new sweep after a short batch. Omissions leave prior rows in place. Data pages are limited to 36 KiB. Complete record metadata responses are staged in sealed parts up to 2 MiB. NetSuite record metadata · SuiteQL REST

Write REST records

Use providerWriter with mode netsuite.records.create-update, the writer passed in receivers.writers under that mode, the protected label, the SuiteTalk origin and scope: ["invoice"] or another supported record type. Use a credential with that record’s write permission. Send one record JSON object up to 24 KiB. POST creates a record. PATCH uses the command’s internal ID. A create acknowledges HTTP 204 with a SuiteTalk record ID in Location. An update acknowledges HTTP 204 for the command record ID. The app retains the status and record ID. Commands use exact keys and once-only dispatch with no read cursor. NetSuite REST record paths · SuiteQL through REST · Saved searches through REST

Upsert by external ID

Use the same protected netsuite.records.create-update receiver and installed record type in receivers.writers. Submit mode netsuite.records.upsert with { action: "upsert", externalId, payload } and an exact command key. Use up to 128 URL-safe ASCII characters for the external ID and omit internal and external IDs from the JSON object. The writer uses NetSuite’s eid: record route with the bound record type. HTTP 204 acknowledges the external ID in record. The receiver uses once. NetSuite REST upsert