# CheckoutSettings

- [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#SCHEMA_REPRESENTATION)
- [CheckoutEnrollmentState](https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutEnrollmentState)
- [CheckoutReviewState](https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutReviewState)

`CheckoutSettings` for a specific merchant ID.

| JSON representation |
|---|
| ``` { "merchantId": string, "uriSettings": { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/UrlSettings`) }, "effectiveUriSettings": { object (`https://developers.google.com/shopping-content/reference/rest/v2.1/UrlSettings`) }, "enrollmentState": enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutEnrollmentState`), "reviewState": enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutReviewState`), "effectiveEnrollmentState": enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutEnrollmentState`), "effectiveReviewState": enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutReviewState`) } ``` |

| Fields ||
|---|---|
| `merchantId` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. The ID of the account. |
| `uriSettings` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/UrlSettings`)`` URL settings for cart or checkout URL. |
| `effectiveUriSettings` | ``object (`https://developers.google.com/shopping-content/reference/rest/v2.1/UrlSettings`)`` The effective value of `url_settings` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account. |
| `enrollmentState` | ``enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutEnrollmentState`)`` Output only. Reflects the merchant enrollment state in `Checkout` feature. |
| `reviewState` | ``enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutReviewState`)`` Output only. Reflects the merchant review state in `Checkout` feature. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an enrollmentState of `ENROLLED` before a review can begin for the merchant. |
| `effectiveEnrollmentState` | ``enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutEnrollmentState`)`` Output only. The effective value of enrollment state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account. |
| `effectiveReviewState` | ``enum (`https://developers.google.com/shopping-content/reference/rest/v2.1/CheckoutSettings#CheckoutReviewState`)`` Output only. The effective value of review state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account. |

## CheckoutEnrollmentState

Enum indicating the enrollment state of merchant in `Checkout` program. LINT.IfChange(CheckoutOnMerchantEnrollmentState)

| Enums ||
|---|---|
| `CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED` | Default enrollment state when enrollment state is not specified. |
| `INACTIVE` | Merchant has not enrolled into the feature. |
| `ENROLLED` | Merchant has enrolled into the feature by providing either an account level URL or checkout URLs as part of their feed. |
| `OPT_OUT` | Merchant has previously enrolled but opted out of the feature. |

## CheckoutReviewState

Enum indicating the review state of merchant in `Checkout` program. LINT.IfChange(CheckoutReviewState)

| Enums ||
|---|---|
| `CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED` | Default review state when review state is not specified. |
| `IN_REVIEW` | Merchant provided URLs are being reviewed for data quality issues. |
| `APPROVED` | Merchant account has been approved. Indicates the data quality checks have passed. |
| `DISAPPROVED` | Merchant account has been disapproved due to data quality issues. |