Skip to content

Commit 17e8f11

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1beta The following keys were deleted: - resources.accounts.methods.getBusinessIdentity (Total Keys: 11) - resources.accounts.methods.getBusinessInfo (Total Keys: 11) - resources.accounts.methods.getHomepage (Total Keys: 11) - resources.accounts.methods.getShippingSettings (Total Keys: 11) - resources.accounts.methods.updateBusinessIdentity (Total Keys: 15) - resources.accounts.methods.updateBusinessInfo (Total Keys: 15) - resources.accounts.methods.updateHomepage (Total Keys: 15) - resources.accounts.resources.users.methods.getEmailPreferences (Total Keys: 11) - resources.accounts.resources.users.methods.updateEmailPreferences (Total Keys: 15) The following keys were added: - resources.accounts.resources.businessIdentity.methods.getBusinessIdentity (Total Keys: 11) - resources.accounts.resources.businessIdentity.methods.updateBusinessIdentity (Total Keys: 15) - resources.accounts.resources.businessInfo.methods.getBusinessInfo (Total Keys: 11) - resources.accounts.resources.businessInfo.methods.updateBusinessInfo (Total Keys: 15) - resources.accounts.resources.emailpreferences.methods.getEmailPreferences (Total Keys: 11) - resources.accounts.resources.emailpreferences.methods.updateEmailPreferences (Total Keys: 15) - resources.accounts.resources.homepage.methods.getHomepage (Total Keys: 11) - resources.accounts.resources.homepage.methods.updateHomepage (Total Keys: 15) - resources.accounts.resources.shippingSettings.methods.getShippingSettings (Total Keys: 11)
1 parent b41557e commit 17e8f11

8 files changed

+1216
-931
lines changed
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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="merchantapi_accounts_v1beta.html">Merchant API</a> . <a href="merchantapi_accounts_v1beta.accounts.html">accounts</a> . <a href="merchantapi_accounts_v1beta.accounts.businessIdentity.html">businessIdentity</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="#getBusinessIdentity">getBusinessIdentity(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Retrieves the business identity of an account.</p>
83+
<p class="toc_element">
84+
<code><a href="#updateBusinessIdentity">updateBusinessIdentity(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Updates the business identity of an account. Executing this method requires admin access.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="getBusinessIdentity">getBusinessIdentity(name, x__xgafv=None)</code>
94+
<pre>Retrieves the business identity of an account.
95+
96+
Args:
97+
name: string, Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity` (required)
98+
x__xgafv: string, V1 error format.
99+
Allowed values
100+
1 - v1 error format
101+
2 - v2 error format
102+
103+
Returns:
104+
An object of the form:
105+
106+
{ # Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).
107+
&quot;blackOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
108+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
109+
},
110+
&quot;latinoOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
111+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
112+
},
113+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`
114+
&quot;promotionsConsent&quot;: &quot;A String&quot;, # Optional. Whether the identity attributes may be used for promotions.
115+
&quot;smallBusiness&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces.
116+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
117+
},
118+
&quot;veteranOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
119+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
120+
},
121+
&quot;womenOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
122+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
123+
},
124+
}</pre>
125+
</div>
126+
127+
<div class="method">
128+
<code class="details" id="updateBusinessIdentity">updateBusinessIdentity(name, body=None, updateMask=None, x__xgafv=None)</code>
129+
<pre>Updates the business identity of an account. Executing this method requires admin access.
130+
131+
Args:
132+
name: string, Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity` (required)
133+
body: object, The request body.
134+
The object takes the form of:
135+
136+
{ # Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).
137+
&quot;blackOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
138+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
139+
},
140+
&quot;latinoOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
141+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
142+
},
143+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`
144+
&quot;promotionsConsent&quot;: &quot;A String&quot;, # Optional. Whether the identity attributes may be used for promotions.
145+
&quot;smallBusiness&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces.
146+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
147+
},
148+
&quot;veteranOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
149+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
150+
},
151+
&quot;womenOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
152+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
153+
},
154+
}
155+
156+
updateMask: string, Required. List of fields being updated.
157+
x__xgafv: string, V1 error format.
158+
Allowed values
159+
1 - v1 error format
160+
2 - v2 error format
161+
162+
Returns:
163+
An object of the form:
164+
165+
{ # Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).
166+
&quot;blackOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
167+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
168+
},
169+
&quot;latinoOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
170+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
171+
},
172+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`
173+
&quot;promotionsConsent&quot;: &quot;A String&quot;, # Optional. Whether the identity attributes may be used for promotions.
174+
&quot;smallBusiness&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces.
175+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
176+
},
177+
&quot;veteranOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
178+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
179+
},
180+
&quot;womenOwned&quot;: { # All information related to an identity attribute. # Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers.
181+
&quot;identityDeclaration&quot;: &quot;A String&quot;, # Required. The declaration of identity for this attribute.
182+
},
183+
}</pre>
184+
</div>
185+
186+
</body></html>

0 commit comments

Comments
 (0)