EDIT Buyer API
Updated on 2014-06-02
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns message ' Buyer Status Updated Successfully'
Resource/WSDL Page:
http://<your_domain_here>/api/1/edit.asmx?op=Buyer
Parameters
api_key | Must be a valid API key (existing and not expired) Example Values: Fo35NRAqvFLXoZxqB4aVMhh |
buyer_id | Passing the ID of a current buyer will update the buyer Example Values: 1234 |
account_status_id | Cannot be blank. Pass 0 to skip. Example Values: 4321 |
credit_limit | Must be greater than 0. Pass -1 to skip. Example Values: 1.0 |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
GET | https://demo-new.cakemarketing.com/api/1/edit.asmx/Buyer?api_key=3YmDJeT3VHTFhDqAjr2OlQ&buyer_id=1&account_status_id=1&credit_limit=1500.00 |
Sample XML Response:
<string>buyer_status_updated_successfully</string>
Example Error Messages:
Error Message | Likely Cause |
Missing Fields of Invalid Values: buyer_id | Buyer ID provided does not exist or is invalid |
An error occurred, please contact support@cakemarketing.com | Unknown error |