I have followed the guideline creating a Delivery Note against a sales order using the following endpoint and request body using Auth token
POST /api/method/erpnext.selling.doctype.salesorder.salesorder.makedeliverynote
{“source_name”: “SO-2022-00001”}
the API response is 200 and response JSON is returned . but the Delivery Note just created using the above mentioned api does not show up in ERPNEXT app nor in Database .
What am I missing ? Do I have to call post /api/resource/Delivery Note with a returned JSON response ??