Skip to main content
Sub-Account (Formerly Location)Version: v3

Put Sub-Account (Formerly Location)

PUT/locations/{locationId}

Update a Sub-Account (Formerly Location) based on the data provided

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:locations.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Path Parameters

locationIdstringrequired

Location Id

Example:ve9EPM428h8vShlRW1KT

Body

namestring

The name for the sub-account/location

Example:Mark Shoes
phonestring

The phone number of the business for which sub-account is created

Example:+1410039940
companyIdstringrequired

Company/Agency Id

Example:UAXssdawIWAWD
addressstring

The address of the business for which sub-account is created

Example:4th fleet street
citystring

The city where the business is located for which sub-account is created

Example:New York
statestring

The state in which the business operates for which sub-account is created

Example:Illinois
countrystring

The country in which the business is present for which sub-account is created

Available optionsAFAXALDZASADAOAIAQAGARAM
Example:US
postalCodestring

The postal code of the business for which sub-account is created

Example:567654
websitestring

The website of the business for which sub-account is created

Example:https://yourwebsite.com
timezonestring

The timezone of the business for which sub-account is created

Example:US/Central
prospectInfoobject
settingsobject

The default settings for location

socialobject

The social media links for location

twilioobjectdeprecated

(DEPRECATED) The twilio credentials for location

mailgunobject

The mailgun credentials for location

snapshotobject

The snapshot to be updated in the location.

Response

Successful update response

idstring

Location Id

Example:ve9EPM428h8vShlRW1KT
companyIdstring

Company/Agency Id

Example:UAXssdawIWAWD
namestring

The name for the sub-account/location

Example:Mark Shoes
phonestring

The phone number of the business for which sub-account is created

Example:+1410039940
emailstring

The email for the sub-account/location

addressstring

The address of the business for which sub-account is created

Example:4th fleet street
citystring

The city where the business is located for which sub-account is created

Example:New York
statestring

The state in which the business operates for which sub-account is created

Example:Illinois
domainstring
Example:test.msgsndr.com
countrystring

The country in which the business is present for which sub-account is created

Available optionsAFAXALDZASADAOAIAQAGARAM
Example:US
postalCodestring

The postal code of the business for which sub-account is created

Example:567654
websitestring

The website of the business for which sub-account is created

Example:https://yourwebsite.com
timezonestring

The timezone of the business for which sub-account is created

Example:US/Central
settingsobject

The default settings for location

socialobject

The social media links for location