NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Web Site → Insert or update record

AI-generated

Summary

Update an existing Web Site record by its external identifier or create it if it does not exist, allowing detailed customization of its properties.

Inputs

  • Auth Method — Choose OAuth1 or OAuth2 for authentication.
  • Id (required) — The external identifier of the Web Site to update or insert.
  • Additional Fields — Optional properties of the Web Site such as display name, description font size, analytics attributes, layout options, inactive status, Google Analytics integration, and other customization settings.
  • Custom Fields — List of custom fields with specific field names, types and values to set on the Web Site record.
  • Debug Mode — Optionally include full request and response detail in the output for debugging.

Output shape

a single record

Returns the created or updated Web Site record data. If Debug Mode is enabled, returns detailed request and response info. The operation uses HTTP PUT on /webSite/{id} and accepts various fields to customize the Web Site. Validation and idempotency options may be applied.

Examples

Example 1: Update a Web Site with specific display name and enable Google Analytics integration

Set 'Id' to the Web Site's external ID, provide 'Display Name' and check 'Enable Google Analytics Integration' under Additional Fields.

Links

Discussion