infusionsoft / infusionsoft-php

PHP client library for the Infusionsoft API.
https://developer.infusionsoft.com/
Other
130 stars 128 forks source link

Update a custom field on a specific order #255

Open askiwtech opened 4 years ago

askiwtech commented 4 years ago

is there a way to edit (Pushing new info) a custom field in a existing Infusionsoft order.

Screen Shot 2020-05-19 at 5 37 42 PM

ajohnson6494 commented 4 years ago

@erickacevedoriw are you asking if there is a way to create a new custom field, or a way to update a custom fields value on a specific order?

askiwtech commented 4 years ago

Hey @ajohnson6494 We're looking for a way to update a custom field value on a specific order, thanks for your reply!

brumiser1550 commented 4 years ago

You can just use the data service to update an order.

$ifs_order_data = [ '_CustomFieldDBName' => 'some data to update'];
$job_update = $infusionsoft->data()->update("Job", $job_id, $ifs_order_data);