OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/content": { | 5 "https://www.googleapis.com/auth/content": { |
6 "description": "Manage your product listings and accounts fo
r Google Shopping" | 6 "description": "Manage your product listings and accounts fo
r Google Shopping" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/content/v2/", | 11 "basePath": "/content/v2/", |
12 "baseUrl": "https://www.googleapis.com/content/v2/", | 12 "baseUrl": "https://www.googleapis.com/content/v2/", |
13 "batchPath": "batch", | 13 "batchPath": "batch/content/v2", |
14 "canonicalName": "Shopping Content", | 14 "canonicalName": "Shopping Content", |
15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", | 15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/shopping-content", | 17 "documentationLink": "https://developers.google.com/shopping-content", |
18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Jt8A6kt1GnP24vdp0UtThptYtC0\"", | 18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/7DxE-WvhKyxBCPMjpNGA9QTXnO8\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
22 }, | 22 }, |
23 "id": "content:v2", | 23 "id": "content:v2", |
24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
25 "name": "content", | 25 "name": "content", |
26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 27 "ownerName": "Google", |
28 "parameters": { | 28 "parameters": { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "type": "string" | 103 "type": "string" |
104 }, | 104 }, |
105 "merchantId": { | 105 "merchantId": { |
106 "description": "The ID of the managing account.", | 106 "description": "The ID of the managing account.", |
107 "format": "uint64", | 107 "format": "uint64", |
108 "location": "path", | 108 "location": "path", |
109 "required": true, | 109 "required": true, |
110 "type": "string" | 110 "type": "string" |
111 }, | 111 }, |
112 "overwrite": { | 112 "overwrite": { |
113 "description": "Flag to remove any existing claim on
the requested website by another account and replace it with a claim from this
account.", | 113 "description": "Only available to selected merchants
. When set to True, this flag removes any existing claim on the requested websit
e by another account and replaces it with a claim from this account.", |
114 "location": "query", | 114 "location": "query", |
115 "type": "boolean" | 115 "type": "boolean" |
116 } | 116 } |
117 }, | 117 }, |
118 "path": "{merchantId}/accounts/{accountId}/claimwebsite", | 118 "path": "{merchantId}/accounts/{accountId}/claimwebsite", |
119 "response": { | 119 "response": { |
120 "$ref": "AccountsClaimWebsiteResponse" | 120 "$ref": "AccountsClaimWebsiteResponse" |
121 }, | 121 }, |
122 "scopes": [ | 122 "scopes": [ |
123 "https://www.googleapis.com/auth/content" | 123 "https://www.googleapis.com/auth/content" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "format": "uint64", | 159 "format": "uint64", |
160 "location": "path", | 160 "location": "path", |
161 "required": true, | 161 "required": true, |
162 "type": "string" | 162 "type": "string" |
163 }, | 163 }, |
164 "dryRun": { | 164 "dryRun": { |
165 "description": "Flag to run the request in dry-run m
ode.", | 165 "description": "Flag to run the request in dry-run m
ode.", |
166 "location": "query", | 166 "location": "query", |
167 "type": "boolean" | 167 "type": "boolean" |
168 }, | 168 }, |
| 169 "force": { |
| 170 "default": "true", |
| 171 "description": "Flag to delete sub-accounts with pro
ducts. The default value of false will become active on September 28, 2017.", |
| 172 "location": "query", |
| 173 "type": "boolean" |
| 174 }, |
169 "merchantId": { | 175 "merchantId": { |
170 "description": "The ID of the managing account.", | 176 "description": "The ID of the managing account.", |
171 "format": "uint64", | 177 "format": "uint64", |
172 "location": "path", | 178 "location": "path", |
173 "required": true, | 179 "required": true, |
174 "type": "string" | 180 "type": "string" |
175 } | 181 } |
176 }, | 182 }, |
177 "path": "{merchantId}/accounts/{accountId}", | 183 "path": "{merchantId}/accounts/{accountId}", |
178 "scopes": [ | 184 "scopes": [ |
(...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2011 "response": { | 2017 "response": { |
2012 "$ref": "ShippingSettings" | 2018 "$ref": "ShippingSettings" |
2013 }, | 2019 }, |
2014 "scopes": [ | 2020 "scopes": [ |
2015 "https://www.googleapis.com/auth/content" | 2021 "https://www.googleapis.com/auth/content" |
2016 ] | 2022 ] |
2017 } | 2023 } |
2018 } | 2024 } |
2019 } | 2025 } |
2020 }, | 2026 }, |
2021 "revision": "20170803", | 2027 "revision": "20170905", |
2022 "rootUrl": "https://www.googleapis.com/", | 2028 "rootUrl": "https://www.googleapis.com/", |
2023 "schemas": { | 2029 "schemas": { |
2024 "Account": { | 2030 "Account": { |
2025 "description": "Account data.", | 2031 "description": "Account data.", |
2026 "id": "Account", | 2032 "id": "Account", |
2027 "properties": { | 2033 "properties": { |
2028 "adultContent": { | 2034 "adultContent": { |
2029 "description": "Indicates whether the merchant sells adult c
ontent.", | 2035 "description": "Indicates whether the merchant sells adult c
ontent.", |
2030 "type": "boolean" | 2036 "type": "boolean" |
2031 }, | 2037 }, |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2380 "accountId": { | 2386 "accountId": { |
2381 "description": "The ID of the targeted account. Only defined
if the method is get, delete or claimwebsite.", | 2387 "description": "The ID of the targeted account. Only defined
if the method is get, delete or claimwebsite.", |
2382 "format": "uint64", | 2388 "format": "uint64", |
2383 "type": "string" | 2389 "type": "string" |
2384 }, | 2390 }, |
2385 "batchId": { | 2391 "batchId": { |
2386 "description": "An entry ID, unique within the batch request
.", | 2392 "description": "An entry ID, unique within the batch request
.", |
2387 "format": "uint32", | 2393 "format": "uint32", |
2388 "type": "integer" | 2394 "type": "integer" |
2389 }, | 2395 }, |
| 2396 "force": { |
| 2397 "description": "Whether the account should be deleted if the
account has offers. Only applicable if the method is delete.", |
| 2398 "type": "boolean" |
| 2399 }, |
2390 "merchantId": { | 2400 "merchantId": { |
2391 "description": "The ID of the managing account.", | 2401 "description": "The ID of the managing account.", |
2392 "format": "uint64", | 2402 "format": "uint64", |
2393 "type": "string" | 2403 "type": "string" |
2394 }, | 2404 }, |
2395 "method": { | 2405 "method": { |
2396 "type": "string" | 2406 "type": "string" |
2397 }, | 2407 }, |
2398 "overwrite": { | 2408 "overwrite": { |
2399 "description": "Only applicable if the method is claimwebsit
e. Indicates whether or not to take the claim from another account in case there
is a conflict.", | 2409 "description": "Only applicable if the method is claimwebsit
e. Indicates whether or not to take the claim from another account in case there
is a conflict.", |
(...skipping 3411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5811 "type": "string" | 5821 "type": "string" |
5812 }, | 5822 }, |
5813 "deliveryCountry": { | 5823 "deliveryCountry": { |
5814 "description": "The CLDR territory code of the country to wh
ich the service applies. Required.", | 5824 "description": "The CLDR territory code of the country to wh
ich the service applies. Required.", |
5815 "type": "string" | 5825 "type": "string" |
5816 }, | 5826 }, |
5817 "deliveryTime": { | 5827 "deliveryTime": { |
5818 "$ref": "DeliveryTime", | 5828 "$ref": "DeliveryTime", |
5819 "description": "Time spent in various aspects from order to
the delivery of the product. Required." | 5829 "description": "Time spent in various aspects from order to
the delivery of the product. Required." |
5820 }, | 5830 }, |
| 5831 "minimumOrderValue": { |
| 5832 "$ref": "Price", |
| 5833 "description": "Minimum order value for this service. If set
, indicates that customers will have to spend at least this amount. All prices w
ithin a service must have the same currency." |
| 5834 }, |
5821 "name": { | 5835 "name": { |
5822 "description": "Free-form name of the service. Must be uniqu
e within target account. Required.", | 5836 "description": "Free-form name of the service. Must be uniqu
e within target account. Required.", |
5823 "type": "string" | 5837 "type": "string" |
5824 }, | 5838 }, |
5825 "rateGroups": { | 5839 "rateGroups": { |
5826 "description": "Shipping rate group definitions. Only the la
st one is allowed to have an empty applicableShippingLabels, which means \"every
thing else\". The other applicableShippingLabels must not overlap.", | 5840 "description": "Shipping rate group definitions. Only the la
st one is allowed to have an empty applicableShippingLabels, which means \"every
thing else\". The other applicableShippingLabels must not overlap.", |
5827 "items": { | 5841 "items": { |
5828 "$ref": "RateGroup" | 5842 "$ref": "RateGroup" |
5829 }, | 5843 }, |
5830 "type": "array" | 5844 "type": "array" |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6329 "type": "string" | 6343 "type": "string" |
6330 } | 6344 } |
6331 }, | 6345 }, |
6332 "type": "object" | 6346 "type": "object" |
6333 } | 6347 } |
6334 }, | 6348 }, |
6335 "servicePath": "content/v2/", | 6349 "servicePath": "content/v2/", |
6336 "title": "Content API for Shopping", | 6350 "title": "Content API for Shopping", |
6337 "version": "v2" | 6351 "version": "v2" |
6338 } | 6352 } |
OLD | NEW |