Discussions
How to transform a sales order in fulfillment using the REST API
Hello,
I am trying to integrate the NetSuite REST API in a custom application for pick, pack and ship.
I have been playing with the API for the last couple of days. I am now trying to convert a sales order in fulfillment, but cannot make it work.
According to the documentation, I should make the following request:
POST("/record/v1/salesOrder/4996043/!transform/itemFulfillment)
with following data:
"item":{
"items":[
{
"orderLine":2,
"location":6,
"itemreceive": False
}
]
}
I tried that one but I get the following error:
"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."