NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Count → Update record

AI-generated

Summary

Patch an existing NetSuite Inventory Count record by its internal ID, optionally changing its fields, custom fields, and request preferences.

Inputs

  • id (required) — Internal identifier of the inventory count to update.
  • additionalFields — Optional fields to modify on the inventory count, such as account, class, countDate, status, memo, date, and line-item details (including adjustedQuantity, countQuantity, memo, rate, etc.).

Output shape

Returns the updated inventory count record as JSON. If Debug Mode is enabled, the output also includes the raw request‑and‑response payloads for troubleshooting.

The response contains the record’s current values after the patch; may include partial data if the API only returns certain fields. Custom fields set via Custom Fields collection are applied to the record.

Examples

Example 1: Update the count date and memo of inventory count #12345

Set Id:12345; Additional Fields → Count Start Date: '2024‑01‑01'; Memo: 'Stock check updated'.

Example 2: Close an inventory count by setting status to 'C' (Closed)

Set Id:67890; Additional Fields → Status → Internal identifier: 'C'.

Example 3: Adjust quantity for a specific line item

Set Id:54321; Additional Fields → Item → Items[0] → Item → id: '1'; Count Quantity: 200.

Discussion