POST account/update

Validates and updates an account's primary contact information. This requires an authorization token.

Request Information

URI Parameters

None.

Body Parameters

The updated primary contact information.

AccountContact
NameDescriptionTypeAdditional information
FullName

Gets or sets the user's full name.

string

Required

Data type: Text

Company

Gets or sets the user's company name.

string

Required

Data type: Text

Street1

Gets or sets the user's primary street address.

string

Required

Data type: Text

Street2

Gets or sets the user's optional secondary street address information.

string

Data type: Text

City

Gets or sets the user's city.

string

Required

Data type: Text

State

Gets or sets the user's state. May be optional for international users outside of US and CA.

string

Data type: Text

PostalCode

Gets or sets the user's postal code. May be optional for international registrants outside of US and CA.

string

Data type: Text

Telephone

Gets or sets the user's phone number.

string

Required

Data type: PhoneNumber

EmailAddress

Gets or sets the user's email address. This does not change the username.

string

Required

Data type: EmailAddress

Matching regular expression pattern: .+@.+\..+

Country

Gets or sets the user's ISO2 country code.

string

Required

String length: inclusive between 2 and 2

Request Formats

application/json, text/json, text/html

Sample:
{
  "fullName": "sample string 1",
  "company": "sample string 2",
  "street1": "sample string 3",
  "street2": "sample string 4",
  "city": "sample string 5",
  "state": "sample string 6",
  "postalCode": "sample string 7",
  "telephone": "sample string 8",
  "emailAddress": "sample string 9",
  "country": "sample string 10"
}

application/xml, text/xml

Sample:
<AccountContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tricycle.Studio.Api.Catalog.Models">
  <City>sample string 5</City>
  <Company>sample string 2</Company>
  <Country>sample string 10</Country>
  <EmailAddress>sample string 9</EmailAddress>
  <FullName>sample string 1</FullName>
  <PostalCode>sample string 7</PostalCode>
  <State>sample string 6</State>
  <Street1>sample string 3</Street1>
  <Street2>sample string 4</Street2>
  <Telephone>sample string 8</Telephone>
</AccountContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An HTTP status code indicating success or failure. Information will be returned along with failure when validation fails.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.