[Solved] How to insert data in child table using REST API

Hello I’m Trying to create Delivery Note Using Rest api (Customer and other Doctype Works) Here is my JSON but its return 500 INTERNAL SERVER ERROR GET method works fine

data= { "customer":"XXXXXXX", "item" : [ { "item_code":"XXX", "item_name":"XXX", "uom":"XXX", "qty":"100"} ] }

1 Like

what exact error you got?

i want to update the status to paid can you plz help me what is the URL request parameter for Payment Entry

500 INTERNAL SERVER ERROR

'NoneType' object has no attribute 'options'

@Sagar_Bhogayata Can you share how you solved it?
Your final call example?

There is spelling mistake in my case there are no item it’s items

Every time I do a PUT, I loose my existing Child entries. When I POST, I get nothing back and no change to data.