Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
New to NetSuite | REST API: Transforming Records
In NetSuite, you can create subsequent records based off parent records through the UI. For example, from a Sales Order, you can create Item Fulfillments, Bills, Payments, Invoices, or Return Authorizations by clicking the respective buttons. This feature, known as “record transformation,” can also be achieved via REST API.
Example Transformation with REST API:
Operation: POST
URL: <account_id>.suitetalk.api.netsuite.com/services/rest/record/v1/<origin_record_type>/<origin_record_internal_id>/!transform/<new_record_type>
{
"entity": 4478,
"item": {
"items": [
{
"line": 1,
"item": {"id": "21578"},
"quantity": 10,
"taxcode":1171,
"location":47,
"amount": 2000
}
]
}
}
Reference Sales Order:
Results in the UI:
You may also check our other articles on REST API here:
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see