Debian Codegraph @

docs/dyn/content_v2_1.returnpolicy.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="content_v2_1.html">Content API for Shopping</a> . <a href="content_v2_1.returnpolicy.html">returnpolicy</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="#custombatch">custombatch(body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Batches multiple return policy related calls in a single request.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(merchantId, returnPolicyId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a return policy for the given Merchant Center account.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(merchantId, returnPolicyId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a return policy of the Merchant Center account.</p>
89 <p class="toc_element">
90 <code><a href="#insert">insert(merchantId, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Inserts a return policy for the Merchant Center account.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(merchantId, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists the return policies of the Merchant Center account.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="custombatch">custombatch(body=None, x__xgafv=None)</code>
103 <pre>Batches multiple return policy related calls in a single request.
104
105 Args:
106 body: object, The request body.
107 The object takes the form of:
108
109 {
110 &quot;entries&quot;: [ # The request entries to be processed in the batch.
111 {
112 &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
113 &quot;merchantId&quot;: &quot;A String&quot;, # The Merchant Center account ID.
114 &quot;method&quot;: &quot;A String&quot;, # Method of the batch request entry. Acceptable values are: - &quot;`delete`&quot; - &quot;`get`&quot; - &quot;`insert`&quot;
115 &quot;returnPolicy&quot;: { # Return policy resource. # The return policy to submit. This should be set only if the method is `insert`.
116 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
117 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
118 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
119 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
120 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
121 &quot;A String&quot;,
122 ],
123 &quot;policy&quot;: { # Required. The policy.
124 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
125 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
126 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
127 },
128 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
129 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
130 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
131 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
132 },
133 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
134 {
135 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
136 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
137 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
138 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
139 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
140 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
141 },
142 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
143 },
144 ],
145 },
146 &quot;returnPolicyId&quot;: &quot;A String&quot;, # The return policy ID. This should be set only if the method is `delete` or `get`.
147 },
148 ],
149 }
150
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 {
160 &quot;entries&quot;: [ # The result of the execution of the batch requests.
161 {
162 &quot;batchId&quot;: 42, # The ID of the request entry to which this entry responds.
163 &quot;errors&quot;: { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed.
164 &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
165 &quot;errors&quot;: [ # A list of errors.
166 { # An error returned by the API.
167 &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
168 &quot;message&quot;: &quot;A String&quot;, # A description of the error.
169 &quot;reason&quot;: &quot;A String&quot;, # The error code.
170 },
171 ],
172 &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
173 },
174 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnpolicyCustomBatchResponseEntry`&quot;
175 &quot;returnPolicy&quot;: { # Return policy resource. # The retrieved return policy.
176 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
177 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
178 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
179 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
180 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
181 &quot;A String&quot;,
182 ],
183 &quot;policy&quot;: { # Required. The policy.
184 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
185 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
186 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
187 },
188 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
189 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
190 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
191 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
192 },
193 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
194 {
195 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
196 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
197 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
198 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
199 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
200 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
201 },
202 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
203 },
204 ],
205 },
206 },
207 ],
208 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnpolicyCustomBatchResponse`&quot;.
209 }</pre>
210 </div>
211
212 <div class="method">
213 <code class="details" id="delete">delete(merchantId, returnPolicyId, x__xgafv=None)</code>
214 <pre>Deletes a return policy for the given Merchant Center account.
215
216 Args:
217 merchantId: string, The Merchant Center account from which to delete the given return policy. (required)
218 returnPolicyId: string, Return policy ID generated by Google. (required)
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223 </pre>
224 </div>
225
226 <div class="method">
227 <code class="details" id="get">get(merchantId, returnPolicyId, x__xgafv=None)</code>
228 <pre>Gets a return policy of the Merchant Center account.
229
230 Args:
231 merchantId: string, The Merchant Center account to get a return policy for. (required)
232 returnPolicyId: string, Return policy ID generated by Google. (required)
233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
237
238 Returns:
239 An object of the form:
240
241 { # Return policy resource.
242 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
243 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
244 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
245 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
246 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
247 &quot;A String&quot;,
248 ],
249 &quot;policy&quot;: { # Required. The policy.
250 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
251 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
252 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
253 },
254 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
255 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
256 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
257 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
258 },
259 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
260 {
261 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
262 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
263 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
264 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
265 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
266 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
267 },
268 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
269 },
270 ],
271 }</pre>
272 </div>
273
274 <div class="method">
275 <code class="details" id="insert">insert(merchantId, body=None, x__xgafv=None)</code>
276 <pre>Inserts a return policy for the Merchant Center account.
277
278 Args:
279 merchantId: string, The Merchant Center account to insert a return policy for. (required)
280 body: object, The request body.
281 The object takes the form of:
282
283 { # Return policy resource.
284 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
285 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
286 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
287 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
288 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
289 &quot;A String&quot;,
290 ],
291 &quot;policy&quot;: { # Required. The policy.
292 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
293 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
294 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
295 },
296 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
297 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
298 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
299 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
300 },
301 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
302 {
303 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
304 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
305 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
306 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
307 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
308 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
309 },
310 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
311 },
312 ],
313 }
314
315 x__xgafv: string, V1 error format.
316 Allowed values
317 1 - v1 error format
318 2 - v2 error format
319
320 Returns:
321 An object of the form:
322
323 { # Return policy resource.
324 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
325 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
326 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
327 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
328 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
329 &quot;A String&quot;,
330 ],
331 &quot;policy&quot;: { # Required. The policy.
332 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
333 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
334 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
335 },
336 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
337 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
338 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
339 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
340 },
341 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
342 {
343 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
344 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
345 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
346 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
347 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
348 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
349 },
350 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
351 },
352 ],
353 }</pre>
354 </div>
355
356 <div class="method">
357 <code class="details" id="list">list(merchantId, x__xgafv=None)</code>
358 <pre>Lists the return policies of the Merchant Center account.
359
360 Args:
361 merchantId: string, The Merchant Center account to list return policies for. (required)
362 x__xgafv: string, V1 error format.
363 Allowed values
364 1 - v1 error format
365 2 - v2 error format
366
367 Returns:
368 An object of the form:
369
370 {
371 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnpolicyListResponse`&quot;.
372 &quot;resources&quot;: [
373 { # Return policy resource.
374 &quot;country&quot;: &quot;A String&quot;, # Required. The country of sale where the return policy is applicable.
375 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#returnPolicy`&quot;
376 &quot;label&quot;: &quot;A String&quot;, # Required. The user-defined label of the return policy. For the default policy, use the label &quot;default&quot;.
377 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the policy as shown in Merchant Center.
378 &quot;nonFreeReturnReasons&quot;: [ # Return reasons that will incur return fees.
379 &quot;A String&quot;,
380 ],
381 &quot;policy&quot;: { # Required. The policy.
382 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
383 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
384 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
385 },
386 &quot;returnPolicyId&quot;: &quot;A String&quot;, # Return policy ID generated by Google.
387 &quot;returnShippingFee&quot;: { # The return shipping fee that will apply to non free return reasons.
388 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
389 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
390 },
391 &quot;seasonalOverrides&quot;: [ # An optional list of seasonal overrides.
392 {
393 &quot;endDate&quot;: &quot;A String&quot;, # Required. Last day on which the override applies. In ISO 8601 format.
394 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the seasonal override as shown in Merchant Center.
395 &quot;policy&quot;: { # Required. The policy which is in effect during that time.
396 &quot;lastReturnDate&quot;: &quot;A String&quot;, # Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to &quot;lastReturnDate&quot;. Use this for seasonal overrides only.
397 &quot;numberOfDays&quot;: &quot;A String&quot;, # The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to &quot;numberOfDaysAfterDelivery&quot;. Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.
398 &quot;type&quot;: &quot;A String&quot;, # Policy type. Use &quot;lastReturnDate&quot; for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - &quot;`lastReturnDate`&quot; - &quot;`lifetimeReturns`&quot; - &quot;`noReturns`&quot; - &quot;`numberOfDaysAfterDelivery`&quot;
399 },
400 &quot;startDate&quot;: &quot;A String&quot;, # Required. First day on which the override applies. In ISO 8601 format.
401 },
402 ],
403 },
404 ],
405 }</pre>
406 </div>
407
408 </body></html>