projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket #33252 API update
[freeside.git]
/
FS
/
FS
/
API.pm
diff --git
a/FS/FS/API.pm
b/FS/FS/API.pm
index
30efa9c
..
5b56539
100644
(file)
--- a/
FS/FS/API.pm
+++ b/
FS/FS/API.pm
@@
-430,32
+430,36
@@
sub new_customer {
}
=item update_customer
}
=item update_customer
-
-Updates an existing customer. Takes a hash reference as parameter with the foll$
+Updates an existing customer. Passing an empty value clears that field, while NOT passing that key/value at all leaves it alone.
+Takes a hash reference as parameter with the following keys:
=over 4
=item secret
=over 4
=item secret
-API Secret
+API Secret (required)
+
+=item custnum
+
+Customer number (required)
=item first
=item first
-first name
(required)
+first name
=item last
=item last
-last name
(required)
+last name
=item company
Company name
=item company
Company name
-=item address1
(required)
+=item address1
Address line one
Address line one
-=item city
(required)
+=item city
City
City
@@
-463,11
+467,11
@@
City
County
County
-=item state
(required)
+=item state
State
State
-=item zip
(required)
+=item zip
Zip or postal code
Zip or postal code