Resource: CheckoutSettings
CheckoutSettings for a specific merchant.
JSON representation |
---|
{ "name": string, "eligibleDestinations": [ enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the program configuration settings. Format: |
eligibleDestinations[] |
Optional. The destinations (also known as Marketing methods) to which the checkout program applies, valid destination values are |
effectiveUriSettings |
Output only. The effective value of |
uriSettings |
URI settings for cart or checkout URL. |
enrollmentState |
Output only. Reflects the merchant enrollment state in |
reviewState |
Output only. Reflects the merchant review state in |
effectiveEnrollmentState |
Output only. The effective value of enrollmentState 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 (for only marketplace sellers). |
effectiveReviewState |
Output only. The effective value of |
UriSettings
URL settings for cart or checkout URL.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field uri_template . Specifications related to the Checkout URL. The UriTemplate is of the form https://www.mystore.com/checkout?item_id={id} where {id} will be automatically replaced with offer_id attribute from the merchant account uri_template can be only one of the following: |
|
checkoutUriTemplate |
Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc |
cartUriTemplate |
Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc |
CheckoutEnrollmentState
Enum indicating the enrollment state of merchant in Checkout
program.
Enums | |
---|---|
CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED |
Default enrollment state when enrollment state is not specified. |
INACTIVE |
Merchant has not enrolled into the program. |
ENROLLED |
Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed. |
OPTED_OUT |
Merchant has previously enrolled but opted out of the program. |
CheckoutReviewState
Enum indicating the review state of merchant in Checkout
program.
Enums | |
---|---|
CHECKOUT_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. |
Methods |
|
---|---|
|
Creates CheckoutSettings for the given merchant. |
|
Deletes CheckoutSettings and unenrolls merchant from Checkout program. |
|
Gets CheckoutSettings for the given merchant. |
|
Updates CheckoutSettings for the given merchant. |