NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Bin Transfer → Insert record

AI-generated

Summary

Create a new Bin Transfer record in NetSuite, moving specified quantities of items to their respective preferred bins.

Inputs

  • Items (required) — A list of items to transfer. Each item requires an 'Item' reference (by Internal or External ID), a 'Quantity' to transfer, and a 'Preferred Bin' as the destination.
  • Subsidiary — Identifies the subsidiary for the transaction, either by its Internal identifier or External identifier.
  • Memo — An optional text description for the bin transfer record.
  • Date — The date of the bin transfer. If not provided, NetSuite will typically use the current date.
  • External ID — An optional external ID to associate with the bin transfer record.
  • Custom Fields — A list of custom fields to set on the bin transfer record, each requiring a field name, type, and value.
  • Prefer — Specifies server behavior, such as 'respond-async' to execute the request asynchronously.
  • X - Net Suite - Idempotency - Key — A user-defined unique idempotency key for asynchronous requests, ensuring the request is executed only once.
  • Debug Mode — When enabled, includes full details of the API request and response in the output.

Output shape

A single record object representing the newly created Bin Transfer.

The output includes the internal ID of the created record. If 'Debug Mode' is enabled, the output will also contain the full request and response information.

Examples

Example 1: Transfer 10 units of a specific item to a particular bin.

In 'Items', add an entry: specify 'Item' by Internal ID '123', set 'Quantity' to 10, and 'Preferred Bin' to 'BIN001'.

Example 2: Transfer multiple items to different bins under a specific subsidiary with a memo.

Set 'Subsidiary' by Internal ID '456'. In 'Items', add two entries: (1) 'Item' by External ID 'ITEM_A', 'Quantity' 5, 'Preferred Bin' 'Storage1'; (2) 'Item' by Internal ID '789', 'Quantity' 15, 'Preferred Bin' 'Storage2'. Set 'Memo' to 'Monthly stock redistribution'.

Discussion