NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Bin → Insert record

AI-generated

Summary

Inserts a new Bin record into NetSuite via a POST to the /bin endpoint.

Inputs

  • binNumber — Bin number, name, or code used to identify the bin in the warehouse.
  • externalId — External identifier for the bin.
  • isInactive — When true, marks the bin as inactive.
  • id — Internal ID of the bin (typically ignored on create).
  • memo — Free‑form notes stored with the bin record.
  • inventoryBalance — Inventory balance details for the bin, including item‑level quantities and dates.
  • location — Reference to the NetSuite Location that owns the bin.
  • item — Reference to the Item associated with the inventory balance.
  • Prefer — Header value; set to 'respond-async' to request asynchronous processing.
  • replace — Comma‑delimited list of sublist names whose lines should be replaced by those supplied in the request.
  • X-NetSuite-Idempotency-Key — UUID‑style key that guarantees the request is processed only once when used with asynchronous calls.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation (Error, Warning, Ignore).
  • customFields — Collection of custom fields to set on the bin record; each field defines its name, type, and value.
  • isDebugMode — When true, the node includes the full HTTP request and response in its output.
  • authMethod (required) — Authentication scheme to use with NetSuite (OAuth1 or OAuth2).

Output shape

The created Bin record returned by NetSuite, containing at least its internal ID and the fields supplied. If isDebugMode is true, the output also includes requestDebug and responseDebug objects with the raw request details and the full HTTP response.

When the Prefer: respond-async header is used, the response will contain a 202 status and a location header; the node follows that location to retrieve the final result unless async handling is disabled elsewhere.

Examples

Example 1: Create a simple bin with a number and memo

Set binNumber = 'AA01', memo = 'Top shelf, row A', leave other fields blank, keep Debug Mode off, and use OAuth1 authentication.

Links

Discussion