NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Bin Transfer → Update record

AI-generated

Summary

Update a Bin Transfer record in NetSuite via PATCH /binTransfer/{id}

Inputs

  • id (required) — Internal identifier of the Bin Transfer record to update. Required for the PATCH operation.
  • isDebugMode — Whether to include full request and response information in the output. Default: false.
  • authMethod — Authentication method to use. Options: OAuth1 or OAuth2. Default: oauth1.
  • additionalFields — Collection of fields to update on the Bin Transfer record. Supports fields such as tranId, tranDate, memo, replace, replaceSelectedFields, subsidiary, and custom fields via customFields.
  • memo — Optional memo text for the transfer. Can be used to search for the transfer later.
  • Prefer — Request preference header. Use 'respond-async' to execute the request asynchronously. Default: '' (synchronous).
  • replace — Comma-delimited names of sublists on this record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — If true, all fields to be deleted in the update request must be included in the 'replace' query parameter. Default: false.
  • subsidiary — Subsidiary identifier. Accepts internal or external ID.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID format). Ensures the request executes only once. Ignored for synchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation. Options: '' (none), 'Error', 'Warning', 'Ignore'. Default: ''
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation. Options: '' (none), 'Error', 'Warning', 'Ignore'. Default: ''
  • customFields — Fixed collection of custom fields to update. Supports multiple values. Each entry specifies a field name, field type (boolean, dateTime, multiSelect, number, select, string), and the corresponding value.

Output shape

The updated Bin Transfer record object as returned by NetSuite.

The operation sends a PATCH request to /binTransfer/{id}. The id parameter is required. All other parameters are optional and correspond to NetSuite bin transfer fields or request metadata.

Examples

Example 1: Update a Bin Transfer record's date and memo

{ id: 12345, additionalFields: { tranDate: '2024-01-15' }, memo: 'Q1 transfer' }

Links

Discussion