Manish Kumar Gupta
02/04/2025, 7:51 PMCeligo AI
02/04/2025, 7:51 PMAI generated answer (using internal Slack threads):To retrieve the serial/lot number of an inventory item via REST API, you would need to make a GET request to the record endpoint for the specific inventory item. The serial/lot number is typically stored in the inventory detail subrecord of the inventory item record. Here is a general example of how you might structure your API call:
javascript
GET /record/v1/inventoryItem/{internalId}
Replace {internalId}
with the internal ID of the inventory item you want to retrieve. The response will include all fields and subrecords associated with the inventory item, including the inventory detail subrecord which contains the serial/lot number.
Please note that this is a general approach and the actual implementation may vary depending on your specific use case and NetSuite setup. Always refer to the NetSuite REST API documentation for the most accurate and up-to-date information.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/04/2025, 7:52 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837102115
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83627665
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834759
Celigo AI
02/04/2025, 7:52 PM