content.liasettings.custombatch
POST {{baseUrl}}/content/v2/liasettings/batch?dryRun=<boolean>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | 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). | |
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
Request Body
{"entries"=>[{"accountId"=>"<uint64>", "batchId"=>"<uint32>", "contactEmail"=>"<string>", "contactName"=>"<string>", "country"=>"<string>", "gmbEmail"=>"<string>", "liaSettings"=>{"accountId"=>"<uint64>", "countrySettings"=>[{"about"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "country"=>"<string>", "hostedLocalStorefrontActive"=>"<boolean>", "inventory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "onDisplayToOrder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "posDataProvider"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storePickupActive"=>"<boolean>"}, {"about"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "country"=>"<string>", "hostedLocalStorefrontActive"=>"<boolean>", "inventory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "onDisplayToOrder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "posDataProvider"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storePickupActive"=>"<boolean>"}], "kind"=>"<string>"}, "merchantId"=>"<uint64>", "method"=>"<string>", "posDataProviderId"=>"<uint64>", "posExternalAccountId"=>"<string>"}, {"accountId"=>"<uint64>", "batchId"=>"<uint32>", "contactEmail"=>"<string>", "contactName"=>"<string>", "country"=>"<string>", "gmbEmail"=>"<string>", "liaSettings"=>{"accountId"=>"<uint64>", "countrySettings"=>[{"about"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "country"=>"<string>", "hostedLocalStorefrontActive"=>"<boolean>", "inventory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "onDisplayToOrder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "posDataProvider"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storePickupActive"=>"<boolean>"}, {"about"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "country"=>"<string>", "hostedLocalStorefrontActive"=>"<boolean>", "inventory"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "onDisplayToOrder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "posDataProvider"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storePickupActive"=>"<boolean>"}], "kind"=>"<string>"}, "merchantId"=>"<uint64>", "method"=>"<string>", "posDataProviderId"=>"<uint64>", "posExternalAccountId"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"entries":[{"batchId":29516806,"errors":{"code":-44687883,"errors":[{"domain":"nostrud id","message":"nisi do eu irure","reason":"ullamco"},{"domain":"proident minim adipisicing","message":"aliqua et Lorem non","reason":"sunt Excepteur"}],"message":"veniam in irure labore"},"gmbAccounts":{"accountId":"ad ut incididunt non nostrud","gmbAccounts":[{"email":"ut sit","listingCount":"ad ut cupi","name":"est cupidatat","type":"sunt culpa"},{"email":"quis dolor","listingCount":"nulla dolor veniam aliquip","name":"cupidat","type":"consectetur exercitation fugiat enim culpa"}]},"kind":"eiusmod voluptate et","liaSettings":{"accountId":"\u003cuint64\u003e","countrySettings":[{"about":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"country":"\u003cstring\u003e","hostedLocalStorefrontActive":"\u003cboolean\u003e","inventory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"onDisplayToOrder":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"posDataProvider":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"storePickupActive":"\u003cboolean\u003e"},{"about":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"country":"\u003cstring\u003e","hostedLocalStorefrontActive":"\u003cboolean\u003e","inventory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"onDisplayToOrder":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"posDataProvider":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"storePickupActive":"\u003cboolean\u003e"}],"kind":"\u003cstring\u003e"},"posDataProviders":[{"country":"ut in","posDataProviders":[{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"country":"quis Excepteur cillum sunt est","posDataProviders":[{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}]},{"batchId":35977913,"errors":{"code":-18262092,"errors":[{"domain":"nisi voluptate consectetur pariatur","message":"proident eiusmod esse","reason":"sint officia dolore la"},{"domain":"aliqua pariatur et eu","message":"Duis labore","reason":"sint id ut nulla"}],"message":"sunt incididunt exercitation"},"gmbAccounts":{"accountId":"exercitation ullamco incididunt dolore tempor","gmbAccounts":[{"email":"Lorem laborum tempor","listingCount":"ullamco incididunt magna nulla in","name":"consequat sint","type":"id in ve"},{"email":"dolor in laboris","listingCount":"voluptate aliquip","name":"sed cillum ad","type":"veniam ut"}]},"kind":"mollit eiusmod","liaSettings":{"accountId":"\u003cuint64\u003e","countrySettings":[{"about":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"country":"\u003cstring\u003e","hostedLocalStorefrontActive":"\u003cboolean\u003e","inventory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"onDisplayToOrder":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"posDataProvider":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"storePickupActive":"\u003cboolean\u003e"},{"about":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"country":"\u003cstring\u003e","hostedLocalStorefrontActive":"\u003cboolean\u003e","inventory":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"onDisplayToOrder":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"posDataProvider":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"storePickupActive":"\u003cboolean\u003e"}],"kind":"\u003cstring\u003e"},"posDataProviders":[{"country":"do minim sint","posDataProviders":[{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"country":"aliqua mollit id ut","posDataProviders":[{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"fullName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"providerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}]}],"kind":"culpa occaecat enim la"}