Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method Signature boolean updateAutoOrder(Credentials c, AutoOrder autoOrder);
Description
This method updates the settings for an auto order.  The auto order object should come from a call to getAutoOrder.  Only those fields that are not read-only can be updated.  You can not add/remove items from the object.  They will be ignored if you try to modify the items array.
Parameters Credentials c – The credentials of the API user that is making the call.  AutoOrder autoOrder - the auto order record to update.
Result boolean - true if the update was successful.

updateOrderCustomFields

Method Signature void updateOrderCustomFields(Credentials c, String orderId, String[] customFields);
Description
This method updates the custom fields associated with an order.
Parameters Credentials c – The credentials of the API user that is making the call.  String orderId - the order ID to update the custom fields on.  String[] customFields - array of up to 7 strings for the custom fields.  The first entry in the array corresponds to custom field 1, etc.
Result boolean - true if the update was successful.