NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Deposit → Update record

AI-generated

Summary

Updates a Customer Deposit record in NetSuite via PATCH /customerDeposit/{id}. The internal identifier id is required. Authentication defaults to OAuth1, with OAuth2 as an alternative. Debug mode can include full request/response details. Optional fields allow overwriting corresponding fields on the existing record, with special parameters replace and replaceSelectedFields controlling sublist and field-level replacement. Custom fields, status, subsidiary, date, payment amount, memo, and external ID are among the optional properties that can be posted to update the record.

Inputs

  • id (required) — Internal identifier of the Customer Deposit record to update.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method for the NetSuite API request. Defaults to OAuth1; OAuth2 is available.
  • replace — Comma-delimited names of sublists on this record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — If set to true, all fields that should be deleted in the update request, including body fields, must be included in the 'replace' query parameter.
  • tranDate — Deposit date. NetSuite inserts today's date by default; entering another date determines the date range for the Accounts Receivable Register.
  • payment — Currency amount of the deposit.
  • memo — Memo to identify this deposit transaction.
  • externalId — External identifier for the Customer Deposit.
  • status — Status of the deposit. Options include empty, A, B, R, C, D.
  • subsidiary — Internal or external identifier of the subsidiary.
  • customFields — List of custom fields to update on the Customer Deposit.

Output shape

Not explicitly defined in properties or source; the operation updates the specified record in NetSuite via PATCH.

Authentication defaults to OAuth1 per node configuration. The id parameter is the only strictly required input; all other fields are optional and will overwrite corresponding fields on the existing NetSuite record when provided.

Examples

Example 1: Update a Customer Deposit's payment amount and status.

Provide the deposit's internal ID via id, set payment to the desired amount, and set status to the target status value (e.g., 'A').

Links

Discussion