//Info: HL-97
Requirement:
Update Netsuite Item fulfillment Record Field using REST API Suitable Endpoints.
Here, the field need to be updated was IF Status which holds 3 specific values:
1. Picked
2. Packed
3. Shipped
We have Done this using Postman interface.
For this integration setup, Initially you have to create TBA & connection between NS & Postman.
You can find the detailed section of this part right below:
http://jobinandjismi.in/customize-a-new-role-and-test-it-from-postman/
After the connection, it is seen that there are finite Number of endpoints available in postman like GET, PUT, PATCH, HEAD & so on.
In this case, we have to update the field. (Picked -> Shipped)
For this, The PATCH entry point is taken and query is added under Body section.
ex:
{
"shipstatus" : "C"
}
Here, shipstatus denoted the field id that need to be updated &
C is the value need to be given.(Shipped is labeled as C In NS IF)
Note:
Don’t miss to add the Authorization URL which is located near to Entry point.
Sample: https://tstdrv2536324.suitetalk.api.netsuite.com/services/rest/record/v1/itemfulfillment/16
(tstdrv2536324 : NS account ID ,
itemfulfillment/16 : Record type & internal id)
Use GET Entry point & same URL to retrieve entire data of particular record. In this case No need to add any lines under Body section.