NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Download Item → Update record

AI-generated

Summary

Patch a Download Item record in NetSuite, updating its attributes and optionally replacing sublist lines.

Inputs

  • id (required) — Internal numeric ID of the Download Item to update.
  • additionalFields — Fields to set on the record, such as VSOEPrice, description, displayName, and scheduling or accounting settings. Include any of the many supported subfields; omitted fields remain unchanged.
  • replace — Comma‑separated names of sublists to replace entirely with the new list lines provided in the request.
  • replaceSelectedFields — If true, all fields intended for deletion must be present in the request, even if empty.
  • debugMode — When true, the node output includes the raw API request and response for troubleshooting.

Output shape

a single DownloadItem record represented as JSON

If debug mode is enabled, the output also contains properties request and response with full HTTP payloads; otherwise, only the updated record data is returned.

Examples

Example 1: Update a Download Item’s description and price

id: 12345
additionalFields:
description: "Updated product description"
price:
items:
- price: 29.99
currencyPage:
id: "USD"

Example 2: Enforce a download limit and change availability status

id: 98765
additionalFields:
numOfAllowedDownloads: 3
isInactive: false
isOnline: true

Example 3: Replace the item’s custom fields and set debug mode

id: 45678
additionalFields:
customFields:
- fieldName: "customColor"
fieldType: "string"
value: "red"
showDebug: true

Discussion