Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Update Account API updates the billing address for your account.  


Sample request

POST https://api.armor.com/accounts
{
 "addressLine1": "123 street",
 "addressLIne2": "ste 500",
 "city": "City",
 "state": "TX",
 "postalCode": "75000",
 "country": "US"
}  

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/accountsPOST

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
addressLine1Address line 1StringOptional123 street
addressLine2Address line 2StringOptionalste 500
cityCityStringOptionalCity
stateStateStringOptionalTX
postalCodePostal CodeStringOptional75000
countryCountryStringOptionalUS

Sample return

StatusResponse
200
{
 "name": "Development Test Account",
 "accountId": "2",
 "addressLine1": "123 street",
 "addressLine2": "ste 500",
 "city": "City",
 "state": "TX",
 "postalCode": "75000",
 "country": "US"
}
400
Bad Request



In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.