Hello everyone, is it possible to update the internal fields of an order via API? I noticed that it’s possible to create an order, but nothing about updating it. I would like to update some custom fields of the order.
Welcome @Francesco_Susca,
Yes you can, but only via the XML-RPC API.
You need to use the “DataService.update” Endpoint on the “Job” table.
https://developer.keap.com/docs/xml-rpc/#data-update-a-record
https://developer.infusionsoft.com/docs/table-schema/#Job
If you are updating Custom Fields, you need to prefix them with the Underscore symbol.
Under the old iSDK you would do the following.
$app->dsUpdate("Job", 1234, [ '_MyCustomField' => 'ABC1234', 'JobNotes' => 'Some Notes' ]);
Hope that helps.
Thank you Pav, I’ll try it.