Hello, I am relaying some information over from someone we are working with that is setting up an integration between NetSuite and them. They are using rest web services and are encountering an issue upon submitting a request pertaining to the opportunity item list. Here is what they are stating:
"I created and updated the opportunity from the API, but I have a problem with the opportunity item list.
I cannot change (create, update or delete) this list.
I found a description in the docs and tried to send an empty array but got 400:
Invalid content in the request body
This is my last http request:
PATCH /opportunity/16574127/item
{"items":[]}
{
"type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Invalid content in the request body.",
"o:errorCode": "INVALID_CONTENT"
}
]
}"
Do you know why they might be getting this type of response? Thanks.