netsuitenetsuite-rest-api

Netsuite REST API ItemReceipt missing expense data with expandSubResources


I'm trying to GET the data for itemReceipts using Netsuite Rest in Postman, my url below:

https://mysite.suitetalk.api.netsuite.com/services/rest/record/v1/itemReceipt/21028/?expandSubResources=true

I can get the purchaseOrder or vendorBill expense line data, but for itemReceipt url above it doesn't show any data for expenses, only items. Is there a way to get data for expense lines for itemReceipt? Is it a different URL?

thank you


Solution

  • Item Fulfillments are used when receiving or sending goods; they typically don't have Expense data since Expenses aren't typically fulfilled from your Warehouse.

    There is no sublist nor collection for Item Fulfillments in either the REST API or the SuiteScript API.