NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor Credit → Get record

AI-generated

Summary

Retrieve a Vendor Credit record from NetSuite using its internal identifier, optionally expanding sub-resources or selecting specific fields.

Inputs

  • id (required) — The internal identifier of the Vendor Credit record to retrieve.
  • isDebugMode — Whether to include full request and response information in the output for debugging purposes.
  • authMethod — The authentication method to use when connecting to NetSuite; options are OAuth1 or OAuth2 (default is OAuth1).
  • expandSubResources — If set to true, automatically expand all sublists, sublist lines, and subrecords on the Vendor Credit record.
  • fields — Comma-separated names of fields and sublists to return, limiting the response to only those specified.
  • Prefer — Server behavior preference, such as 'respond-async' to process the request asynchronously.
  • simpleEnumFormat — When true, return enumeration values showing only the internal ID.
  • X-NetSuite-Idempotency-Key — A unique idempotency key for asynchronous request execution to ensure the request is performed only once.

Output shape

a single Vendor Credit record with requested fields and expanded sub-resources as specified

Output includes the Vendor Credit record data. If Debug Mode is enabled, full request and response details are included. The returned data respects additional field selections such as expanded sub-resources and field filters. Server asynchronous execution preferences can affect response timing and content.

Examples

Example 1: Retrieve Vendor Credit record with ID 12345 and expand all sub-resources for detailed review.

Set 'Id' to 12345, 'expandSubResources' to true, other fields as needed.

Links

Discussion