I am trying to update a Fulfillment Requests lines rejected quantity via the REST API but I keep encountering the below error. I have tried 25+ different combinations of the body but every edit to the lines results in the same error. What doesn't make sense, is that I can update the rejected quantity via the UI no problem.
I will also note that I get this same error when trying to partially transform a Fulfillment Request to an Item Fullfillment.
Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.
Example Request:
curl --location --request PATCH 'https://xxxxxxx-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/fulfillmentRequest/15608195' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{REDACTED}}' \
--data '{
"item": {
"items": [
{
"orderLine": 1,
"quantityrejected": 3.0
}
]
}
}'