NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Credit Card Charge → Update record

AI-generated

Summary

Update a NetSuite Credit Card Charge record via PATCH to /creditCardCharge/{id}.

Inputs

  • id (required) — Internal identifier of the Credit Card Charge record to update.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method. Options: OAuth1, OAuth2. Default: oauth1.
  • tranId — The transaction number from your credit card transaction. Maximum 45 characters. Default: empty string.
  • memo — Memo that will appear as a description for this credit card transaction on reports. Default: empty string.
  • tranDate — Posting date for the credit card transaction. Determines the date range on the Credit Card Register. NetSuite inserts today's date by default. Default: empty string.
  • subsidiary — Subsidiary for the record, provided with internal (id) and external (externalId) identifiers. Default: empty collection.
  • currency — Currency for the transaction, provided with internal (id) and external (externalId) identifiers. Default: empty collection.
  • exchangeRate — Currency exchange rate for this transaction. Can update the currency record or override for this transaction only. Default: null.
  • externalId — External identifier of the Credit Card Charge record. Default: empty string.
  • replace — Comma-delimited names of sublists on this record. All sublist lines will be replaced with lines specified in the request. Default: empty string.
  • replaceSelectedFields — If true, all fields that should be deleted in the update request must be included in the 'replace' query parameter. Default: false.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID format) to ensure asynchronous requests execute only once. Default: empty string.
  • customFields — List of custom fields to update. Each entry requires a field name, field type, and value (type-dependent). Multiple values allowed. Default: empty collection.

Output shape

The updated Credit Card Charge record from NetSuite.

In debug mode (isDebugMode=true), full request and response details are included in the output.

Examples

Example 1: Update the memo and posting date of a Credit Card Charge record with id=12345.

Set id=12345, tranDate=2024-01-15, memo=Q4 2024 credit card charge.

Links

Discussion