Debian Codegraph @

docs/dyn/content_v2_1.productdeliverytime.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.productdeliverytime.html">productdeliverytime</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(merchantId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates or updates the delivery time of a product.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(merchantId, productId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the delivery time of a product.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(merchantId, productId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets `productDeliveryTime` by `productId`.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="create">create(merchantId, body=None, x__xgafv=None)</code>
97 <pre>Creates or updates the delivery time of a product.
98
99 Args:
100 merchantId: string, The Google merchant ID of the account that contains the product. This account cannot be a multi-client account. (required)
101 body: object, The request body.
102 The object takes the form of:
103
104 { # The estimated days to deliver a product after an order is placed. Only authorized shipping signals partners working with a merchant can use this resource. Merchants should use the [`products`](https://developers.google.com/shopping-content/reference/rest/v2.1/products#productshipping) resource instead.
105 &quot;areaDeliveryTimes&quot;: [ # Required. A set of associations between `DeliveryArea` and `DeliveryTime` entries. The total number of `areaDeliveryTimes` can be at most 100.
106 { # A pairing of `DeliveryArea` associated with a `DeliveryTime` for this product.
107 &quot;deliveryArea&quot;: { # A delivery area for the product. Only one of `countryCode` or `postalCodeRange` must be set. # Required. The delivery area associated with `deliveryTime` for this product.
108 &quot;countryCode&quot;: &quot;A String&quot;, # Required. The country that the product can be delivered to. Submit a [unicode CLDR region](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) such as `US` or `CH`.
109 &quot;postalCodeRange&quot;: { # A range of postal codes that defines the delivery area. Only set `firstPostalCode` when specifying a single postal code. # A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS.
110 &quot;firstPostalCode&quot;: &quot;A String&quot;, # Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `&quot;94108&quot;`, `&quot;9410*&quot;`, `&quot;9*&quot;`.
111 &quot;lastPostalCode&quot;: &quot;A String&quot;, # A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area (for example [070* - 078*] results in the range [07000 - 07899]). It must have the same length as `firstPostalCode`: if `firstPostalCode` is a postal code then `lastPostalCode` must be a postal code too; if firstPostalCode is a pattern then `lastPostalCode` must be a pattern with the same prefix length. Ignored if not set, then the area is defined as being all the postal codes matching `firstPostalCode`.
112 },
113 &quot;regionCode&quot;: &quot;A String&quot;, # A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables ([US](https://en.wikipedia.org/wiki/ISO_3166-2:US), [AU](https://en.wikipedia.org/wiki/ISO_3166-2:AU), or [JP](https://en.wikipedia.org/wiki/ISO_3166-2:JP)) without country prefix (for example, `&quot;NY&quot;`, `&quot;NSW&quot;`, `&quot;03&quot;`).
114 },
115 &quot;deliveryTime&quot;: { # A delivery time for this product. # Required. The delivery time associated with `deliveryArea` for this product.
116 &quot;maxHandlingTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
117 &quot;maxTransitTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when the product ships and when the product is delivered.
118 &quot;minHandlingTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
119 &quot;minTransitTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when the product ships and when the product is delivered.
120 },
121 },
122 ],
123 &quot;productId&quot;: { # The Content API ID of the product. # Required. The `id` of the product.
124 &quot;productId&quot;: &quot;A String&quot;, # The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.
125 },
126 }
127
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133 Returns:
134 An object of the form:
135
136 { # The estimated days to deliver a product after an order is placed. Only authorized shipping signals partners working with a merchant can use this resource. Merchants should use the [`products`](https://developers.google.com/shopping-content/reference/rest/v2.1/products#productshipping) resource instead.
137 &quot;areaDeliveryTimes&quot;: [ # Required. A set of associations between `DeliveryArea` and `DeliveryTime` entries. The total number of `areaDeliveryTimes` can be at most 100.
138 { # A pairing of `DeliveryArea` associated with a `DeliveryTime` for this product.
139 &quot;deliveryArea&quot;: { # A delivery area for the product. Only one of `countryCode` or `postalCodeRange` must be set. # Required. The delivery area associated with `deliveryTime` for this product.
140 &quot;countryCode&quot;: &quot;A String&quot;, # Required. The country that the product can be delivered to. Submit a [unicode CLDR region](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) such as `US` or `CH`.
141 &quot;postalCodeRange&quot;: { # A range of postal codes that defines the delivery area. Only set `firstPostalCode` when specifying a single postal code. # A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS.
142 &quot;firstPostalCode&quot;: &quot;A String&quot;, # Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `&quot;94108&quot;`, `&quot;9410*&quot;`, `&quot;9*&quot;`.
143 &quot;lastPostalCode&quot;: &quot;A String&quot;, # A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area (for example [070* - 078*] results in the range [07000 - 07899]). It must have the same length as `firstPostalCode`: if `firstPostalCode` is a postal code then `lastPostalCode` must be a postal code too; if firstPostalCode is a pattern then `lastPostalCode` must be a pattern with the same prefix length. Ignored if not set, then the area is defined as being all the postal codes matching `firstPostalCode`.
144 },
145 &quot;regionCode&quot;: &quot;A String&quot;, # A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables ([US](https://en.wikipedia.org/wiki/ISO_3166-2:US), [AU](https://en.wikipedia.org/wiki/ISO_3166-2:AU), or [JP](https://en.wikipedia.org/wiki/ISO_3166-2:JP)) without country prefix (for example, `&quot;NY&quot;`, `&quot;NSW&quot;`, `&quot;03&quot;`).
146 },
147 &quot;deliveryTime&quot;: { # A delivery time for this product. # Required. The delivery time associated with `deliveryArea` for this product.
148 &quot;maxHandlingTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
149 &quot;maxTransitTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when the product ships and when the product is delivered.
150 &quot;minHandlingTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
151 &quot;minTransitTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when the product ships and when the product is delivered.
152 },
153 },
154 ],
155 &quot;productId&quot;: { # The Content API ID of the product. # Required. The `id` of the product.
156 &quot;productId&quot;: &quot;A String&quot;, # The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.
157 },
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(merchantId, productId, x__xgafv=None)</code>
163 <pre>Deletes the delivery time of a product.
164
165 Args:
166 merchantId: string, Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account. (required)
167 productId: string, Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`. (required)
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172 </pre>
173 </div>
174
175 <div class="method">
176 <code class="details" id="get">get(merchantId, productId, x__xgafv=None)</code>
177 <pre>Gets `productDeliveryTime` by `productId`.
178
179 Args:
180 merchantId: string, Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account. (required)
181 productId: string, Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`. (required)
182 x__xgafv: string, V1 error format.
183 Allowed values
184 1 - v1 error format
185 2 - v2 error format
186
187 Returns:
188 An object of the form:
189
190 { # The estimated days to deliver a product after an order is placed. Only authorized shipping signals partners working with a merchant can use this resource. Merchants should use the [`products`](https://developers.google.com/shopping-content/reference/rest/v2.1/products#productshipping) resource instead.
191 &quot;areaDeliveryTimes&quot;: [ # Required. A set of associations between `DeliveryArea` and `DeliveryTime` entries. The total number of `areaDeliveryTimes` can be at most 100.
192 { # A pairing of `DeliveryArea` associated with a `DeliveryTime` for this product.
193 &quot;deliveryArea&quot;: { # A delivery area for the product. Only one of `countryCode` or `postalCodeRange` must be set. # Required. The delivery area associated with `deliveryTime` for this product.
194 &quot;countryCode&quot;: &quot;A String&quot;, # Required. The country that the product can be delivered to. Submit a [unicode CLDR region](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) such as `US` or `CH`.
195 &quot;postalCodeRange&quot;: { # A range of postal codes that defines the delivery area. Only set `firstPostalCode` when specifying a single postal code. # A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS.
196 &quot;firstPostalCode&quot;: &quot;A String&quot;, # Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `&quot;94108&quot;`, `&quot;9410*&quot;`, `&quot;9*&quot;`.
197 &quot;lastPostalCode&quot;: &quot;A String&quot;, # A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area (for example [070* - 078*] results in the range [07000 - 07899]). It must have the same length as `firstPostalCode`: if `firstPostalCode` is a postal code then `lastPostalCode` must be a postal code too; if firstPostalCode is a pattern then `lastPostalCode` must be a pattern with the same prefix length. Ignored if not set, then the area is defined as being all the postal codes matching `firstPostalCode`.
198 },
199 &quot;regionCode&quot;: &quot;A String&quot;, # A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables ([US](https://en.wikipedia.org/wiki/ISO_3166-2:US), [AU](https://en.wikipedia.org/wiki/ISO_3166-2:AU), or [JP](https://en.wikipedia.org/wiki/ISO_3166-2:JP)) without country prefix (for example, `&quot;NY&quot;`, `&quot;NSW&quot;`, `&quot;03&quot;`).
200 },
201 &quot;deliveryTime&quot;: { # A delivery time for this product. # Required. The delivery time associated with `deliveryArea` for this product.
202 &quot;maxHandlingTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
203 &quot;maxTransitTimeDays&quot;: 42, # Required. The maximum number of business days (inclusive) between when the product ships and when the product is delivered.
204 &quot;minHandlingTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.
205 &quot;minTransitTimeDays&quot;: 42, # Required. The minimum number of business days (inclusive) between when the product ships and when the product is delivered.
206 },
207 },
208 ],
209 &quot;productId&quot;: { # The Content API ID of the product. # Required. The `id` of the product.
210 &quot;productId&quot;: &quot;A String&quot;, # The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.
211 },
212 }</pre>
213 </div>
214
215 </body></html>