NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Service Sale Item → Insert or update record

AI-generated

Summary

Insert or update a Service Sale Item record by specifying its external identifier and any additional or custom fields to be set or modified in NetSuite via the REST API.

Inputs

  • id (required) — External identifier of the Service Sale Item to insert or update.
  • additionalFields — Optional collection of fields to set or update on the Service Sale Item, such as pricing, descriptions, accounts, classifications, and other relevant attributes.
  • customFields — Optional list of custom fields with specified field names, types, and values to include in the record.
  • isDebugMode — Boolean flag to include full request and response details in the output for debugging.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2.
  • Prefer — HTTP Prefer header specifying server behavior, e.g., 'respond-async' for asynchronous execution.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key to ensure single execution of asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness level for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Strictness level for property value validation: Error, Warning, or Ignore.

Output shape

a single record representing the created or updated Service Sale Item, including any returned metadata or debug information if debug mode is enabled.

The input requires the Service Sale Item's external ID. Additional and custom fields are optional but allow comprehensive record customization. Responses include the updated record data; if debug mode is true, full request and response details are included. Operation uses a PUT request to the path '/serviceSaleItem/{id}'.

Examples

Example 1: Insert or update a Service Sale Item with external ID 'abc123' setting its description and price

Set 'id' to 'abc123', fill 'additionalFields' with desired properties such as 'description' and 'price', and execute the node.

Links

Discussion