Description
Modifies the Account details of the specified Sub-Reseller.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| reseller-id | Integer | Required | Reseller Id of the Sub-Reseller for whom the details need to be modified |
| username | String | Required | Username of the Sub-Reseller. Username should be an email address. |
| lang-pref | String | Required | Language Code as per ISO |
| address-line-1 | String | Required | Address line 1 of the Sub-Reseller's address |
| city | String | Required | City |
| state | String | Required | State |
| zipcode | String | Required | ZIP code |
| phone-cc | String | Required | Phone number Country Code |
| phone | String | Required | Phone number |
| address-line-2 | String | Optional | Address line 2 of the Sub-Reseller's address |
| address-line-3 | String | Optional | Address line 3 of the Sub-Reseller's address |
| alt-phone-cc | String | Optional | Alternate phone country code |
| alt-phone | String | Optional | Alternate phone number |
| fax-cc | String | Optional | Fax number country code |
| fax | String | Optional | Fax number |
| mobile-cc | String | Optional | Mobile number Country Code |
| mobile | String | Optional | Mobile number |
| brand-name | String | Optional | Brand name used for branding |
| website-url | String | Optional | Branded website URL |
| vat-id | String | Optional | VAT ID for EU VAT |
| indian-gst-id | String | Optional | GST ID for India GST |
| russia-vat-id | String | Optional | VAT ID for Russia VAT |
| australia-gst-id | String | Optional | GST ID for Australia GST |
| newzealand-gst-id | String | Optional | GST ID for New Zealand GST |
| singapore-gst-id | String | Optional | GST ID for Singapore GST |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/resellers/modify-details.json?auth-userid=0&api-key=key&username=email@email.com&lang-pref=en&address-line-1=address-line-1&city=city&state=state&zipcode=0000&phone-cc=0&phone=000000
Response
Returns a status key with value as Success if the Sub-Reseller's Account details are modified successfully.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
