ANS-0567 · WEB SERVICES & INTEGRATIONS
How to Retrieve Item Barcode Labels via NetSuite Web Services?
Explore methods for generating and exposing NetSuite item barcode labels for external system retrieval using custom integrations.
Short answer
Direct printing of item barcode labels via NetSuite's native REST web services for file cabinet operations is not directly supported. However, custom integrations can achieve this. Generate labels using SuiteScript, store them in the File Cabinet, and then expose these files for retrieval by external systems through a custom Restlet. This method enables flexible data exchange.
Scenario
External systems often require the ability to retrieve specific files, such as item barcode labels, directly from NetSuite using web services. Users seek to understand if NetSuite's web services can facilitate the direct printing or retrieval of these generated labels for integration purposes.
Solution
The direct retrieval of files, such as item barcode labels, through NetSuite's native REST API (SuiteTalk REST Web Services) for direct file and folder management operations in the File Cabinet is not currently supported. However, NetSuite's SOAP API (SuiteTalk) does support direct interaction with the File Cabinet for file operations.For custom integrations requiring the retrieval of generated files, a common and effective approach involves:
Generate Files via SuiteScript
Develop a SuiteScript to generate the desired item barcode labels. These scripts can create the label files based on specific item data.
Store in File Cabinet
Save the generated label files into NetSuite's File Cabinet.
Expose via Restlet
Create a custom Restlet (SuiteTalk REST Web Services) that can be invoked by external systems. This Restlet will be responsible for retrieving the generated files from the File Cabinet and exposing them in a format suitable for external consumption.This method allows external systems to programmatically access and retrieve the barcode label files, enabling custom printing solutions or further processing outside of NetSuite.
Expert NetSuite Support
Need help with this NetSuite issue?
Web Services & Integrations consulting and configuration support
