NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Get record

AI-generated

Summary

Retrieve a Vendor record from NetSuite by its internal identifier, optionally including specific fields, sublists, or expanded subresources, and control response behavior such as asynchronous processing or enum formatting.

Inputs

  • id (required) — Internal identifier of the Vendor record to fetch.
  • isDebugMode — Whether to include full HTTP request and response details in the output for debugging.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2 (default: OAuth1).
  • additionalFields — Optional parameters to customize the response, including:
  • expandSubResources: Set true to expand all sublists, sublist lines, and subrecords.
  • fields: Comma-separated names of fields and sublists to include in the response.
  • Prefer: Request server to execute asynchronously by setting 'respond-async'.
  • simpleEnumFormat: Return enumeration values only as internal IDs.
  • X-NetSuite-Idempotency-Key: Unique key for idempotent asynchronous requests.

Output shape

a single Vendor record object, possibly filtered or expanded according to input fields; optionally augmented with full request/response data if debug mode is enabled.

The output reflects the Vendor record identified by the provided internal ID with fields controlled by Additional Fields inputs. If 'respond-async' is set, the request is executed asynchronously; in this case, an idempotency key can ensure request uniqueness. Debug mode adds detailed HTTP info to the output for troubleshooting.

Links

Discussion