NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Usage → Update record

AI-generated

Summary

Update a Usage record in NetSuite by specifying its internal Id and providing fields to modify, including optional custom fields and additional properties.

Inputs

  • id (required) — The required internal identifier of the Usage record to update.
  • additionalFields — Optional fields to update on the Usage record such as customer, date, item, memo, status, quantity, subscription plan, and other supported sub-properties.
  • customFields — A list of custom fields with specified names, types, and values to update on the Usage record.
  • isDebugMode — Boolean flag to include full request and response info in the output for debugging.
  • authMethod — Authentication method to use with NetSuite API, either OAuth1 or OAuth2.

Output shape

a single record representing the updated Usage object returned from NetSuite's API

If Debug Mode is enabled, the output includes detailed request and response information. Custom fields and additional fields provided are included in the update. The operation uses the 'patch /usage/{id}' endpoint and requires the internal Id of the Usage record to update.

Examples

Example 1: Update the quantity and memo of a Usage record

Set 'id' to the Usage record's internal ID, specify new 'usageQuantity' and 'memo' in Additional Fields, authenticate with OAuth2, and execute.

Links

Discussion