Debian Codegraph @

docs/dyn/merchantapi_accounts_v1beta.accounts.programs.checkoutSettings.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="merchantapi_accounts_v1beta.html">Merchant API</a> . <a href="merchantapi_accounts_v1beta.accounts.html">accounts</a> . <a href="merchantapi_accounts_v1beta.accounts.programs.html">programs</a> . <a href="merchantapi_accounts_v1beta.accounts.programs.checkoutSettings.html">checkoutSettings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates `CheckoutSettings` for the given merchant.</p>
83 <p class="toc_element">
84 <code><a href="#deleteCheckoutSettings">deleteCheckoutSettings(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes `CheckoutSettings` and unenrolls merchant from `Checkout` program.</p>
86 <p class="toc_element">
87 <code><a href="#getCheckoutSettings">getCheckoutSettings(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets `CheckoutSettings` for the given merchant. This includes information about review state, enrollment state and URL settings.</p>
89 <p class="toc_element">
90 <code><a href="#updateCheckoutSettings">updateCheckoutSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates `CheckoutSettings` for the given merchant.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
100 <pre>Creates `CheckoutSettings` for the given merchant.
101
102 Args:
103 parent: string, Required. The merchant account for which the `CheckoutSettings` will be created. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.
108 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
109 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
110 &quot;effectiveUriSettings&quot;: { # URL settings for cart or checkout URL. # Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
111 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
112 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
113 },
114 &quot;eligibleDestinations&quot;: [ # Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.
115 &quot;A String&quot;,
116 ],
117 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` program.
118 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`
119 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` program. 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 `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.
120 &quot;uriSettings&quot;: { # URL settings for cart or checkout URL. # URI settings for cart or checkout URL.
121 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
122 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
123 },
124 }
125
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131 Returns:
132 An object of the form:
133
134 { # [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.
135 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
136 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
137 &quot;effectiveUriSettings&quot;: { # URL settings for cart or checkout URL. # Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
138 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
139 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
140 },
141 &quot;eligibleDestinations&quot;: [ # Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.
142 &quot;A String&quot;,
143 ],
144 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` program.
145 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`
146 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` program. 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 `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.
147 &quot;uriSettings&quot;: { # URL settings for cart or checkout URL. # URI settings for cart or checkout URL.
148 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
149 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
150 },
151 }</pre>
152 </div>
153
154 <div class="method">
155 <code class="details" id="deleteCheckoutSettings">deleteCheckoutSettings(name, x__xgafv=None)</code>
156 <pre>Deletes `CheckoutSettings` and unenrolls merchant from `Checkout` program.
157
158 Args:
159 name: string, Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings` (required)
160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
164
165 Returns:
166 An object of the form:
167
168 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
169 }</pre>
170 </div>
171
172 <div class="method">
173 <code class="details" id="getCheckoutSettings">getCheckoutSettings(name, x__xgafv=None)</code>
174 <pre>Gets `CheckoutSettings` for the given merchant. This includes information about review state, enrollment state and URL settings.
175
176 Args:
177 name: string, Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings` (required)
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182
183 Returns:
184 An object of the form:
185
186 { # [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.
187 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
188 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
189 &quot;effectiveUriSettings&quot;: { # URL settings for cart or checkout URL. # Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
190 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
191 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
192 },
193 &quot;eligibleDestinations&quot;: [ # Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.
194 &quot;A String&quot;,
195 ],
196 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` program.
197 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`
198 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` program. 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 `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.
199 &quot;uriSettings&quot;: { # URL settings for cart or checkout URL. # URI settings for cart or checkout URL.
200 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
201 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
202 },
203 }</pre>
204 </div>
205
206 <div class="method">
207 <code class="details" id="updateCheckoutSettings">updateCheckoutSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
208 <pre>Updates `CheckoutSettings` for the given merchant.
209
210 Args:
211 name: string, Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings` (required)
212 body: object, The request body.
213 The object takes the form of:
214
215 { # [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.
216 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
217 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
218 &quot;effectiveUriSettings&quot;: { # URL settings for cart or checkout URL. # Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
219 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
220 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
221 },
222 &quot;eligibleDestinations&quot;: [ # Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.
223 &quot;A String&quot;,
224 ],
225 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` program.
226 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`
227 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` program. 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 `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.
228 &quot;uriSettings&quot;: { # URL settings for cart or checkout URL. # URI settings for cart or checkout URL.
229 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
230 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
231 },
232 }
233
234 updateMask: string, Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `eligible_destinations` - `uri_settings`
235 x__xgafv: string, V1 error format.
236 Allowed values
237 1 - v1 error format
238 2 - v2 error format
239
240 Returns:
241 An object of the form:
242
243 { # [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.
244 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
245 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # 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 (for only marketplace sellers).
246 &quot;effectiveUriSettings&quot;: { # URL settings for cart or checkout URL. # Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
247 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
248 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
249 },
250 &quot;eligibleDestinations&quot;: [ # Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.
251 &quot;A String&quot;,
252 ],
253 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` program.
254 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`
255 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` program. 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 `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.
256 &quot;uriSettings&quot;: { # URL settings for cart or checkout URL. # URI settings for cart or checkout URL.
257 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
258 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # 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](https://support.google.com/merchants/answer/13945960#method1&amp;zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
259 },
260 }</pre>
261 </div>
262
263 </body></html>