Support for Advanced Open Workflow, Sales, Portal for SugarCRM Community Edition
TOPIC: Adding line items to contract via REST API
Adding line items to contract via REST API
1 year 3 days ago #59892
Thank you received: 3
I am having a jiggery pickery of a time creating/adding line items to a contract using SuiteCRM's REST API from a web app. We are using Suite 7.8.13. I don't understand the relationship structure well enough to figure out what is going on and I hope someone would be kind enough to point me in the right direction.
I create a contract and set the account and contact relationships easily enough,
to relate it. It says the relationship was created however it is not added to the contract.
From a different forum post, I found that if I add a line item to a contract from the web interface in CRM I can retrieve that line item data by defining related_module_link_name_to_fields_array in the request,