Loading...

Knowledge Base

Modify Sub-Reseller Account Details Using the API

When you want to update account details of a sub-reseller. This article explains how to modify sub-reseller contact information, address details, branding information, tax IDs, and communication preferences using the API.

Modify Details

Description

Modifies the Account details of the specified Sub-Reseller.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
reseller-idIntegerRequiredReseller Id of the Sub-Reseller for whom the details need to be modified
usernameStringRequiredUsername of the Sub-Reseller. Username should be an email address.
lang-prefStringRequiredLanguage Code as per ISO
address-line-1StringRequiredAddress line 1 of the Sub-Reseller's address
cityStringRequiredCity
stateStringRequiredState
zipcodeStringRequiredZIP code
phone-ccStringRequiredPhone number Country Code
phoneStringRequiredPhone number
address-line-2StringOptionalAddress line 2 of the Sub-Reseller's address
address-line-3StringOptionalAddress line 3 of the Sub-Reseller's address
alt-phone-ccStringOptionalAlternate phone country code
alt-phoneStringOptionalAlternate phone number
fax-ccStringOptionalFax number country code
faxStringOptionalFax number
mobile-ccStringOptionalMobile number Country Code
mobileStringOptionalMobile number
brand-nameStringOptionalBrand name used for branding
website-urlStringOptionalBranded website URL
vat-idStringOptionalVAT ID for EU VAT
indian-gst-idStringOptionalGST ID for India GST
russia-vat-idStringOptionalVAT ID for Russia VAT
australia-gst-idStringOptionalGST ID for Australia GST
newzealand-gst-idStringOptionalGST ID for New Zealand GST
singapore-gst-idStringOptionalGST 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.