Index: discovery/googleapis/content__v2.json |
diff --git a/discovery/googleapis/content__v2.json b/discovery/googleapis/content__v2.json |
index 2489197b4a3888b87bb2f56a30884dd05c33d069..eaf29ace0f822fabbfe6b30bb47753dda60823e7 100644 |
--- a/discovery/googleapis/content__v2.json |
+++ b/discovery/googleapis/content__v2.json |
@@ -15,7 +15,7 @@ |
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/shopping-content", |
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ZCZOOwDCC1weteZqQodwch31zkc\"", |
+ "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/tkmMskVFTW_4jdAKLGSBFnYS5lM\"", |
"icons": { |
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", |
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" |
@@ -323,179 +323,6 @@ |
} |
} |
}, |
- "accountshipping": { |
- "methods": { |
- "custombatch": { |
- "description": "Retrieves and updates the shipping settings of multiple accounts in a single request.", |
- "httpMethod": "POST", |
- "id": "content.accountshipping.custombatch", |
- "parameters": { |
- "dryRun": { |
- "description": "Flag to run the request in dry-run mode.", |
- "location": "query", |
- "type": "boolean" |
- } |
- }, |
- "path": "accountshipping/batch", |
- "request": { |
- "$ref": "AccountshippingCustomBatchRequest" |
- }, |
- "response": { |
- "$ref": "AccountshippingCustomBatchResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/content" |
- ] |
- }, |
- "get": { |
- "description": "Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.", |
- "httpMethod": "GET", |
- "id": "content.accountshipping.get", |
- "parameterOrder": [ |
- "merchantId", |
- "accountId" |
- ], |
- "parameters": { |
- "accountId": { |
- "description": "The ID of the account for which to get/update account shipping settings.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "merchantId": { |
- "description": "The ID of the managing account.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{merchantId}/accountshipping/{accountId}", |
- "response": { |
- "$ref": "AccountShipping" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/content" |
- ] |
- }, |
- "list": { |
- "description": "Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.", |
- "httpMethod": "GET", |
- "id": "content.accountshipping.list", |
- "parameterOrder": [ |
- "merchantId" |
- ], |
- "parameters": { |
- "maxResults": { |
- "description": "The maximum number of shipping settings to return in the response, used for paging.", |
- "format": "uint32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "merchantId": { |
- "description": "The ID of the managing account.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "pageToken": { |
- "description": "The token returned by the previous request.", |
- "location": "query", |
- "type": "string" |
- } |
- }, |
- "path": "{merchantId}/accountshipping", |
- "response": { |
- "$ref": "AccountshippingListResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/content" |
- ] |
- }, |
- "patch": { |
- "description": "Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account. This method supports patch semantics.", |
- "httpMethod": "PATCH", |
- "id": "content.accountshipping.patch", |
- "parameterOrder": [ |
- "merchantId", |
- "accountId" |
- ], |
- "parameters": { |
- "accountId": { |
- "description": "The ID of the account for which to get/update account shipping settings.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "dryRun": { |
- "description": "Flag to run the request in dry-run mode.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "merchantId": { |
- "description": "The ID of the managing account.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{merchantId}/accountshipping/{accountId}", |
- "request": { |
- "$ref": "AccountShipping" |
- }, |
- "response": { |
- "$ref": "AccountShipping" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/content" |
- ] |
- }, |
- "update": { |
- "description": "Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.", |
- "httpMethod": "PUT", |
- "id": "content.accountshipping.update", |
- "parameterOrder": [ |
- "merchantId", |
- "accountId" |
- ], |
- "parameters": { |
- "accountId": { |
- "description": "The ID of the account for which to get/update account shipping settings.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "dryRun": { |
- "description": "Flag to run the request in dry-run mode.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "merchantId": { |
- "description": "The ID of the managing account.", |
- "format": "uint64", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{merchantId}/accountshipping/{accountId}", |
- "request": { |
- "$ref": "AccountShipping" |
- }, |
- "response": { |
- "$ref": "AccountShipping" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/content" |
- ] |
- } |
- } |
- }, |
"accountstatuses": { |
"methods": { |
"custombatch": { |
@@ -1206,7 +1033,7 @@ |
] |
}, |
"cancel": { |
- "description": "Cancels all line items in an order. This method can only be called for non-multi-client accounts.", |
+ "description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.", |
"httpMethod": "POST", |
"id": "content.orders.cancel", |
"parameterOrder": [ |
@@ -1240,7 +1067,7 @@ |
] |
}, |
"cancellineitem": { |
- "description": "Cancels a line item. This method can only be called for non-multi-client accounts.", |
+ "description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.", |
"httpMethod": "POST", |
"id": "content.orders.cancellineitem", |
"parameterOrder": [ |
@@ -2137,7 +1964,7 @@ |
} |
} |
}, |
- "revision": "20170303", |
+ "revision": "20170406", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"Account": { |
@@ -2233,370 +2060,6 @@ |
}, |
"type": "object" |
}, |
- "AccountShipping": { |
- "description": "The shipping settings of a merchant account.", |
- "id": "AccountShipping", |
- "properties": { |
- "accountId": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The ID of the account to which these account shipping settings belong.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "carrierRates": { |
- "description": "Carrier-based shipping calculations.", |
- "items": { |
- "$ref": "AccountShippingCarrierRate" |
- }, |
- "type": "array" |
- }, |
- "kind": { |
- "default": "content#accountShipping", |
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountShipping\".", |
- "type": "string" |
- }, |
- "locationGroups": { |
- "description": "Location groups for shipping.", |
- "items": { |
- "$ref": "AccountShippingLocationGroup" |
- }, |
- "type": "array" |
- }, |
- "rateTables": { |
- "description": "Rate tables definitions.", |
- "items": { |
- "$ref": "AccountShippingRateTable" |
- }, |
- "type": "array" |
- }, |
- "services": { |
- "description": "Shipping services describing shipping fees calculation.", |
- "items": { |
- "$ref": "AccountShippingShippingService" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingCarrierRate": { |
- "description": "A carrier-calculated shipping rate.", |
- "id": "AccountShippingCarrierRate", |
- "properties": { |
- "carrier": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The carrier that is responsible for the shipping, such as \"UPS\", \"FedEx\", or \"USPS\".", |
- "type": "string" |
- }, |
- "carrierService": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The carrier service, such as \"Ground\" or \"2Day\".", |
- "type": "string" |
- }, |
- "modifierFlatRate": { |
- "$ref": "Price", |
- "description": "Additive shipping rate modifier." |
- }, |
- "modifierPercent": { |
- "description": "Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character.", |
- "type": "string" |
- }, |
- "name": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The name of the carrier rate.", |
- "type": "string" |
- }, |
- "saleCountry": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The sale country for which this carrier rate is valid, represented as a CLDR territory code.", |
- "type": "string" |
- }, |
- "shippingOrigin": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "Shipping origin represented as a postal code.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingCondition": { |
- "id": "AccountShippingCondition", |
- "properties": { |
- "deliveryLocationGroup": { |
- "description": "Delivery location in terms of a location group name. A location group with this name must be specified among location groups.", |
- "type": "string" |
- }, |
- "deliveryLocationId": { |
- "description": "Delivery location in terms of a location ID. Can be used to represent administrative areas, smaller country subdivisions, or cities.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "deliveryPostalCode": { |
- "description": "Delivery location in terms of a postal code.", |
- "type": "string" |
- }, |
- "deliveryPostalCodeRange": { |
- "$ref": "AccountShippingPostalCodeRange", |
- "description": "Delivery location in terms of a postal code range." |
- }, |
- "priceMax": { |
- "$ref": "Price", |
- "description": "Maximum shipping price. Forms an interval between the maximum of smaller prices (exclusive) and this price (inclusive)." |
- }, |
- "shippingLabel": { |
- "description": "Shipping label of the product. The products with the label are matched.", |
- "type": "string" |
- }, |
- "weightMax": { |
- "$ref": "Weight", |
- "description": "Maximum shipping weight. Forms an interval between the maximum of smaller weight (exclusive) and this weight (inclusive)." |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingLocationGroup": { |
- "description": "A user-defined locations group in a given country. All the locations of the group must be of the same type.", |
- "id": "AccountShippingLocationGroup", |
- "properties": { |
- "country": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The CLDR territory code of the country in which this location group is.", |
- "type": "string" |
- }, |
- "locationIds": { |
- "description": "A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities.", |
- "items": { |
- "format": "int64", |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The name of the location group.", |
- "type": "string" |
- }, |
- "postalCodeRanges": { |
- "description": "A postal code range representing a city or a set of cities.", |
- "items": { |
- "$ref": "AccountShippingPostalCodeRange" |
- }, |
- "type": "array" |
- }, |
- "postalCodes": { |
- "description": "A postal code representing a city or a set of cities. \n- A single postal code (e.g., 12345)\n- A postal code prefix followed by a star (e.g., 1234*)", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingPostalCodeRange": { |
- "description": "A postal code range, that can be either: \n- A range of postal codes (e.g., start=12340, end=12359)\n- A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes must be of the same length (e.g., start=12* end=2* is invalid).", |
- "id": "AccountShippingPostalCodeRange", |
- "properties": { |
- "end": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The last (inclusive) postal code or prefix of the range.", |
- "type": "string" |
- }, |
- "start": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The first (inclusive) postal code or prefix of the range.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingRateTable": { |
- "description": "A single or bi-dimensional table of shipping rates. Each dimension is defined in terms of consecutive price/weight ranges, delivery locations, or shipping labels.", |
- "id": "AccountShippingRateTable", |
- "properties": { |
- "content": { |
- "description": "One-dimensional table cells define one condition along the same dimension. Bi-dimensional table cells use two dimensions with respectively M and N distinct values and must contain exactly M * N cells with distinct conditions (for each possible value pairs).", |
- "items": { |
- "$ref": "AccountShippingRateTableCell" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The name of the rate table.", |
- "type": "string" |
- }, |
- "saleCountry": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The sale country for which this table is valid, represented as a CLDR territory code.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingRateTableCell": { |
- "id": "AccountShippingRateTableCell", |
- "properties": { |
- "condition": { |
- "$ref": "AccountShippingCondition", |
- "description": "Conditions for which the cell is valid. All cells in a table must use the same dimension or pair of dimensions among price, weight, shipping label or delivery location. If no condition is specified, the cell acts as a catch-all and matches all the elements that are not matched by other cells in this dimension." |
- }, |
- "rate": { |
- "$ref": "Price", |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The rate applicable if the cell conditions are matched." |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingShippingService": { |
- "description": "Shipping services provided in a country.", |
- "id": "AccountShippingShippingService", |
- "properties": { |
- "active": { |
- "description": "Whether the shipping service is available.", |
- "type": "boolean" |
- }, |
- "calculationMethod": { |
- "$ref": "AccountShippingShippingServiceCalculationMethod", |
- "description": "Calculation method for the \"simple\" case that needs no rules." |
- }, |
- "costRuleTree": { |
- "$ref": "AccountShippingShippingServiceCostRule", |
- "description": "Decision tree for \"complicated\" shipping cost calculation." |
- }, |
- "maxDaysInTransit": { |
- "description": "The maximum number of days in transit. Must be a value between 0 and 250 included. A value of 0 means same day delivery.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "minDaysInTransit": { |
- "description": "The minimum number of days in transit. Must be a value between 0 and maxDaysIntransit included. A value of 0 means same day delivery.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "name": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The name of this shipping service.", |
- "type": "string" |
- }, |
- "saleCountry": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
- "description": "The CLDR territory code of the sale country for which this service can be used.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingShippingServiceCalculationMethod": { |
- "description": "Shipping cost calculation method. Exactly one of the field is set.", |
- "id": "AccountShippingShippingServiceCalculationMethod", |
- "properties": { |
- "carrierRate": { |
- "description": "Name of the carrier rate to use for the calculation.", |
- "type": "string" |
- }, |
- "excluded": { |
- "description": "Delivery is excluded. Valid only within cost rules tree.", |
- "type": "boolean" |
- }, |
- "flatRate": { |
- "$ref": "Price", |
- "description": "Fixed price shipping, represented as a floating point number associated with a currency." |
- }, |
- "percentageRate": { |
- "description": "Percentage of the price, represented as a floating point number without the percentage character.", |
- "type": "string" |
- }, |
- "rateTable": { |
- "description": "Name of the rate table to use for the calculation.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountShippingShippingServiceCostRule": { |
- "description": "Building block of the cost calculation decision tree. \n- The tree root should have no condition and no calculation method.\n- All the children must have a condition on the same dimension. The first child matching a condition is entered, therefore, price and weight conditions form contiguous intervals.\n- The last child of an element must have no condition and matches all elements not previously matched.\n- Children and calculation method are mutually exclusive, and exactly one of them must be defined; the root must only have children.", |
- "id": "AccountShippingShippingServiceCostRule", |
- "properties": { |
- "calculationMethod": { |
- "$ref": "AccountShippingShippingServiceCalculationMethod", |
- "description": "Final calculation method to be used only in leaf nodes." |
- }, |
- "children": { |
- "description": "Subsequent rules to be applied, only for inner nodes. The last child must not specify a condition and acts as a catch-all.", |
- "items": { |
- "$ref": "AccountShippingShippingServiceCostRule" |
- }, |
- "type": "array" |
- }, |
- "condition": { |
- "$ref": "AccountShippingCondition", |
- "description": "Condition for this rule to be applicable. If no condition is specified, the rule acts as a catch-all." |
- } |
- }, |
- "type": "object" |
- }, |
"AccountStatus": { |
"description": "The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.", |
"id": "AccountStatus", |
@@ -2897,112 +2360,6 @@ |
}, |
"type": "object" |
}, |
- "AccountshippingCustomBatchRequest": { |
- "id": "AccountshippingCustomBatchRequest", |
- "properties": { |
- "entries": { |
- "description": "The request entries to be processed in the batch.", |
- "items": { |
- "$ref": "AccountshippingCustomBatchRequestEntry" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountshippingCustomBatchRequestEntry": { |
- "description": "A batch entry encoding a single non-batch accountshipping request.", |
- "id": "AccountshippingCustomBatchRequestEntry", |
- "properties": { |
- "accountId": { |
- "description": "The ID of the account for which to get/update account shipping settings.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "accountShipping": { |
- "$ref": "AccountShipping", |
- "description": "The account shipping settings to update. Only defined if the method is update." |
- }, |
- "batchId": { |
- "description": "An entry ID, unique within the batch request.", |
- "format": "uint32", |
- "type": "integer" |
- }, |
- "merchantId": { |
- "description": "The ID of the managing account.", |
- "format": "uint64", |
- "type": "string" |
- }, |
- "method": { |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountshippingCustomBatchResponse": { |
- "id": "AccountshippingCustomBatchResponse", |
- "properties": { |
- "entries": { |
- "description": "The result of the execution of the batch requests.", |
- "items": { |
- "$ref": "AccountshippingCustomBatchResponseEntry" |
- }, |
- "type": "array" |
- }, |
- "kind": { |
- "default": "content#accountshippingCustomBatchResponse", |
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingCustomBatchResponse\".", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountshippingCustomBatchResponseEntry": { |
- "description": "A batch entry encoding a single non-batch accountshipping response.", |
- "id": "AccountshippingCustomBatchResponseEntry", |
- "properties": { |
- "accountShipping": { |
- "$ref": "AccountShipping", |
- "description": "The retrieved or updated account shipping settings." |
- }, |
- "batchId": { |
- "description": "The ID of the request entry this entry responds to.", |
- "format": "uint32", |
- "type": "integer" |
- }, |
- "errors": { |
- "$ref": "Errors", |
- "description": "A list of errors defined if and only if the request failed." |
- }, |
- "kind": { |
- "default": "content#accountshippingCustomBatchResponseEntry", |
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingCustomBatchResponseEntry\".", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AccountshippingListResponse": { |
- "id": "AccountshippingListResponse", |
- "properties": { |
- "kind": { |
- "default": "content#accountshippingListResponse", |
- "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountshippingListResponse\".", |
- "type": "string" |
- }, |
- "nextPageToken": { |
- "description": "The token for the retrieval of the next page of account shipping settings.", |
- "type": "string" |
- }, |
- "resources": { |
- "items": { |
- "$ref": "AccountShipping" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
"AccountstatusesCustomBatchRequest": { |
"id": "AccountstatusesCustomBatchRequest", |
"properties": { |
@@ -6388,7 +5745,7 @@ |
"type": "object" |
}, |
"ShippingsettingsCustomBatchRequestEntry": { |
- "description": "A batch entry encoding a single non-batch accountshipping request.", |
+ "description": "A batch entry encoding a single non-batch shippingsettings request.", |
"id": "ShippingsettingsCustomBatchRequestEntry", |
"properties": { |
"accountId": { |
@@ -6837,20 +6194,10 @@ |
"id": "Weight", |
"properties": { |
"unit": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
"description": "The weight unit.", |
"type": "string" |
}, |
"value": { |
- "annotations": { |
- "required": [ |
- "content.accountshipping.update" |
- ] |
- }, |
"description": "The weight represented as a number.", |
"type": "string" |
} |