CAKE Help & Support

EDIT Buyer API Version 1

Modified on: Fri, 1 Jul, 2016 at 1:07 PM


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
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing and not expired)

Example Values: Fo35NRAqvFLXoZxqB4aVMhh

buyer_id
Required
Type: INT
Length (Max/Min): Max 2999999/Min 1

Passing the ID of a current buyer will update the buyer

Example Values: 1234 

account_status_id
Required
Type: INT
Length (Max/Min): NA

Cannot be blank. Pass 0 to skip.

Example Values: 4321

credit_limit
Required
Type: DECIMAL
Length (Max/Min): NA

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

http://demo.cakemarketing.com/api/1/edit.asmx/Buyer?api_key=dNJFmId9rI&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


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Login
New support ticket Check ticket status