Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 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.liasettings.html">liasettings</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#custombatch">custombatch(body=None, dryRun=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 82 | <p class="firstline">Retrieves and/or updates the LIA settings of multiple accounts in a single request.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#get">get(merchantId, accountId)</a></code></p> |
| 85 | <p class="firstline">Retrieves the LIA settings of the account.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#getaccessiblegmbaccounts">getaccessiblegmbaccounts(merchantId, accountId)</a></code></p> |
| 88 | <p class="firstline">Retrieves the list of accessible Google My Business accounts.</p> |
| 89 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 90 | <code><a href="#list">list(merchantId, maxResults=None, pageToken=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 91 | <p class="firstline">Lists the LIA settings of the sub-accounts in your Merchant Center account.</p> |
| 92 | <p class="toc_element"> |
| 93 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 94 | <p class="firstline">Retrieves the next page of results.</p> |
| 95 | <p class="toc_element"> |
| 96 | <code><a href="#listposdataproviders">listposdataproviders()</a></code></p> |
| 97 | <p class="firstline">Retrieves the list of POS data providers that have active settings for the all eiligible countries.</p> |
| 98 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 99 | <code><a href="#requestgmbaccess">requestgmbaccess(merchantId, accountId, gmbEmail)</a></code></p> |
| 100 | <p class="firstline">Requests access to a specified Google My Business account.</p> |
| 101 | <p class="toc_element"> |
| 102 | <code><a href="#requestinventoryverification">requestinventoryverification(merchantId, accountId, country)</a></code></p> |
| 103 | <p class="firstline">Requests inventory validation for the specified country.</p> |
| 104 | <p class="toc_element"> |
| 105 | <code><a href="#setinventoryverificationcontact">setinventoryverificationcontact(merchantId, accountId, contactEmail, contactName, country, language)</a></code></p> |
| 106 | <p class="firstline">Sets the inventory verification contract for the specified country.</p> |
| 107 | <p class="toc_element"> |
| 108 | <code><a href="#setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None)</a></code></p> |
| 109 | <p class="firstline">Sets the POS data provider for the specified country.</p> |
| 110 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 111 | <code><a href="#update">update(merchantId, accountId, body=None, dryRun=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 112 | <p class="firstline">Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 113 | <h3>Method Details</h3> |
| 114 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 115 | <code class="details" id="close">close()</code> |
| 116 | <pre>Close httplib2 connections.</pre> |
| 117 | </div> |
| 118 | |
| 119 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 120 | <code class="details" id="custombatch">custombatch(body=None, dryRun=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 121 | <pre>Retrieves and/or updates the LIA settings of multiple accounts in a single request. |
| 122 | |
| 123 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 124 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 125 | The object takes the form of: |
| 126 | |
| 127 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 128 | "entries": [ # The request entries to be processed in the batch. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 129 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 130 | "accountId": "A String", # The ID of the account for which to get/update account LIA settings. |
| 131 | "batchId": 42, # An entry ID, unique within the batch request. |
| 132 | "contactEmail": "A String", # Inventory validation contact email. Required only for SetInventoryValidationContact. |
| 133 | "contactName": "A String", # Inventory validation contact name. Required only for SetInventoryValidationContact. |
| 134 | "country": "A String", # The country code. Required only for RequestInventoryVerification. |
| 135 | "gmbEmail": "A String", # The GMB account. Required only for RequestGmbAccess. |
| 136 | "liaSettings": { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. # The account Lia settings to update. Only defined if the method is `update`. |
| 137 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 138 | "countrySettings": [ # The LIA settings for each country. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 139 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 140 | "about": { # The settings for the About page. |
| 141 | "status": "A String", # The status of the verification process for the About page. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 142 | # |
| 143 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 144 | # - "`active`" |
| 145 | # - "`inactive`" |
| 146 | # - "`pending`" |
| 147 | "url": "A String", # The URL for the About page. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 148 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 149 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 150 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 151 | "inventory": { # LIA inventory verification settings. |
| 152 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 153 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 154 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 155 | # |
| 156 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 157 | # - "`active`" |
| 158 | # - "`inactive`" |
| 159 | # - "`pending`" |
| 160 | "status": "A String", # The status of the inventory verification process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 161 | # |
| 162 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 163 | # - "`active`" |
| 164 | # - "`inactive`" |
| 165 | # - "`pending`" |
| 166 | }, |
| 167 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 168 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 169 | "status": "A String", # The status of the ?On display to order? feature. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 170 | # |
| 171 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 172 | # - "`active`" |
| 173 | # - "`inactive`" |
| 174 | # - "`pending`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 175 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "posDataProvider": { # The POS data provider linked with this country. |
| 177 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 178 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 179 | }, |
| 180 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 181 | }, |
| 182 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 184 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 185 | "merchantId": "A String", # The ID of the managing account. |
| 186 | "method": "A String", # The method of the batch entry. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 187 | # |
| 188 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | # - "`get`" |
| 190 | # - "`getAccessibleGmbAccounts`" |
| 191 | # - "`requestGmbAccess`" |
| 192 | # - "`requestInventoryVerification`" |
| 193 | # - "`setInventoryVerificationContact`" |
| 194 | # - "`update`" |
| 195 | "posDataProviderId": "A String", # The ID of POS data provider. Required only for SetPosProvider. |
| 196 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS provider. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 197 | }, |
| 198 | ], |
| 199 | } |
| 200 | |
| 201 | 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). |
| 202 | |
| 203 | Returns: |
| 204 | An object of the form: |
| 205 | |
| 206 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 207 | "entries": [ # The result of the execution of the batch requests. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 208 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 209 | "batchId": 42, # The ID of the request entry to which this entry responds. |
| 210 | "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed. |
| 211 | "code": 42, # The HTTP status of the first error in `errors`. |
| 212 | "errors": [ # A list of errors. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 213 | { # An error returned by the API. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 214 | "domain": "A String", # The domain of the error. |
| 215 | "message": "A String", # A description of the error. |
| 216 | "reason": "A String", # The error code. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 217 | }, |
| 218 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 219 | "message": "A String", # The message of the first error in `errors`. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 220 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 221 | "gmbAccounts": { # The the list of accessible GMB accounts. |
| 222 | "accountId": "A String", # The ID of the Merchant Center account. |
| 223 | "gmbAccounts": [ # A list of GMB accounts which are available to the merchant. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 224 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 225 | "email": "A String", # The email which identifies the GMB account. |
| 226 | "listingCount": "A String", # Number of listings under this account. |
| 227 | "name": "A String", # The name of the GMB account. |
| 228 | "type": "A String", # The type of the GMB account (User or Business). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 229 | }, |
| 230 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 231 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 232 | "kind": "content#liasettingsCustomBatchResponseEntry", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsCustomBatchResponseEntry`" |
| 233 | "liaSettings": { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. # The retrieved or updated Lia settings. |
| 234 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 235 | "countrySettings": [ # The LIA settings for each country. |
| 236 | { |
| 237 | "about": { # The settings for the About page. |
| 238 | "status": "A String", # The status of the verification process for the About page. |
| 239 | # |
| 240 | # Acceptable values are: |
| 241 | # - "`active`" |
| 242 | # - "`inactive`" |
| 243 | # - "`pending`" |
| 244 | "url": "A String", # The URL for the About page. |
| 245 | }, |
| 246 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 247 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 248 | "inventory": { # LIA inventory verification settings. |
| 249 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 250 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 251 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
| 252 | # |
| 253 | # Acceptable values are: |
| 254 | # - "`active`" |
| 255 | # - "`inactive`" |
| 256 | # - "`pending`" |
| 257 | "status": "A String", # The status of the inventory verification process. |
| 258 | # |
| 259 | # Acceptable values are: |
| 260 | # - "`active`" |
| 261 | # - "`inactive`" |
| 262 | # - "`pending`" |
| 263 | }, |
| 264 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 265 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 266 | "status": "A String", # The status of the ?On display to order? feature. |
| 267 | # |
| 268 | # Acceptable values are: |
| 269 | # - "`active`" |
| 270 | # - "`inactive`" |
| 271 | # - "`pending`" |
| 272 | }, |
| 273 | "posDataProvider": { # The POS data provider linked with this country. |
| 274 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 275 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 276 | }, |
| 277 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 278 | }, |
| 279 | ], |
| 280 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 281 | }, |
| 282 | "posDataProviders": [ # The list of POS data providers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 283 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 284 | "country": "A String", # Country code. |
| 285 | "posDataProviders": [ # A list of POS data providers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 286 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 287 | "displayName": "A String", # The display name of Pos data Provider. |
| 288 | "fullName": "A String", # The full name of this POS data Provider. |
| 289 | "providerId": "A String", # The ID of the account. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 290 | }, |
| 291 | ], |
| 292 | }, |
| 293 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 294 | }, |
| 295 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 296 | "kind": "content#liasettingsCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsCustomBatchResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 297 | }</pre> |
| 298 | </div> |
| 299 | |
| 300 | <div class="method"> |
| 301 | <code class="details" id="get">get(merchantId, accountId)</code> |
| 302 | <pre>Retrieves the LIA settings of the account. |
| 303 | |
| 304 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 305 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 306 | accountId: string, The ID of the account for which to get or update LIA settings. (required) |
| 307 | |
| 308 | Returns: |
| 309 | An object of the form: |
| 310 | |
| 311 | { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 312 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 313 | "countrySettings": [ # The LIA settings for each country. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 314 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 315 | "about": { # The settings for the About page. |
| 316 | "status": "A String", # The status of the verification process for the About page. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 317 | # |
| 318 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 319 | # - "`active`" |
| 320 | # - "`inactive`" |
| 321 | # - "`pending`" |
| 322 | "url": "A String", # The URL for the About page. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 323 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 324 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 325 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 326 | "inventory": { # LIA inventory verification settings. |
| 327 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 328 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 329 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 330 | # |
| 331 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 332 | # - "`active`" |
| 333 | # - "`inactive`" |
| 334 | # - "`pending`" |
| 335 | "status": "A String", # The status of the inventory verification process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 336 | # |
| 337 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 338 | # - "`active`" |
| 339 | # - "`inactive`" |
| 340 | # - "`pending`" |
| 341 | }, |
| 342 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 343 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 344 | "status": "A String", # The status of the ?On display to order? feature. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 345 | # |
| 346 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 347 | # - "`active`" |
| 348 | # - "`inactive`" |
| 349 | # - "`pending`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 350 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 351 | "posDataProvider": { # The POS data provider linked with this country. |
| 352 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 353 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 354 | }, |
| 355 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 356 | }, |
| 357 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 358 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 359 | }</pre> |
| 360 | </div> |
| 361 | |
| 362 | <div class="method"> |
| 363 | <code class="details" id="getaccessiblegmbaccounts">getaccessiblegmbaccounts(merchantId, accountId)</code> |
| 364 | <pre>Retrieves the list of accessible Google My Business accounts. |
| 365 | |
| 366 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 367 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 368 | accountId: string, The ID of the account for which to retrieve accessible Google My Business accounts. (required) |
| 369 | |
| 370 | Returns: |
| 371 | An object of the form: |
| 372 | |
| 373 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 374 | "accountId": "A String", # The ID of the Merchant Center account. |
| 375 | "gmbAccounts": [ # A list of GMB accounts which are available to the merchant. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 376 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 377 | "email": "A String", # The email which identifies the GMB account. |
| 378 | "listingCount": "A String", # Number of listings under this account. |
| 379 | "name": "A String", # The name of the GMB account. |
| 380 | "type": "A String", # The type of the GMB account (User or Business). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 381 | }, |
| 382 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 383 | "kind": "content#liasettingsGetAccessibleGmbAccountsResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsGetAccessibleGmbAccountsResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 384 | }</pre> |
| 385 | </div> |
| 386 | |
| 387 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 388 | <code class="details" id="list">list(merchantId, maxResults=None, pageToken=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 389 | <pre>Lists the LIA settings of the sub-accounts in your Merchant Center account. |
| 390 | |
| 391 | Args: |
| 392 | merchantId: string, The ID of the managing account. This must be a multi-client account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 393 | maxResults: integer, The maximum number of LIA settings to return in the response, used for paging. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 394 | pageToken: string, The token returned by the previous request. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 395 | |
| 396 | Returns: |
| 397 | An object of the form: |
| 398 | |
| 399 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 400 | "kind": "content#liasettingsListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsListResponse". |
| 401 | "nextPageToken": "A String", # The token for the retrieval of the next page of LIA settings. |
| 402 | "resources": [ |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 403 | { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 404 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 405 | "countrySettings": [ # The LIA settings for each country. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 406 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 407 | "about": { # The settings for the About page. |
| 408 | "status": "A String", # The status of the verification process for the About page. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 409 | # |
| 410 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 411 | # - "`active`" |
| 412 | # - "`inactive`" |
| 413 | # - "`pending`" |
| 414 | "url": "A String", # The URL for the About page. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 415 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 416 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 417 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 418 | "inventory": { # LIA inventory verification settings. |
| 419 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 420 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 421 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 422 | # |
| 423 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 424 | # - "`active`" |
| 425 | # - "`inactive`" |
| 426 | # - "`pending`" |
| 427 | "status": "A String", # The status of the inventory verification process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 428 | # |
| 429 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 430 | # - "`active`" |
| 431 | # - "`inactive`" |
| 432 | # - "`pending`" |
| 433 | }, |
| 434 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 435 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 436 | "status": "A String", # The status of the ?On display to order? feature. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 437 | # |
| 438 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 439 | # - "`active`" |
| 440 | # - "`inactive`" |
| 441 | # - "`pending`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 442 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 443 | "posDataProvider": { # The POS data provider linked with this country. |
| 444 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 445 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 446 | }, |
| 447 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 448 | }, |
| 449 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 450 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 451 | }, |
| 452 | ], |
| 453 | }</pre> |
| 454 | </div> |
| 455 | |
| 456 | <div class="method"> |
| 457 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 458 | <pre>Retrieves the next page of results. |
| 459 | |
| 460 | Args: |
| 461 | previous_request: The request for the previous page. (required) |
| 462 | previous_response: The response from the request for the previous page. (required) |
| 463 | |
| 464 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 465 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 466 | page. Returns None if there are no more items in the collection. |
| 467 | </pre> |
| 468 | </div> |
| 469 | |
| 470 | <div class="method"> |
| 471 | <code class="details" id="listposdataproviders">listposdataproviders()</code> |
| 472 | <pre>Retrieves the list of POS data providers that have active settings for the all eiligible countries. |
| 473 | |
| 474 | Args: |
| 475 | |
| 476 | Returns: |
| 477 | An object of the form: |
| 478 | |
| 479 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 480 | "kind": "content#liasettingsListPosDataProvidersResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsListPosDataProvidersResponse". |
| 481 | "posDataProviders": [ # The list of POS data providers for each eligible country |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 482 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 483 | "country": "A String", # Country code. |
| 484 | "posDataProviders": [ # A list of POS data providers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 485 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 486 | "displayName": "A String", # The display name of Pos data Provider. |
| 487 | "fullName": "A String", # The full name of this POS data Provider. |
| 488 | "providerId": "A String", # The ID of the account. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 489 | }, |
| 490 | ], |
| 491 | }, |
| 492 | ], |
| 493 | }</pre> |
| 494 | </div> |
| 495 | |
| 496 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 497 | <code class="details" id="requestgmbaccess">requestgmbaccess(merchantId, accountId, gmbEmail)</code> |
| 498 | <pre>Requests access to a specified Google My Business account. |
| 499 | |
| 500 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 501 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 502 | accountId: string, The ID of the account for which GMB access is requested. (required) |
| 503 | gmbEmail: string, The email of the Google My Business account. (required) |
| 504 | |
| 505 | Returns: |
| 506 | An object of the form: |
| 507 | |
| 508 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 509 | "kind": "content#liasettingsRequestGmbAccessResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsRequestGmbAccessResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 510 | }</pre> |
| 511 | </div> |
| 512 | |
| 513 | <div class="method"> |
| 514 | <code class="details" id="requestinventoryverification">requestinventoryverification(merchantId, accountId, country)</code> |
| 515 | <pre>Requests inventory validation for the specified country. |
| 516 | |
| 517 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 518 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 519 | accountId: string, The ID of the account that manages the order. This cannot be a multi-client account. (required) |
| 520 | country: string, The country for which inventory validation is requested. (required) |
| 521 | |
| 522 | Returns: |
| 523 | An object of the form: |
| 524 | |
| 525 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 526 | "kind": "content#liasettingsRequestInventoryVerificationResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsRequestInventoryVerificationResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 527 | }</pre> |
| 528 | </div> |
| 529 | |
| 530 | <div class="method"> |
| 531 | <code class="details" id="setinventoryverificationcontact">setinventoryverificationcontact(merchantId, accountId, contactEmail, contactName, country, language)</code> |
| 532 | <pre>Sets the inventory verification contract for the specified country. |
| 533 | |
| 534 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 535 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 536 | accountId: string, The ID of the account that manages the order. This cannot be a multi-client account. (required) |
| 537 | contactEmail: string, The email of the inventory verification contact. (required) |
| 538 | contactName: string, The name of the inventory verification contact. (required) |
| 539 | country: string, The country for which inventory verification is requested. (required) |
| 540 | language: string, The language for which inventory verification is requested. (required) |
| 541 | |
| 542 | Returns: |
| 543 | An object of the form: |
| 544 | |
| 545 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 546 | "kind": "content#liasettingsSetInventoryVerificationContactResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsSetInventoryVerificationContactResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 547 | }</pre> |
| 548 | </div> |
| 549 | |
| 550 | <div class="method"> |
| 551 | <code class="details" id="setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None)</code> |
| 552 | <pre>Sets the POS data provider for the specified country. |
| 553 | |
| 554 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 555 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 556 | accountId: string, The ID of the account for which to retrieve accessible Google My Business accounts. (required) |
| 557 | country: string, The country for which the POS data provider is selected. (required) |
| 558 | posDataProviderId: string, The ID of POS data provider. |
| 559 | posExternalAccountId: string, The account ID by which this merchant is known to the POS data provider. |
| 560 | |
| 561 | Returns: |
| 562 | An object of the form: |
| 563 | |
| 564 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 565 | "kind": "content#liasettingsSetPosDataProviderResponse", # Identifies what kind of resource this is. Value: the fixed string "content#liasettingsSetPosDataProviderResponse". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 566 | }</pre> |
| 567 | </div> |
| 568 | |
| 569 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 570 | <code class="details" id="update">update(merchantId, accountId, body=None, dryRun=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 571 | <pre>Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 572 | |
| 573 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 574 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 575 | accountId: string, The ID of the account for which to get or update LIA settings. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 576 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 577 | The object takes the form of: |
| 578 | |
| 579 | { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 580 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 581 | "countrySettings": [ # The LIA settings for each country. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 582 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 583 | "about": { # The settings for the About page. |
| 584 | "status": "A String", # The status of the verification process for the About page. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 585 | # |
| 586 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 587 | # - "`active`" |
| 588 | # - "`inactive`" |
| 589 | # - "`pending`" |
| 590 | "url": "A String", # The URL for the About page. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 591 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 592 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 593 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 594 | "inventory": { # LIA inventory verification settings. |
| 595 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 596 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 597 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 598 | # |
| 599 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 600 | # - "`active`" |
| 601 | # - "`inactive`" |
| 602 | # - "`pending`" |
| 603 | "status": "A String", # The status of the inventory verification process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 604 | # |
| 605 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 606 | # - "`active`" |
| 607 | # - "`inactive`" |
| 608 | # - "`pending`" |
| 609 | }, |
| 610 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 611 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 612 | "status": "A String", # The status of the ?On display to order? feature. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 613 | # |
| 614 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 615 | # - "`active`" |
| 616 | # - "`inactive`" |
| 617 | # - "`pending`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 618 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 619 | "posDataProvider": { # The POS data provider linked with this country. |
| 620 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 621 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 622 | }, |
| 623 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 624 | }, |
| 625 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 626 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 627 | } |
| 628 | |
| 629 | 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). |
| 630 | |
| 631 | Returns: |
| 632 | An object of the form: |
| 633 | |
| 634 | { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 635 | "accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 636 | "countrySettings": [ # The LIA settings for each country. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 637 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 638 | "about": { # The settings for the About page. |
| 639 | "status": "A String", # The status of the verification process for the About page. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 640 | # |
| 641 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 642 | # - "`active`" |
| 643 | # - "`inactive`" |
| 644 | # - "`pending`" |
| 645 | "url": "A String", # The URL for the About page. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 646 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 647 | "country": "A String", # Required. CLDR country code (e.g. "US"). |
| 648 | "hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 649 | "inventory": { # LIA inventory verification settings. |
| 650 | "inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 651 | "inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 652 | "inventoryVerificationContactStatus": "A String", # The status of the verification contact. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 653 | # |
| 654 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 655 | # - "`active`" |
| 656 | # - "`inactive`" |
| 657 | # - "`pending`" |
| 658 | "status": "A String", # The status of the inventory verification process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 659 | # |
| 660 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 661 | # - "`active`" |
| 662 | # - "`inactive`" |
| 663 | # - "`pending`" |
| 664 | }, |
| 665 | "onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 666 | "shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 667 | "status": "A String", # The status of the ?On display to order? feature. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 668 | # |
| 669 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 670 | # - "`active`" |
| 671 | # - "`inactive`" |
| 672 | # - "`pending`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 673 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 674 | "posDataProvider": { # The POS data provider linked with this country. |
| 675 | "posDataProviderId": "A String", # The ID of the POS data provider. |
| 676 | "posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 677 | }, |
| 678 | "storePickupActive": True or False, # The status of the "Store pickup" feature. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 679 | }, |
| 680 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 681 | "kind": "content#liaSettings", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 682 | }</pre> |
| 683 | </div> |
| 684 | |
| 685 | </body></html> |