Creates a new customer record in NetSuite. Requires subsidiary ID and either company name (for business customers) or first/last name (for individual customers). Returns the location URL of the created customer record, or an async job URL if using async mode.
bodyRequiredobjectJSON object with customer data. Required fields: 'subsidiary' (object with 'id'), and either 'companyName' (for company customers) or 'firstName'+'lastName' (for individual customers). Optional fields include: 'email', 'phone', 'isPerson' (set to 'T' for individuals), 'comments'…
PreferstringUse 'respond-async' to run the create operation asynchronously.
replacestringComma-separated list of sublist names (e.g., 'contacts', 'addressbook') to fully replace rather than merge with existing data. Only applicable when updating existing records.
X-NetSuite-Idempotency-KeystringUUID to ensure idempotent async requests; ignored for synchronous calls.
X-NetSuite-PropertyNameValidationstringControls how NetSuite handles invalid property names in the request body. 'Error' (default) rejects requests with invalid names, 'Warning' accepts but warns, 'Ignore Warning' silently ignores invalid names.
X-NetSuite-PropertyValueValidationstringControls how NetSuite handles invalid property values in the request body. 'Error' (default) rejects requests with invalid values, 'Warning' accepts but warns, 'Ignore Error' attempts to proceed despite invalid values.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.