NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Contract → Update record

AI-generated

Summary

Update a Purchase Contract record in NetSuite by specifying its internal identifier and providing the desired fields to modify, including custom fields and additional nested details.

Inputs

  • Id (required) — The internal identifier of the Purchase Contract record to update.
  • Additional Fields — Optional fields to update on the Purchase Contract, supporting various nested details such as accounting book detail, discounts, items, location, status, and more.
  • Custom Fields — A list of custom fields with their names, types, and values to update on the Purchase Contract.
  • Debug Mode — Flag to include full request and response information in the output for debugging.
  • Authentication Method — Select OAuth1 or OAuth2 for authentication.

Output shape

a single updated Purchase Contract record object with properties reflecting the applied changes

The response may include extended debug information if Debug Mode is enabled. The update operation supports an 'id' to identify the record and a variety of optional fields. Custom fields must have field name, type, and corresponding values provided.

Examples

Example 1: Update a Purchase Contract by ID with new billing instructions and update custom text field

Set 'Id' to target Purchase Contract internal id, add 'Additional Fields' including 'billingInstructions', and specify in 'Custom Fields' the text field name, type 'String', and new value.

Links

Discussion