# REST Resource: accountstatuses

- [Resource: AccountStatus](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatus)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatus.SCHEMA_REPRESENTATION)
- [AccountStatusAccountLevelIssue](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusAccountLevelIssue)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusAccountLevelIssue.SCHEMA_REPRESENTATION)
- [AccountStatusProducts](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusProducts)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusProducts.SCHEMA_REPRESENTATION)
- [AccountStatusStatistics](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusStatistics)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusStatistics.SCHEMA_REPRESENTATION)
- [AccountStatusItemLevelIssue](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusItemLevelIssue)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusItemLevelIssue.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#METHODS_SUMMARY)

## Resource: AccountStatus

The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time.

| JSON representation |
|---|
| ``` { "accountId": string, "kind": string, "websiteClaimed": boolean, "accountLevelIssues": [ { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusAccountLevelIssue`) } ], "products": [ { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusProducts`) } ], "accountManagement": string } ``` |

| Fields ||
|---|---|
| `accountId` | `string` The ID of the account for which the status is reported. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`" |
| `websiteClaimed` | `boolean` Whether the account's website is claimed or not. |
| `accountLevelIssues[]` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusAccountLevelIssue`)`` A list of account level issues. |
| `products[]` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusProducts`)`` accountstatuses.list of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. |
| `accountManagement` | `string` How the account is managed. Acceptable values are: - "`manual`" - "`automatic`" <br /> |

## AccountStatusAccountLevelIssue

| JSON representation |
|---|
| ``` { "id": string, "title": string, "country": string, "severity": string, "detail": string, "destination": string, "documentation": string } ``` |

| Fields ||
|---|---|
| `id` | `string` Issue identifier. |
| `title` | `string` Short description of the issue. |
| `country` | `string` Country for which this issue is reported. |
| `severity` | `string` Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`suggestion`" <br /> |
| `detail` | `string` Additional details about the issue. |
| `destination` | `string` The destination the issue applies to. If this field is empty then the issue applies to all available destinations. |
| `documentation` | `string` The URL of a web page to help resolving this issue. |

## AccountStatusProducts

| JSON representation |
|---|
| ``` { "channel": string, "destination": string, "country": string, "statistics": { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusStatistics`) }, "itemLevelIssues": [ { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusItemLevelIssue`) } ] } ``` |

| Fields ||
|---|---|
| `channel` | `string` The channel the data applies to. Acceptable values are: - "`local`" - "`online`" <br /> |
| `destination` | `string` The destination the data applies to. |
| `country` | `string` The country the data applies to. |
| `statistics` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusStatistics`)`` Aggregated product statistics. |
| `itemLevelIssues[]` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses#AccountStatusItemLevelIssue`)`` accountstatuses.list of item-level issues. |

## AccountStatusStatistics

| JSON representation |
|---|
| ``` { "active": string, "pending": string, "disapproved": string, "expiring": string } ``` |

| Fields ||
|---|---|
| `active` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of active offers. |
| `pending` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of pending offers. |
| `disapproved` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of disapproved offers. |
| `expiring` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of expiring offers. |

## AccountStatusItemLevelIssue

| JSON representation |
|---|
| ``` { "code": string, "servability": string, "resolution": string, "attributeName": string, "description": string, "detail": string, "documentation": string, "numItems": string } ``` |

| Fields ||
|---|---|
| `code` | `string` The error code of the issue. |
| `servability` | `string` How this issue affects serving of the offer. |
| `resolution` | `string` Whether the issue can be resolved by the merchant. |
| `attributeName` | `string` The attribute's name, if the issue is caused by a single attribute. |
| `description` | `string` A short issue description in English. |
| `detail` | `string` A detailed issue description in English. |
| `documentation` | `string` The URL of a web page to help with resolving this issue. |
| `numItems` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of items with this issue. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses/custombatch` | Retrieves multiple Merchant Center account statuses in a single request. |
| ### `https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses/get` | Retrieves the status of a Merchant Center account. |
| ### `https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses/list` | Lists the statuses of the sub-accounts in your Merchant Center account. |