Discussions
Invalid content in request body when create item receipt via REST API
Hi Teams! I encountered an error "Invalid content in request body" when creating item receipt via REST API postman. I also attached the payload below:
{
"createdfrom": {
"id": "87789"
},
"customform": {
"id": "334"
},
"entity": {
"id": "3766"
},
"currency": {
"id": "7"
},
"location": {
"id": "230"
},
"memo": "Testing",
"subsidiary": {
"id": "11"
},
"trandate": "2024-10-24",
"item": [
{
"item": {
"id": "2421"
},
"location": {
"id": "230"
},
"quantity": 50,
"rate": 40000
}
]
}
I already checked that the ID is in NetSuite. Is there anything wrong with the payload, or does this error happen because of the roles permission issue? Any help will be much appreciated. Thanks!