# REST Resource: chains

- [Resource: Chain](https://developers.google.com/my-business/reference/rest/v4/chains#Chain)
  - [JSON representation](https://developers.google.com/my-business/reference/rest/v4/chains#Chain.SCHEMA_REPRESENTATION)
- [ChainName](https://developers.google.com/my-business/reference/rest/v4/chains#ChainName)
  - [JSON representation](https://developers.google.com/my-business/reference/rest/v4/chains#ChainName.SCHEMA_REPRESENTATION)
- [ChainUrl](https://developers.google.com/my-business/reference/rest/v4/chains#ChainUrl)
  - [JSON representation](https://developers.google.com/my-business/reference/rest/v4/chains#ChainUrl.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/my-business/reference/rest/v4/chains#METHODS_SUMMARY)

## Resource: Chain

A chain is a brand that your business's locations can be affiliated with.

| JSON representation ||
|---|---|
| ``` { "name": string, "chainNames": [ { object (`https://developers.google.com/my-business/reference/rest/v4/chains#ChainName`) } ], "websites": [ { object (`https://developers.google.com/my-business/reference/rest/v4/chains#ChainUrl`) } ], "locationCount": integer } ``` |

| Fields ||
|---|---|
| `name` | `string` The chain's resource name, in the format `chains/{chain_place_id}`. |
| `chainNames[]` | ``object (`https://developers.google.com/my-business/reference/rest/v4/chains#ChainName`)`` Names of the chain. |
| `websites[]` | ``object (`https://developers.google.com/my-business/reference/rest/v4/chains#ChainUrl`)`` Websites of the chain. |
| `locationCount` | `integer` 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` | `string` The display name for this chain. |
| `languageCode` | `string` The BCP 47 code of language of the name. |

## ChainUrl

Url to be used when displaying the chain.

| JSON representation ||
|---|---|
| ``` { "url": string } ``` |

| Fields ||
|---|---|
| `url` | `string` The url for this chain. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/my-business/reference/rest/v4/chains/get` | Gets the specified chain. |
| ### `https://developers.google.com/my-business/reference/rest/v4/chains/search` | Searches the chain based on chain name. |