Page Summary
-
A
Chainrepresents a brand with multiple business locations, containing information like name, websites, and location count. -
Chaindata includesChainNamefor display purposes andChainUrlfor website links. -
You can programmatically access chain data using the
getandsearchmethods provided. -
The
Chainresource uses JSON for data representation and includes fields for identifying the chain and related information.
Resource: Chain
A chain is a brand that your business's locations can be affiliated with.
| JSON representation | |
|---|---|
{ "name" : string , "chainNames" : [ { object ( |
|
| Fields | |
|---|---|
name
|
The chain's resource name, in the format |
chainNames[]
|
Names of the chain. |
websites[]
|
Websites of the chain. |
locationCount
|
Number of locations that are part of this chain. |
ChainName
Name to be used when displaying the chain.
| JSON representation | |
|---|---|
{ "displayName" : string , "languageCode" : string } |
|
| Fields | |
|---|---|
displayName
|
The display name for this chain. |
languageCode
|
The BCP 47 code of language of the name. |
ChainUrl
Url to be used when displaying the chain.
| JSON representation | |
|---|---|
{ "url" : string } |
|
| Fields | |
|---|---|
url
|
The url for this chain. |
Methods |
|
|---|---|
|
Gets the specified chain. |
|
Searches the chain based on chain name. |

