Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to create Item Receipt via REST API with Inventory Details?
Hello,
I am trying to create an Item Receipt, from a PO. The account has Inventory Status enabled, but no Lot #s, nor Bins nor Serial Numbers. I can do this if I do not specify the Inventory Details, but then NetSuite defaults the Status to "Good" and that's not what I need.
I am trying with this request:
POST
{{REST_SERVICES}}/record/v1/purchaseOrder/99999999/!transform/itemReceipt
{
"customForm": {"id": "162"},
"entity": {"id": "1187"},
"location": {"id": "2"},
"subsidiary": {"id": "2"},
"tranDate": "2023-02-28",
"item": {
"items": [
{
"orderline": 1,
"itemReceive": true,
"location": {"id": "2"},
"quantity": 6.0,
"inventoryDetail": {
"inventoryassignment": {
"items": [{"quantity": 6.0, "inventoryStatus": { "id": 1 }}]
},
"quantity": 6.0
}
}
]
}
}
When I submit that in Postman, I get:
Peter Ries
NetSuite Customer Success, Technical Services