NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Inventory Count → Insert or update record

AI-generated

Summary

Update an existing Inventory Count record in NetSuite by its external ID with optional additional fields, or create it if it does not exist, using NetSuite's REST API PUT operation.

Inputs

  • Id (required) — The external identifier of the Inventory Count record to update.
  • Additional Fields — Optional fields to specify or update in the Inventory Count record, such as Account, Class, Count Start Date, Custom Form, Date, and other metadata fields.
  • Custom Fields — List of custom fields with specified field names, types, and values to include in the Inventory Count record.
  • Debug Mode — Whether to include full request and response info in the output for debugging purposes.
  • Authentication Method — The OAuth method used to authenticate the API request (OAuth1 or OAuth2).
  • Prefer — Server behavior preference, e.g., 'respond-async' to execute the request asynchronously.
  • X - Net Suite - Idempotency - Key — A unique idempotency key for asynchronous requests to ensure single execution.
  • X - Net Suite - Property Name Validation — Sets strictness for property name validation (Error, Warning, Ignore).
  • X - Net Suite - Property Value Validation — Sets strictness for property value validation (Error, Warning, Ignore).
  • Replace — Comma-separated names of sublists on this record whose lines will be replaced.
  • Replace Selected Fields — If true, requires all fields to delete in the update request to be included in 'replace' parameter.

Output shape

a single updated or created Inventory Count record object in JSON format

The output includes the result of the PUT request to the NetSuite REST API for the Inventory Count resource identified by the provided external ID. If Debug Mode is enabled, detailed request and response information are also included. The operation uses a PUT method on the endpoint /inventoryCount/{id} where {id} is the external identifier. Custom fields and additional optional fields can be included in the request body. Errors or validation issues will be provided in the response.

Links

Discussion