NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Category → Insert record

AI-generated

Summary

Creates a customer category record in NetSuite.

Inputs

  • name (required) — Enter the name for this record. This name appears in lists that include this record.
  • externalId —
  • isInactive — Check this box to remove all references to this record from your account. You can reactivate the record at any time.
  • id —
  • lastModifiedDate —
  • Prefer — The server behavior requested by the client. Use 'respond-async' to execute the request asynchronously.
  • refName —
  • replace — The names of sublists on this record. All sublist lines will be replaced with lines specified in the request. The names are delimited by comma.
  • X-NetSuite-Idempotency-Key — A user-defined unique idempotency key that is applied to every asynchronous request to ensure that the request is executed only once. Use UUID in string format as defined by RFC 4122.
  • X-NetSuite-PropertyNameValidation — Sets the strictness of property name validation.
  • X-NetSuite-PropertyValueValidation — Sets the strictness of property value validation.

Output shape

record metadata returned by NetSuite API; exact fields not explicitly declared in properties.

Do not invent return shape beyond what is declared in properties or source.

Examples

Example 1: Minimal insert with required name field.

authMethod: oauth1; additionalFields: {name: 'New Category'}

Example 2: Insert with custom fields and async preference.

authMethod: oauth1; additionalFields: {name: 'Category A', Prefer: respond-async}; customFields: [{fieldName: 'cf_1', fieldType: 'String', value: 'test'}]

Example 3: Inactivate a record.

authMethod: oauth1; additionalFields: {name: 'Old Category', isInactive: true}

Links

Discussion