NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Download Item → Insert or update record

AI-generated

Summary

Update or create a NetSuite Download Item record by ID, optionally setting any provided fields or custom fields.

Inputs

  • id (required) — External identifier of the Download Item to update or create.
  • isDebugMode — Include full HTTP request and response details in the node output for debugging.
  • additionalFields — Optional object containing one or more Download Item attributes (e.g., VSOEPrice, description, storeDisplayName, etc.) to update on the record.
  • customFields — Optional custom fields to set on the record. Select field name, type, and value.

Output shape

A JSON object representing the updated Download Item record (or the newly created record if the ID did not previously exist).

If Debug Mode is enabled, the output will contain two additional properties: "request" and "response" with the raw HTTP payloads.

Examples

Example 1: Add a descriptive title and set price for an existing download item

id: "123456", additionalFields: {description: "EBook: Advanced JavaScript", VSOEPrice: 29.99}

Example 2: Create a new download item with a custom field and enable debugging

id: "newItem", isDebugMode: true, additionalFields: {displayName: "Custom EBook"}, customFields: [{fieldName: "SpecialTag", fieldType: "string", value: "promo"}]

Example 3: Update an item to make it available online only

id: "123456", additionalFields: {isOnline: true, immediateDownload: false, storeDescription: "Only available after purchase."}

Discussion