NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Credit Memo → Update record

AI-generated

Summary

Patches a Credit Memo record in NetSuite by its internal identifier.

Inputs

  • id (required) — Internal identifier. Required for patch /creditMemo/{id}.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method. Options: OAuth1, OAuth2. Default: oauth1.
  • externalId — External identifier for the Credit Memo.
  • tranId — Credit memo number. NetSuite increases the largest credit memo number by one.
  • tranDate — Date of the credit memo. NetSuite inserts today's date by default.
  • total — NetSuite computes the total of line items and tax.
  • memo — Memo text appearing on the Credit Memo form and reports.
  • entity — Internal or external identifier for the customer entity.
  • subsidiary — Internal or external identifier for the subsidiary.
  • currency — Internal or external identifier for the currency.
  • status — Status options: A, B, V.
  • class — Internal or external identifier for the class.
  • department — Internal or external identifier for the department.
  • location — Internal or external identifier for the location.
  • shipTo — Ship-to address (free-form text).
  • billTo — Default billing address from customer record.
  • billingAddress — Structured billing address with addr1, addr2, city, country, state, zip.
  • apply — Apply payment details: due, apply flag, date, currency, doc, line, origAmt, payment, refNum, refName, type.
  • discountItem — Discount item with internal/external identifier.
  • discountAmount — Amount discounted on this credit memo.
  • discountDate — Date of the discount.
  • dueDate — Due date for the credit memo.
  • postingPeriod — Internal or external identifier for the posting period.
  • prefer — Server behavior: 'respond-async' for asynchronous execution.
  • X_NetSuite_Idempotency_Key — Unique idempotency key for asynchronous requests (RFC 4122 UUID).
  • X_NetSuite_PropertyNameValidation — Strictness of property name validation: Error, Warning, Ignore.
  • X_NetSuite_PropertyValueValidation — Strictness of property value validation: Error, Warning, Ignore.
  • replace — Names of sublists to replace. All lines on specified sublists will be replaced.
  • replaceSelectedFields — If true, all fields deleted in the update must be included in the 'replace' query parameter.
  • customFields — List of custom fields to update. Multiple values allowed. Each has fieldName (required, options), fieldType (options), and value (type-dependent).

Output shape

Updated Credit Memo record details as returned by the NetSuite REST API.

Side effects include modification of the specified Credit Memo in NetSuite; may trigger workflows or audits based on NetSuite configuration.

Links

Discussion