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>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Retrieves and/or updates the LIA settings of multiple accounts in a single request.

Request Params

KeyDatatypeRequiredDescription
dryRunstringFlag 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).
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI 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_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable 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_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy 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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;entries&quot;:[{&quot;batchId&quot;:29516806,&quot;errors&quot;:{&quot;code&quot;:-44687883,&quot;errors&quot;:[{&quot;domain&quot;:&quot;nostrud id&quot;,&quot;message&quot;:&quot;nisi do eu irure&quot;,&quot;reason&quot;:&quot;ullamco&quot;},{&quot;domain&quot;:&quot;proident minim adipisicing&quot;,&quot;message&quot;:&quot;aliqua et Lorem non&quot;,&quot;reason&quot;:&quot;sunt Excepteur&quot;}],&quot;message&quot;:&quot;veniam in irure labore&quot;},&quot;gmbAccounts&quot;:{&quot;accountId&quot;:&quot;ad ut incididunt non nostrud&quot;,&quot;gmbAccounts&quot;:[{&quot;email&quot;:&quot;ut sit&quot;,&quot;listingCount&quot;:&quot;ad ut cupi&quot;,&quot;name&quot;:&quot;est cupidatat&quot;,&quot;type&quot;:&quot;sunt culpa&quot;},{&quot;email&quot;:&quot;quis dolor&quot;,&quot;listingCount&quot;:&quot;nulla dolor veniam aliquip&quot;,&quot;name&quot;:&quot;cupidat&quot;,&quot;type&quot;:&quot;consectetur exercitation fugiat enim culpa&quot;}]},&quot;kind&quot;:&quot;eiusmod voluptate et&quot;,&quot;liaSettings&quot;:{&quot;accountId&quot;:&quot;\u003cuint64\u003e&quot;,&quot;countrySettings&quot;:[{&quot;about&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;hostedLocalStorefrontActive&quot;:&quot;\u003cboolean\u003e&quot;,&quot;inventory&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;onDisplayToOrder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;posDataProvider&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storePickupActive&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;about&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;hostedLocalStorefrontActive&quot;:&quot;\u003cboolean\u003e&quot;,&quot;inventory&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;onDisplayToOrder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;posDataProvider&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storePickupActive&quot;:&quot;\u003cboolean\u003e&quot;}],&quot;kind&quot;:&quot;\u003cstring\u003e&quot;},&quot;posDataProviders&quot;:[{&quot;country&quot;:&quot;ut in&quot;,&quot;posDataProviders&quot;:[{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]},{&quot;country&quot;:&quot;quis Excepteur cillum sunt est&quot;,&quot;posDataProviders&quot;:[{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}]},{&quot;batchId&quot;:35977913,&quot;errors&quot;:{&quot;code&quot;:-18262092,&quot;errors&quot;:[{&quot;domain&quot;:&quot;nisi voluptate consectetur pariatur&quot;,&quot;message&quot;:&quot;proident eiusmod esse&quot;,&quot;reason&quot;:&quot;sint officia dolore la&quot;},{&quot;domain&quot;:&quot;aliqua pariatur et eu&quot;,&quot;message&quot;:&quot;Duis labore&quot;,&quot;reason&quot;:&quot;sint id ut nulla&quot;}],&quot;message&quot;:&quot;sunt incididunt exercitation&quot;},&quot;gmbAccounts&quot;:{&quot;accountId&quot;:&quot;exercitation ullamco incididunt dolore tempor&quot;,&quot;gmbAccounts&quot;:[{&quot;email&quot;:&quot;Lorem laborum tempor&quot;,&quot;listingCount&quot;:&quot;ullamco incididunt magna nulla in&quot;,&quot;name&quot;:&quot;consequat sint&quot;,&quot;type&quot;:&quot;id in ve&quot;},{&quot;email&quot;:&quot;dolor in laboris&quot;,&quot;listingCount&quot;:&quot;voluptate aliquip&quot;,&quot;name&quot;:&quot;sed cillum ad&quot;,&quot;type&quot;:&quot;veniam ut&quot;}]},&quot;kind&quot;:&quot;mollit eiusmod&quot;,&quot;liaSettings&quot;:{&quot;accountId&quot;:&quot;\u003cuint64\u003e&quot;,&quot;countrySettings&quot;:[{&quot;about&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;hostedLocalStorefrontActive&quot;:&quot;\u003cboolean\u003e&quot;,&quot;inventory&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;onDisplayToOrder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;posDataProvider&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storePickupActive&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;about&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;hostedLocalStorefrontActive&quot;:&quot;\u003cboolean\u003e&quot;,&quot;inventory&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;onDisplayToOrder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;posDataProvider&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storePickupActive&quot;:&quot;\u003cboolean\u003e&quot;}],&quot;kind&quot;:&quot;\u003cstring\u003e&quot;},&quot;posDataProviders&quot;:[{&quot;country&quot;:&quot;do minim sint&quot;,&quot;posDataProviders&quot;:[{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]},{&quot;country&quot;:&quot;aliqua mollit id ut&quot;,&quot;posDataProviders&quot;:[{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;displayName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fullName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;providerId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}]}],&quot;kind&quot;:&quot;culpa occaecat enim la&quot;}