NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Service Resale Item → Insert or update record

AI-generated

Summary

Update an existing Service Resale Item record in NetSuite identified by its external ID, or insert it if it does not exist, optionally including detailed item fields and custom fields.

Inputs

  • id (required) — External identifier of the Service Resale Item record to update or create.
  • Authentication Method — Choose authentication method: OAuth1 or OAuth2.
  • Additional Fields — Set optional properties of the Service Resale Item, such as pricing, descriptions, accounting settings, vendor info, subsidiary, and more.
  • Custom Fields — Specify custom field values using field name, type, and field-specific value to extend the item record with additional data.
  • Debug Mode — Enable to include full HTTP request and response details in the output for debugging purposes.

Output shape

a single updated or created Service Resale Item record object

The operation performs a PUT request to the /serviceResaleItem/{id} endpoint with the given external ID. If the record exists, it is updated with the provided fields; if not, a new record is created. The output includes the data returned by NetSuite, optionally including debug information if enabled. Custom fields and other additional fields are flattened and sent as part of the request body. Errors include any HTTP or validation issues from the API.

Examples

Example 1: Update price and descriptions for a Service Resale Item with external ID 'item123'

Set 'id' to 'item123', fill 'Additional Fields' with new price and description values.

Example 2: Create a new Service Resale Item record with custom boolean and string fields

Provide a new unique 'id', specify 'Custom Fields' with relevant field names, types, and values.

Links

Discussion