NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Price Book → Update record

AI-generated

Summary

Update a specific Price Book record in NetSuite REST API by its internal identifier, modifying its fields with optional additional and custom field data.

Inputs

  • Id (required) — The internal identifier of the Price Book record to update.
  • Additional Fields — Optional fields to update on the Price Book, such as currency, custom form, external ID, name, price intervals, subscription plan, and others.
  • Custom Fields — A collection of custom fields with specified field names, types, and values to include in the update request.
  • Debug Mode — If enabled, includes full request and response details in the output for debugging purposes.
  • Authentication Method — Choose between OAuth1 and OAuth2 authentication methods.

Output shape

a single updated Price Book record response from NetSuite containing the updated data and possibly full request/response information if debug mode is enabled.

If debug mode is enabled, the output includes detailed request and response data. The operation requires the internal ID of the Price Book record to perform the update. All fields to be deleted must be specified with the 'replace' and 'replaceSelectedFields' options if applicable. Custom fields can be updated by specifying their field name, type, and value. The update is performed asynchronously if 'Prefer' header is set to 'respond-async', using an optional idempotency key.

Examples

Example 1: Update the name and currency of a Price Book record with internal ID 123

Set 'Id' to 123, fill in 'name' and 'currency.id' under 'Additional Fields' with desired values.

Example 2: Update custom fields for a Price Book

Provide 'Id' and specify 'Custom Fields' collection with field names, types, and values to update custom fields.

Links

Discussion