Debian Codegraph @

docs/dyn/content_v2.pos.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.html">Content API for Shopping</a> . <a href="content_v2.pos.html">pos</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, dryRun=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Batches multiple POS-related calls in a single request.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(merchantId, targetMerchantId, storeCode, dryRun=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a store for the given merchant.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(merchantId, targetMerchantId, storeCode, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves information about the given store.</p>
89 <p class="toc_element">
90 <code><a href="#insert">insert(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Creates a store for the given merchant.</p>
92 <p class="toc_element">
93 <code><a href="#inventory">inventory(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Submit inventory for the given merchant.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(merchantId, targetMerchantId, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists the stores of the target merchant.</p>
98 <p class="toc_element">
99 <code><a href="#sale">sale(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Submit a sale event for the given merchant.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="custombatch">custombatch(body=None, dryRun=None, x__xgafv=None)</code>
109 <pre>Batches multiple POS-related calls in a single request.
110
111 Args:
112 body: object, The request body.
113 The object takes the form of:
114
115 {
116 &quot;entries&quot;: [ # The request entries to be processed in the batch.
117 {
118 &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
119 &quot;inventory&quot;: { # The absolute quantity of an item available at the given store. # The inventory to submit. This should be set only if the method is `inventory`.
120 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
121 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
122 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
123 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posInventory`&quot;
124 &quot;price&quot;: { # Required. The current price of the item.
125 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
126 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
127 },
128 &quot;quantity&quot;: &quot;A String&quot;, # Required. The available quantity of the item.
129 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
130 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
131 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
132 },
133 &quot;merchantId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
134 &quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`delete`&quot; - &quot;`get`&quot; - &quot;`insert`&quot; - &quot;`inventory`&quot; - &quot;`sale`&quot;
135 &quot;sale&quot;: { # The change of the available quantity of an item at the given store. # The sale information to submit. This should be set only if the method is `sale`.
136 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
137 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
138 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
139 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posSale`&quot;
140 &quot;price&quot;: { # Required. The price of the item.
141 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
142 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
143 },
144 &quot;quantity&quot;: &quot;A String&quot;, # Required. The relative change of the available quantity. Negative for items returned.
145 &quot;saleId&quot;: &quot;A String&quot;, # A unique ID to group items from the same sale event.
146 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
147 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
148 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
149 },
150 &quot;store&quot;: { # Store resource. # The store information to submit. This should be set only if the method is `insert`.
151 &quot;gcidCategory&quot;: [ # The business type of the store.
152 &quot;A String&quot;,
153 ],
154 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
155 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
156 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
157 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
158 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
159 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
160 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
161 },
162 &quot;storeCode&quot;: &quot;A String&quot;, # The store code. This should be set only if the method is `delete` or `get`.
163 &quot;targetMerchantId&quot;: &quot;A String&quot;, # The ID of the account for which to get/submit data.
164 },
165 ],
166 }
167
168 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 {
178 &quot;entries&quot;: [ # The result of the execution of the batch requests.
179 {
180 &quot;batchId&quot;: 42, # The ID of the request entry to which this entry responds.
181 &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.
182 &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
183 &quot;errors&quot;: [ # A list of errors.
184 { # An error returned by the API.
185 &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
186 &quot;message&quot;: &quot;A String&quot;, # A description of the error.
187 &quot;reason&quot;: &quot;A String&quot;, # The error code.
188 },
189 ],
190 &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
191 },
192 &quot;inventory&quot;: { # The absolute quantity of an item available at the given store. # The updated inventory information.
193 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
194 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
195 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
196 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posInventory`&quot;
197 &quot;price&quot;: { # Required. The current price of the item.
198 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
199 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
200 },
201 &quot;quantity&quot;: &quot;A String&quot;, # Required. The available quantity of the item.
202 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
203 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
204 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
205 },
206 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posCustomBatchResponseEntry`&quot;
207 &quot;sale&quot;: { # The change of the available quantity of an item at the given store. # The updated sale information.
208 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
209 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
210 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
211 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posSale`&quot;
212 &quot;price&quot;: { # Required. The price of the item.
213 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
214 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
215 },
216 &quot;quantity&quot;: &quot;A String&quot;, # Required. The relative change of the available quantity. Negative for items returned.
217 &quot;saleId&quot;: &quot;A String&quot;, # A unique ID to group items from the same sale event.
218 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
219 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
220 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
221 },
222 &quot;store&quot;: { # Store resource. # The retrieved or updated store information.
223 &quot;gcidCategory&quot;: [ # The business type of the store.
224 &quot;A String&quot;,
225 ],
226 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
227 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
228 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
229 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
230 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
231 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
232 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
233 },
234 },
235 ],
236 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#posCustomBatchResponse&quot;.
237 }</pre>
238 </div>
239
240 <div class="method">
241 <code class="details" id="delete">delete(merchantId, targetMerchantId, storeCode, dryRun=None, x__xgafv=None)</code>
242 <pre>Deletes a store for the given merchant.
243
244 Args:
245 merchantId: string, The ID of the POS or inventory data provider. (required)
246 targetMerchantId: string, The ID of the target merchant. (required)
247 storeCode: string, A store code that is unique per merchant. (required)
248 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
249 x__xgafv: string, V1 error format.
250 Allowed values
251 1 - v1 error format
252 2 - v2 error format
253 </pre>
254 </div>
255
256 <div class="method">
257 <code class="details" id="get">get(merchantId, targetMerchantId, storeCode, x__xgafv=None)</code>
258 <pre>Retrieves information about the given store.
259
260 Args:
261 merchantId: string, The ID of the POS or inventory data provider. (required)
262 targetMerchantId: string, The ID of the target merchant. (required)
263 storeCode: string, A store code that is unique per merchant. (required)
264 x__xgafv: string, V1 error format.
265 Allowed values
266 1 - v1 error format
267 2 - v2 error format
268
269 Returns:
270 An object of the form:
271
272 { # Store resource.
273 &quot;gcidCategory&quot;: [ # The business type of the store.
274 &quot;A String&quot;,
275 ],
276 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
277 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
278 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
279 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
280 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
281 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
282 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
283 }</pre>
284 </div>
285
286 <div class="method">
287 <code class="details" id="insert">insert(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</code>
288 <pre>Creates a store for the given merchant.
289
290 Args:
291 merchantId: string, The ID of the POS or inventory data provider. (required)
292 targetMerchantId: string, The ID of the target merchant. (required)
293 body: object, The request body.
294 The object takes the form of:
295
296 { # Store resource.
297 &quot;gcidCategory&quot;: [ # The business type of the store.
298 &quot;A String&quot;,
299 ],
300 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
301 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
302 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
303 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
304 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
305 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
306 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
307 }
308
309 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
310 x__xgafv: string, V1 error format.
311 Allowed values
312 1 - v1 error format
313 2 - v2 error format
314
315 Returns:
316 An object of the form:
317
318 { # Store resource.
319 &quot;gcidCategory&quot;: [ # The business type of the store.
320 &quot;A String&quot;,
321 ],
322 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
323 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
324 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
325 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
326 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
327 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
328 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
329 }</pre>
330 </div>
331
332 <div class="method">
333 <code class="details" id="inventory">inventory(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</code>
334 <pre>Submit inventory for the given merchant.
335
336 Args:
337 merchantId: string, The ID of the POS or inventory data provider. (required)
338 targetMerchantId: string, The ID of the target merchant. (required)
339 body: object, The request body.
340 The object takes the form of:
341
342 {
343 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
344 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
345 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
346 &quot;price&quot;: { # Required. The current price of the item.
347 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
348 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
349 },
350 &quot;quantity&quot;: &quot;A String&quot;, # Required. The available quantity of the item.
351 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
352 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
353 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
354 }
355
356 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
357 x__xgafv: string, V1 error format.
358 Allowed values
359 1 - v1 error format
360 2 - v2 error format
361
362 Returns:
363 An object of the form:
364
365 {
366 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
367 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
368 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
369 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#posInventoryResponse&quot;.
370 &quot;price&quot;: { # Required. The current price of the item.
371 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
372 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
373 },
374 &quot;quantity&quot;: &quot;A String&quot;, # Required. The available quantity of the item.
375 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
376 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
377 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
378 }</pre>
379 </div>
380
381 <div class="method">
382 <code class="details" id="list">list(merchantId, targetMerchantId, x__xgafv=None)</code>
383 <pre>Lists the stores of the target merchant.
384
385 Args:
386 merchantId: string, The ID of the POS or inventory data provider. (required)
387 targetMerchantId: string, The ID of the target merchant. (required)
388 x__xgafv: string, V1 error format.
389 Allowed values
390 1 - v1 error format
391 2 - v2 error format
392
393 Returns:
394 An object of the form:
395
396 {
397 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#posListResponse&quot;.
398 &quot;resources&quot;: [
399 { # Store resource.
400 &quot;gcidCategory&quot;: [ # The business type of the store.
401 &quot;A String&quot;,
402 ],
403 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#posStore`&quot;
404 &quot;phoneNumber&quot;: &quot;A String&quot;, # The store phone number.
405 &quot;placeId&quot;: &quot;A String&quot;, # The Google Place Id of the store location.
406 &quot;storeAddress&quot;: &quot;A String&quot;, # Required. The street address of the store.
407 &quot;storeCode&quot;: &quot;A String&quot;, # Required. A store identifier that is unique for the given merchant.
408 &quot;storeName&quot;: &quot;A String&quot;, # The merchant or store name.
409 &quot;websiteUrl&quot;: &quot;A String&quot;, # The website url for the store or merchant.
410 },
411 ],
412 }</pre>
413 </div>
414
415 <div class="method">
416 <code class="details" id="sale">sale(merchantId, targetMerchantId, body=None, dryRun=None, x__xgafv=None)</code>
417 <pre>Submit a sale event for the given merchant.
418
419 Args:
420 merchantId: string, The ID of the POS or inventory data provider. (required)
421 targetMerchantId: string, The ID of the target merchant. (required)
422 body: object, The request body.
423 The object takes the form of:
424
425 {
426 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
427 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
428 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
429 &quot;price&quot;: { # Required. The price of the item.
430 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
431 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
432 },
433 &quot;quantity&quot;: &quot;A String&quot;, # Required. The relative change of the available quantity. Negative for items returned.
434 &quot;saleId&quot;: &quot;A String&quot;, # A unique ID to group items from the same sale event.
435 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
436 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
437 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
438 }
439
440 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
441 x__xgafv: string, V1 error format.
442 Allowed values
443 1 - v1 error format
444 2 - v2 error format
445
446 Returns:
447 An object of the form:
448
449 {
450 &quot;contentLanguage&quot;: &quot;A String&quot;, # Required. The two-letter ISO 639-1 language code for the item.
451 &quot;gtin&quot;: &quot;A String&quot;, # Global Trade Item Number.
452 &quot;itemId&quot;: &quot;A String&quot;, # Required. A unique identifier for the item.
453 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#posSaleResponse&quot;.
454 &quot;price&quot;: { # Required. The price of the item.
455 &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
456 &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
457 },
458 &quot;quantity&quot;: &quot;A String&quot;, # Required. The relative change of the available quantity. Negative for items returned.
459 &quot;saleId&quot;: &quot;A String&quot;, # A unique ID to group items from the same sale event.
460 &quot;storeCode&quot;: &quot;A String&quot;, # Required. The identifier of the merchant&#x27;s store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
461 &quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item.
462 &quot;timestamp&quot;: &quot;A String&quot;, # Required. The inventory timestamp, in ISO 8601 format.
463 }</pre>
464 </div>
465
466 </body></html>