Debian Codegraph @

docs/dyn/content_v2_1.accounts.returncarrier.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_1.html">Content API for Shopping</a> . <a href="content_v2_1.accounts.html">accounts</a> . <a href="content_v2_1.accounts.returncarrier.html">returncarrier</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="#create">create(accountId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Links return carrier to a merchant account.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(accountId, carrierAccountId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a return carrier in the merchant account.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(accountId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists available return carriers in the merchant account.</p>
89 <p class="toc_element">
90 <code><a href="#patch">patch(accountId, carrierAccountId, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates a return carrier in the merchant account.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(accountId, body=None, x__xgafv=None)</code>
100 <pre>Links return carrier to a merchant account.
101
102 Args:
103 accountId: string, Required. The Merchant Center Account Id under which the Return Carrier is to be linked. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # The return carrier information. This service is designed for merchants enrolled in the Buy on Google program.
108 &quot;carrierAccountId&quot;: &quot;A String&quot;, # Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
109 &quot;carrierAccountName&quot;: &quot;A String&quot;, # Name of the carrier account.
110 &quot;carrierAccountNumber&quot;: &quot;A String&quot;, # Number of the carrier account.
111 &quot;carrierCode&quot;: &quot;A String&quot;, # The carrier code enum. Accepts the values FEDEX or UPS.
112 }
113
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # The return carrier information. This service is designed for merchants enrolled in the Buy on Google program.
123 &quot;carrierAccountId&quot;: &quot;A String&quot;, # Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
124 &quot;carrierAccountName&quot;: &quot;A String&quot;, # Name of the carrier account.
125 &quot;carrierAccountNumber&quot;: &quot;A String&quot;, # Number of the carrier account.
126 &quot;carrierCode&quot;: &quot;A String&quot;, # The carrier code enum. Accepts the values FEDEX or UPS.
127 }</pre>
128 </div>
129
130 <div class="method">
131 <code class="details" id="delete">delete(accountId, carrierAccountId, x__xgafv=None)</code>
132 <pre>Delete a return carrier in the merchant account.
133
134 Args:
135 accountId: string, Required. The Merchant Center Account Id under which the Return Carrier is to be linked. (required)
136 carrierAccountId: string, Required. The Google-provided unique carrier ID, used to update the resource. (required)
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141 </pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="list">list(accountId, x__xgafv=None)</code>
146 <pre>Lists available return carriers in the merchant account.
147
148 Args:
149 accountId: string, Required. The Merchant Center Account Id under which the Return Carrier is to be linked. (required)
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 { # Response for listing account return carriers.
159 &quot;accountReturnCarriers&quot;: [ # List of all available account return carriers for the merchant.
160 { # The return carrier information. This service is designed for merchants enrolled in the Buy on Google program.
161 &quot;carrierAccountId&quot;: &quot;A String&quot;, # Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
162 &quot;carrierAccountName&quot;: &quot;A String&quot;, # Name of the carrier account.
163 &quot;carrierAccountNumber&quot;: &quot;A String&quot;, # Number of the carrier account.
164 &quot;carrierCode&quot;: &quot;A String&quot;, # The carrier code enum. Accepts the values FEDEX or UPS.
165 },
166 ],
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="patch">patch(accountId, carrierAccountId, body=None, x__xgafv=None)</code>
172 <pre>Updates a return carrier in the merchant account.
173
174 Args:
175 accountId: string, Required. The Merchant Center Account Id under which the Return Carrier is to be linked. (required)
176 carrierAccountId: string, Required. The Google-provided unique carrier ID, used to update the resource. (required)
177 body: object, The request body.
178 The object takes the form of:
179
180 { # The return carrier information. This service is designed for merchants enrolled in the Buy on Google program.
181 &quot;carrierAccountId&quot;: &quot;A String&quot;, # Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
182 &quot;carrierAccountName&quot;: &quot;A String&quot;, # Name of the carrier account.
183 &quot;carrierAccountNumber&quot;: &quot;A String&quot;, # Number of the carrier account.
184 &quot;carrierCode&quot;: &quot;A String&quot;, # The carrier code enum. Accepts the values FEDEX or UPS.
185 }
186
187 x__xgafv: string, V1 error format.
188 Allowed values
189 1 - v1 error format
190 2 - v2 error format
191
192 Returns:
193 An object of the form:
194
195 { # The return carrier information. This service is designed for merchants enrolled in the Buy on Google program.
196 &quot;carrierAccountId&quot;: &quot;A String&quot;, # Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
197 &quot;carrierAccountName&quot;: &quot;A String&quot;, # Name of the carrier account.
198 &quot;carrierAccountNumber&quot;: &quot;A String&quot;, # Number of the carrier account.
199 &quot;carrierCode&quot;: &quot;A String&quot;, # The carrier code enum. Accepts the values FEDEX or UPS.
200 }</pre>
201 </div>
202
203 </body></html>