NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Commerce Category → Insert or update record

AI-generated

Summary

Update or insert a NetSuite Commerce Category record.

Inputs

  • id (required) — External identifier. Used as the path parameter for PUT /commerceCategory/{id}.
  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method. OAuth1 or OAuth2. Default: oauth1.
  • name — Specify the name for this record.
  • description — Specify a description for this record.
  • pageTitle — Enter a title for the page. This value populates the <title> element for a category page.
  • metaDescription — The description you enter here is an important SEO consideration.
  • metaKeywords — This field lets you specify the meta keywords for the page.
  • isInactive — Mark a category as inactive to prevent it from displaying on the website and prevent other activity.
  • externalId — External identifier for the category.
  • internalId — This is the system-assigned internal identifier for the record.
  • replace — The names of sublists on this record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — If set to 'true', all fields that should be deleted in the update request must be included in the 'replace' query parameter.
  • sequenceNumber — This number controls the order of how categories are displayed in SMT.

Output shape

The updated CommerceCategory record object.

Authentication defaults to OAuth1; idempotency key can be set via X-NetSuite-Idempotency-Key header. Property and value validation strictness adjustable via X-NetSuite-PropertyNameValidation and X-NetSuite-PropertyValueValidation options.

Links

Discussion