mirror of
https://github.com/restic/restic.git
synced 2024-09-07 11:59:25 +02:00
6477 lines
194 KiB
JSON
6477 lines
194 KiB
JSON
{
|
|
"kind": "discovery#restDescription",
|
|
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/dPMCZ2Ey4YVlnyiRa2uPlyOUPp4\"",
|
|
"discoveryVersion": "v1",
|
|
"id": "content:v2",
|
|
"name": "content",
|
|
"canonicalName": "Shopping Content",
|
|
"version": "v2",
|
|
"revision": "20170928",
|
|
"title": "Content API for Shopping",
|
|
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
|
"ownerDomain": "google.com",
|
|
"ownerName": "Google",
|
|
"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"
|
|
},
|
|
"documentationLink": "https://developers.google.com/shopping-content",
|
|
"protocol": "rest",
|
|
"baseUrl": "https://www.googleapis.com/content/v2/",
|
|
"basePath": "/content/v2/",
|
|
"rootUrl": "https://www.googleapis.com/",
|
|
"servicePath": "content/v2/",
|
|
"batchPath": "batch/content/v2",
|
|
"parameters": {
|
|
"alt": {
|
|
"type": "string",
|
|
"description": "Data format for the response.",
|
|
"default": "json",
|
|
"enum": [
|
|
"json"
|
|
],
|
|
"enumDescriptions": [
|
|
"Responses with Content-Type of application/json"
|
|
],
|
|
"location": "query"
|
|
},
|
|
"fields": {
|
|
"type": "string",
|
|
"description": "Selector specifying which fields to include in a partial response.",
|
|
"location": "query"
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "API 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.",
|
|
"location": "query"
|
|
},
|
|
"oauth_token": {
|
|
"type": "string",
|
|
"description": "OAuth 2.0 token for the current user.",
|
|
"location": "query"
|
|
},
|
|
"prettyPrint": {
|
|
"type": "boolean",
|
|
"description": "Returns response with indentations and line breaks.",
|
|
"default": "true",
|
|
"location": "query"
|
|
},
|
|
"quotaUser": {
|
|
"type": "string",
|
|
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
|
"location": "query"
|
|
},
|
|
"userIp": {
|
|
"type": "string",
|
|
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"auth": {
|
|
"oauth2": {
|
|
"scopes": {
|
|
"https://www.googleapis.com/auth/content": {
|
|
"description": "Manage your product listings and accounts for Google Shopping"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schemas": {
|
|
"Account": {
|
|
"id": "Account",
|
|
"type": "object",
|
|
"description": "Account data.",
|
|
"properties": {
|
|
"adultContent": {
|
|
"type": "boolean",
|
|
"description": "Indicates whether the merchant sells adult content."
|
|
},
|
|
"adwordsLinks": {
|
|
"type": "array",
|
|
"description": "List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
|
|
"items": {
|
|
"$ref": "AccountAdwordsLink"
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Merchant Center account ID.",
|
|
"format": "uint64",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounts.update"
|
|
]
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#account\".",
|
|
"default": "content#account"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Display name for the account.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounts.insert",
|
|
"content.accounts.update"
|
|
]
|
|
}
|
|
},
|
|
"reviewsUrl": {
|
|
"type": "string",
|
|
"description": "URL for individual seller reviews, i.e., reviews for each child account."
|
|
},
|
|
"sellerId": {
|
|
"type": "string",
|
|
"description": "Client-specific, locally-unique, internal ID for the child account."
|
|
},
|
|
"users": {
|
|
"type": "array",
|
|
"description": "Users with access to the account. Every account (except for subaccounts) must have at least one admin user.",
|
|
"items": {
|
|
"$ref": "AccountUser"
|
|
}
|
|
},
|
|
"websiteUrl": {
|
|
"type": "string",
|
|
"description": "The merchant's website."
|
|
},
|
|
"youtubeChannelLinks": {
|
|
"type": "array",
|
|
"description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
|
|
"items": {
|
|
"$ref": "AccountYouTubeChannelLink"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountAdwordsLink": {
|
|
"id": "AccountAdwordsLink",
|
|
"type": "object",
|
|
"properties": {
|
|
"adwordsId": {
|
|
"type": "string",
|
|
"description": "Customer ID of the AdWords account.",
|
|
"format": "uint64"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in Google AdWords or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending."
|
|
}
|
|
}
|
|
},
|
|
"AccountIdentifier": {
|
|
"id": "AccountIdentifier",
|
|
"type": "object",
|
|
"properties": {
|
|
"aggregatorId": {
|
|
"type": "string",
|
|
"description": "The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).",
|
|
"format": "uint64"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The merchant account ID, set for individual accounts and subaccounts.",
|
|
"format": "uint64"
|
|
}
|
|
}
|
|
},
|
|
"AccountStatus": {
|
|
"id": "AccountStatus",
|
|
"type": "object",
|
|
"description": "The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which the status is reported."
|
|
},
|
|
"accountLevelIssues": {
|
|
"type": "array",
|
|
"description": "A list of account level issues.",
|
|
"items": {
|
|
"$ref": "AccountStatusAccountLevelIssue"
|
|
}
|
|
},
|
|
"dataQualityIssues": {
|
|
"type": "array",
|
|
"description": "A list of data quality issues.",
|
|
"items": {
|
|
"$ref": "AccountStatusDataQualityIssue"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountStatus\".",
|
|
"default": "content#accountStatus"
|
|
},
|
|
"websiteClaimed": {
|
|
"type": "boolean",
|
|
"description": "Whether the account's website is claimed or not."
|
|
}
|
|
}
|
|
},
|
|
"AccountStatusAccountLevelIssue": {
|
|
"id": "AccountStatusAccountLevelIssue",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "Country for which this issue is reported."
|
|
},
|
|
"detail": {
|
|
"type": "string",
|
|
"description": "Additional details about the issue."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Issue identifier."
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"description": "Severity of the issue."
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Short description of the issue."
|
|
}
|
|
}
|
|
},
|
|
"AccountStatusDataQualityIssue": {
|
|
"id": "AccountStatusDataQualityIssue",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "Country for which this issue is reported."
|
|
},
|
|
"detail": {
|
|
"type": "string",
|
|
"description": "A more detailed description of the issue."
|
|
},
|
|
"displayedValue": {
|
|
"type": "string",
|
|
"description": "Actual value displayed on the landing page."
|
|
},
|
|
"exampleItems": {
|
|
"type": "array",
|
|
"description": "Example items featuring the issue.",
|
|
"items": {
|
|
"$ref": "AccountStatusExampleItem"
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Issue identifier."
|
|
},
|
|
"lastChecked": {
|
|
"type": "string",
|
|
"description": "Last time the account was checked for this issue."
|
|
},
|
|
"location": {
|
|
"type": "string",
|
|
"description": "The attribute name that is relevant for the issue."
|
|
},
|
|
"numItems": {
|
|
"type": "integer",
|
|
"description": "Number of items in the account found to have the said issue.",
|
|
"format": "uint32"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"description": "Severity of the problem."
|
|
},
|
|
"submittedValue": {
|
|
"type": "string",
|
|
"description": "Submitted value that causes the issue."
|
|
}
|
|
}
|
|
},
|
|
"AccountStatusExampleItem": {
|
|
"id": "AccountStatusExampleItem",
|
|
"type": "object",
|
|
"description": "An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.",
|
|
"properties": {
|
|
"itemId": {
|
|
"type": "string",
|
|
"description": "Unique item ID as specified in the uploaded product data."
|
|
},
|
|
"link": {
|
|
"type": "string",
|
|
"description": "Landing page of the item."
|
|
},
|
|
"submittedValue": {
|
|
"type": "string",
|
|
"description": "The item value that was submitted."
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Title of the item."
|
|
},
|
|
"valueOnLandingPage": {
|
|
"type": "string",
|
|
"description": "The actual value on the landing page."
|
|
}
|
|
}
|
|
},
|
|
"AccountTax": {
|
|
"id": "AccountTax",
|
|
"type": "object",
|
|
"description": "The tax settings of a merchant account.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account to which these account tax settings belong.",
|
|
"format": "uint64",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounttax.update"
|
|
]
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountTax\".",
|
|
"default": "content#accountTax"
|
|
},
|
|
"rules": {
|
|
"type": "array",
|
|
"description": "Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all.",
|
|
"items": {
|
|
"$ref": "AccountTaxTaxRule"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountTaxTaxRule": {
|
|
"id": "AccountTaxTaxRule",
|
|
"type": "object",
|
|
"description": "Tax calculation rule to apply in a state or province (USA only).",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "Country code in which tax is applicable."
|
|
},
|
|
"locationId": {
|
|
"type": "string",
|
|
"description": "State (or province) is which the tax is applicable, described by its location id (also called criteria id).",
|
|
"format": "uint64",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounttax.update"
|
|
]
|
|
}
|
|
},
|
|
"ratePercent": {
|
|
"type": "string",
|
|
"description": "Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative."
|
|
},
|
|
"shippingTaxed": {
|
|
"type": "boolean",
|
|
"description": "If true, shipping charges are also taxed."
|
|
},
|
|
"useGlobalRate": {
|
|
"type": "boolean",
|
|
"description": "Whether the tax rate is taken from a global tax table or specified explicitly."
|
|
}
|
|
}
|
|
},
|
|
"AccountUser": {
|
|
"id": "AccountUser",
|
|
"type": "object",
|
|
"properties": {
|
|
"admin": {
|
|
"type": "boolean",
|
|
"description": "Whether user is an admin."
|
|
},
|
|
"emailAddress": {
|
|
"type": "string",
|
|
"description": "User's email address."
|
|
}
|
|
}
|
|
},
|
|
"AccountYouTubeChannelLink": {
|
|
"id": "AccountYouTubeChannelLink",
|
|
"type": "object",
|
|
"properties": {
|
|
"channelId": {
|
|
"type": "string",
|
|
"description": "Channel ID.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounts.insert",
|
|
"content.accounts.update"
|
|
]
|
|
}
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in YT Creator Studio or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.accounts.insert",
|
|
"content.accounts.update"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountsAuthInfoResponse": {
|
|
"id": "AccountsAuthInfoResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"accountIdentifiers": {
|
|
"type": "array",
|
|
"description": "The account identifiers corresponding to the authenticated user.\n- For an individual account: only the merchant ID is defined\n- For an aggregator: only the aggregator ID is defined\n- For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined.",
|
|
"items": {
|
|
"$ref": "AccountIdentifier"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsAuthInfoResponse\".",
|
|
"default": "content#accountsAuthInfoResponse"
|
|
}
|
|
}
|
|
},
|
|
"AccountsClaimWebsiteResponse": {
|
|
"id": "AccountsClaimWebsiteResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsClaimWebsiteResponse\".",
|
|
"default": "content#accountsClaimWebsiteResponse"
|
|
}
|
|
}
|
|
},
|
|
"AccountsCustomBatchRequest": {
|
|
"id": "AccountsCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "AccountsCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountsCustomBatchRequestEntry": {
|
|
"id": "AccountsCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accounts request.",
|
|
"properties": {
|
|
"account": {
|
|
"$ref": "Account",
|
|
"description": "The account to create or update. Only defined if the method is insert or update."
|
|
},
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the targeted account. Only defined if the method is get, delete or claimwebsite.",
|
|
"format": "uint64"
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"force": {
|
|
"type": "boolean",
|
|
"description": "Whether the account should be deleted if the account has offers. Only applicable if the method is delete."
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
},
|
|
"overwrite": {
|
|
"type": "boolean",
|
|
"description": "Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict."
|
|
}
|
|
}
|
|
},
|
|
"AccountsCustomBatchResponse": {
|
|
"id": "AccountsCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "AccountsCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsCustomBatchResponse\".",
|
|
"default": "content#accountsCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"AccountsCustomBatchResponseEntry": {
|
|
"id": "AccountsCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accounts response.",
|
|
"properties": {
|
|
"account": {
|
|
"$ref": "Account",
|
|
"description": "The retrieved, created, or updated account. Not defined if the method was delete or claimwebsite."
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsCustomBatchResponseEntry\".",
|
|
"default": "content#accountsCustomBatchResponseEntry"
|
|
}
|
|
}
|
|
},
|
|
"AccountsListResponse": {
|
|
"id": "AccountsListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsListResponse\".",
|
|
"default": "content#accountsListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of accounts."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "Account"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountstatusesCustomBatchRequest": {
|
|
"id": "AccountstatusesCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "AccountstatusesCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccountstatusesCustomBatchRequestEntry": {
|
|
"id": "AccountstatusesCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accountstatuses request.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the (sub-)account whose status to get.",
|
|
"format": "uint64"
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"description": "The method (get)."
|
|
}
|
|
}
|
|
},
|
|
"AccountstatusesCustomBatchResponse": {
|
|
"id": "AccountstatusesCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "AccountstatusesCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountstatusesCustomBatchResponse\".",
|
|
"default": "content#accountstatusesCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"AccountstatusesCustomBatchResponseEntry": {
|
|
"id": "AccountstatusesCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accountstatuses response.",
|
|
"properties": {
|
|
"accountStatus": {
|
|
"$ref": "AccountStatus",
|
|
"description": "The requested account status. Defined if and only if the request was successful."
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
}
|
|
}
|
|
},
|
|
"AccountstatusesListResponse": {
|
|
"id": "AccountstatusesListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountstatusesListResponse\".",
|
|
"default": "content#accountstatusesListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of account statuses."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "AccountStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccounttaxCustomBatchRequest": {
|
|
"id": "AccounttaxCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "AccounttaxCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AccounttaxCustomBatchRequestEntry": {
|
|
"id": "AccounttaxCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accounttax request.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update account tax settings.",
|
|
"format": "uint64"
|
|
},
|
|
"accountTax": {
|
|
"$ref": "AccountTax",
|
|
"description": "The account tax settings to update. Only defined if the method is update."
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"AccounttaxCustomBatchResponse": {
|
|
"id": "AccounttaxCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "AccounttaxCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxCustomBatchResponse\".",
|
|
"default": "content#accounttaxCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"AccounttaxCustomBatchResponseEntry": {
|
|
"id": "AccounttaxCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch accounttax response.",
|
|
"properties": {
|
|
"accountTax": {
|
|
"$ref": "AccountTax",
|
|
"description": "The retrieved or updated account tax settings."
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxCustomBatchResponseEntry\".",
|
|
"default": "content#accounttaxCustomBatchResponseEntry"
|
|
}
|
|
}
|
|
},
|
|
"AccounttaxListResponse": {
|
|
"id": "AccounttaxListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#accounttaxListResponse\".",
|
|
"default": "content#accounttaxListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of account tax settings."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "AccountTax"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"CarrierRate": {
|
|
"id": "CarrierRate",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrierName": {
|
|
"type": "string",
|
|
"description": "Carrier service, such as \"UPS\" or \"Fedex\". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required."
|
|
},
|
|
"carrierService": {
|
|
"type": "string",
|
|
"description": "Carrier service, such as \"ground\" or \"2 days\". The list of supported services for a carrier can be retrieved via the getSupportedCarriers method. Required."
|
|
},
|
|
"flatAdjustment": {
|
|
"$ref": "Price",
|
|
"description": "Additive shipping rate modifier. Can be negative. For example { \"value\": \"1\", \"currency\" : \"USD\" } adds $1 to the rate, { \"value\": \"-3\", \"currency\" : \"USD\" } removes $3 from the rate. Optional."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the carrier rate. Must be unique per rate group. Required."
|
|
},
|
|
"originPostalCode": {
|
|
"type": "string",
|
|
"description": "Shipping origin for this carrier rate. Required."
|
|
},
|
|
"percentageAdjustment": {
|
|
"type": "string",
|
|
"description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example \"5.4\" increases the rate by 5.4%, \"-3\" decreases the rate by 3%. Optional."
|
|
}
|
|
}
|
|
},
|
|
"CarriersCarrier": {
|
|
"id": "CarriersCarrier",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The CLDR country code of the carrier (e.g., \"US\"). Always present."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the carrier (e.g., \"UPS\"). Always present."
|
|
},
|
|
"services": {
|
|
"type": "array",
|
|
"description": "A list of supported services (e.g., \"ground\") for that carrier. Contains at least one service.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Datafeed": {
|
|
"id": "Datafeed",
|
|
"type": "object",
|
|
"description": "Datafeed configuration data.",
|
|
"properties": {
|
|
"attributeLanguage": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed."
|
|
},
|
|
"contentLanguage": {
|
|
"type": "string",
|
|
"description": "[DEPRECATED] Please use target.language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry."
|
|
},
|
|
"contentType": {
|
|
"type": "string",
|
|
"description": "The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.datafeeds.insert",
|
|
"content.datafeeds.update"
|
|
]
|
|
}
|
|
},
|
|
"fetchSchedule": {
|
|
"$ref": "DatafeedFetchSchedule",
|
|
"description": "Fetch schedule for the feed file."
|
|
},
|
|
"fileName": {
|
|
"type": "string",
|
|
"description": "The filename of the feed. All feeds must have a unique file name.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.datafeeds.insert",
|
|
"content.datafeeds.update"
|
|
]
|
|
}
|
|
},
|
|
"format": {
|
|
"$ref": "DatafeedFormat",
|
|
"description": "Format of the feed file."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The ID of the data feed.",
|
|
"format": "int64",
|
|
"annotations": {
|
|
"required": [
|
|
"content.datafeeds.update"
|
|
]
|
|
}
|
|
},
|
|
"intendedDestinations": {
|
|
"type": "array",
|
|
"description": "[DEPRECATED] Please use target.includedDestination instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeed\".",
|
|
"default": "content#datafeed"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "A descriptive name of the data feed.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.datafeeds.insert"
|
|
]
|
|
}
|
|
},
|
|
"targetCountry": {
|
|
"type": "string",
|
|
"description": "[DEPRECATED] Please use target.country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code."
|
|
},
|
|
"targets": {
|
|
"type": "array",
|
|
"description": "The targets this feed should apply to (country, language, destinations).",
|
|
"items": {
|
|
"$ref": "DatafeedTarget"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatafeedFetchSchedule": {
|
|
"id": "DatafeedFetchSchedule",
|
|
"type": "object",
|
|
"description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.",
|
|
"properties": {
|
|
"dayOfMonth": {
|
|
"type": "integer",
|
|
"description": "The day of the month the feed file should be fetched (1-31).",
|
|
"format": "uint32"
|
|
},
|
|
"fetchUrl": {
|
|
"type": "string",
|
|
"description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols."
|
|
},
|
|
"hour": {
|
|
"type": "integer",
|
|
"description": "The hour of the day the feed file should be fetched (0-23).",
|
|
"format": "uint32"
|
|
},
|
|
"minuteOfHour": {
|
|
"type": "integer",
|
|
"description": "The minute of the hour the feed file should be fetched (0-59). Read-only.",
|
|
"format": "uint32"
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"description": "An optional password for fetch_url."
|
|
},
|
|
"paused": {
|
|
"type": "boolean",
|
|
"description": "Whether the scheduled fetch is paused or not."
|
|
},
|
|
"timeZone": {
|
|
"type": "string",
|
|
"description": "Time zone used for schedule. UTC by default. E.g., \"America/Los_Angeles\"."
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"description": "An optional user name for fetch_url."
|
|
},
|
|
"weekday": {
|
|
"type": "string",
|
|
"description": "The day of the week the feed file should be fetched."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedFormat": {
|
|
"id": "DatafeedFormat",
|
|
"type": "object",
|
|
"properties": {
|
|
"columnDelimiter": {
|
|
"type": "string",
|
|
"description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds."
|
|
},
|
|
"fileEncoding": {
|
|
"type": "string",
|
|
"description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected."
|
|
},
|
|
"quotingMode": {
|
|
"type": "string",
|
|
"description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedStatus": {
|
|
"id": "DatafeedStatus",
|
|
"type": "object",
|
|
"description": "The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The country for which the status is reported, represented as a CLDR territory code."
|
|
},
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"description": "The ID of the feed for which the status is reported.",
|
|
"format": "uint64"
|
|
},
|
|
"errors": {
|
|
"type": "array",
|
|
"description": "The list of errors occurring in the feed.",
|
|
"items": {
|
|
"$ref": "DatafeedStatusError"
|
|
}
|
|
},
|
|
"itemsTotal": {
|
|
"type": "string",
|
|
"description": "The number of items in the feed that were processed.",
|
|
"format": "uint64"
|
|
},
|
|
"itemsValid": {
|
|
"type": "string",
|
|
"description": "The number of items in the feed that were valid.",
|
|
"format": "uint64"
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedStatus\".",
|
|
"default": "content#datafeedStatus"
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language for which the status is reported."
|
|
},
|
|
"lastUploadDate": {
|
|
"type": "string",
|
|
"description": "The last date at which the feed was uploaded."
|
|
},
|
|
"processingStatus": {
|
|
"type": "string",
|
|
"description": "The processing status of the feed."
|
|
},
|
|
"warnings": {
|
|
"type": "array",
|
|
"description": "The list of errors occurring in the feed.",
|
|
"items": {
|
|
"$ref": "DatafeedStatusError"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatafeedStatusError": {
|
|
"id": "DatafeedStatusError",
|
|
"type": "object",
|
|
"description": "An error occurring in the feed, like \"invalid price\".",
|
|
"properties": {
|
|
"code": {
|
|
"type": "string",
|
|
"description": "The code of the error, e.g., \"validation/invalid_value\"."
|
|
},
|
|
"count": {
|
|
"type": "string",
|
|
"description": "The number of occurrences of the error in the feed.",
|
|
"format": "uint64"
|
|
},
|
|
"examples": {
|
|
"type": "array",
|
|
"description": "A list of example occurrences of the error, grouped by product.",
|
|
"items": {
|
|
"$ref": "DatafeedStatusExample"
|
|
}
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "The error message, e.g., \"Invalid price\"."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedStatusExample": {
|
|
"id": "DatafeedStatusExample",
|
|
"type": "object",
|
|
"description": "An example occurrence for a particular error.",
|
|
"properties": {
|
|
"itemId": {
|
|
"type": "string",
|
|
"description": "The ID of the example item."
|
|
},
|
|
"lineNumber": {
|
|
"type": "string",
|
|
"description": "Line number in the data feed where the example is found.",
|
|
"format": "uint64"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The problematic value."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedTarget": {
|
|
"id": "DatafeedTarget",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The country where the items in the feed will be included in the search index, represented as a CLDR territory code."
|
|
},
|
|
"excludedDestinations": {
|
|
"type": "array",
|
|
"description": "The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"includedDestinations": {
|
|
"type": "array",
|
|
"description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in the excluded_destination field.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedsCustomBatchRequest": {
|
|
"id": "DatafeedsCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "DatafeedsCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatafeedsCustomBatchRequestEntry": {
|
|
"id": "DatafeedsCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch datafeeds request.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"datafeed": {
|
|
"$ref": "Datafeed",
|
|
"description": "The data feed to insert."
|
|
},
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"description": "The ID of the data feed to get or delete.",
|
|
"format": "uint64"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"DatafeedsCustomBatchResponse": {
|
|
"id": "DatafeedsCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "DatafeedsCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedsCustomBatchResponse\".",
|
|
"default": "content#datafeedsCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"DatafeedsCustomBatchResponseEntry": {
|
|
"id": "DatafeedsCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch datafeeds response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"datafeed": {
|
|
"$ref": "Datafeed",
|
|
"description": "The requested data feed. Defined if and only if the request was successful."
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedsListResponse": {
|
|
"id": "DatafeedsListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedsListResponse\".",
|
|
"default": "content#datafeedsListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of datafeeds."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "Datafeed"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatafeedstatusesCustomBatchRequest": {
|
|
"id": "DatafeedstatusesCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "DatafeedstatusesCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatafeedstatusesCustomBatchRequestEntry": {
|
|
"id": "DatafeedstatusesCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch datafeedstatuses request.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target datafeeds this parameter is required."
|
|
},
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"description": "The ID of the data feed to get.",
|
|
"format": "uint64"
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target datafeeds this parameter is required."
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"DatafeedstatusesCustomBatchResponse": {
|
|
"id": "DatafeedstatusesCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "DatafeedstatusesCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedstatusesCustomBatchResponse\".",
|
|
"default": "content#datafeedstatusesCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"DatafeedstatusesCustomBatchResponseEntry": {
|
|
"id": "DatafeedstatusesCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch datafeedstatuses response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"datafeedStatus": {
|
|
"$ref": "DatafeedStatus",
|
|
"description": "The requested data feed status. Defined if and only if the request was successful."
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
}
|
|
}
|
|
},
|
|
"DatafeedstatusesListResponse": {
|
|
"id": "DatafeedstatusesListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedstatusesListResponse\".",
|
|
"default": "content#datafeedstatusesListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of datafeed statuses."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "DatafeedStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DeliveryTime": {
|
|
"id": "DeliveryTime",
|
|
"type": "object",
|
|
"properties": {
|
|
"maxTransitTimeInDays": {
|
|
"type": "integer",
|
|
"description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays. Required.",
|
|
"format": "uint32"
|
|
},
|
|
"minTransitTimeInDays": {
|
|
"type": "integer",
|
|
"description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Required.",
|
|
"format": "uint32"
|
|
}
|
|
}
|
|
},
|
|
"Error": {
|
|
"id": "Error",
|
|
"type": "object",
|
|
"description": "An error returned by the API.",
|
|
"properties": {
|
|
"domain": {
|
|
"type": "string",
|
|
"description": "The domain of the error."
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A description of the error."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The error code."
|
|
}
|
|
}
|
|
},
|
|
"Errors": {
|
|
"id": "Errors",
|
|
"type": "object",
|
|
"description": "A list of errors returned by a failed batch entry.",
|
|
"properties": {
|
|
"code": {
|
|
"type": "integer",
|
|
"description": "The HTTP status of the first error in errors.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"type": "array",
|
|
"description": "A list of errors.",
|
|
"items": {
|
|
"$ref": "Error"
|
|
}
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "The message of the first error in errors."
|
|
}
|
|
}
|
|
},
|
|
"Headers": {
|
|
"id": "Headers",
|
|
"type": "object",
|
|
"description": "A non-empty list of row or column headers for a table. Exactly one of prices, weights, numItems, postalCodeGroupNames, or locations must be set.",
|
|
"properties": {
|
|
"locations": {
|
|
"type": "array",
|
|
"description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.",
|
|
"items": {
|
|
"$ref": "LocationIdSet"
|
|
}
|
|
},
|
|
"numberOfItems": {
|
|
"type": "array",
|
|
"description": "A list of inclusive number of items upper bounds. The last value can be \"infinity\". For example [\"10\", \"50\", \"infinity\"] represents the headers \"\u003c= 10 items\", \" 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"postalCodeGroupNames": {
|
|
"type": "array",
|
|
"description": "A list of postal group names. The last value can be \"all other locations\". Example: [\"zone 1\", \"zone 2\", \"all other locations\"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"prices": {
|
|
"type": "array",
|
|
"description": "be \"infinity\". For example [{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}] represents the headers \"\u003c= $10\", \" $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
|
|
"items": {
|
|
"$ref": "Price"
|
|
}
|
|
},
|
|
"weights": {
|
|
"type": "array",
|
|
"description": "be \"infinity\". For example [{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}] represents the headers \"\u003c= 10kg\", \" 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
|
|
"items": {
|
|
"$ref": "Weight"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Installment": {
|
|
"id": "Installment",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "The amount the buyer has to pay per month."
|
|
},
|
|
"months": {
|
|
"type": "string",
|
|
"description": "The number of installments the buyer has to pay.",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"Inventory": {
|
|
"id": "Inventory",
|
|
"type": "object",
|
|
"properties": {
|
|
"availability": {
|
|
"type": "string",
|
|
"description": "The availability of the product."
|
|
},
|
|
"installment": {
|
|
"$ref": "Installment",
|
|
"description": "Number and amount of installments to pay for an item. Brazil only."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventory\".",
|
|
"default": "content#inventory"
|
|
},
|
|
"loyaltyPoints": {
|
|
"$ref": "LoyaltyPoints",
|
|
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
|
},
|
|
"pickup": {
|
|
"$ref": "InventoryPickup",
|
|
"description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "The price of the product."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity of the product. Must be equal to or greater than zero. Supported only for local products.",
|
|
"format": "uint32"
|
|
},
|
|
"salePrice": {
|
|
"$ref": "Price",
|
|
"description": "The sale price of the product. Mandatory if sale_price_effective_date is defined."
|
|
},
|
|
"salePriceEffectiveDate": {
|
|
"type": "string",
|
|
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided."
|
|
},
|
|
"sellOnGoogleQuantity": {
|
|
"type": "integer",
|
|
"description": "The quantity of the product that is reserved for sell-on-google ads. Supported only for online products.",
|
|
"format": "uint32"
|
|
}
|
|
}
|
|
},
|
|
"InventoryCustomBatchRequest": {
|
|
"id": "InventoryCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "InventoryCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"InventoryCustomBatchRequestEntry": {
|
|
"id": "InventoryCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch inventory request.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"inventory": {
|
|
"$ref": "Inventory",
|
|
"description": "Price and availability of the product."
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product for which to update price and availability."
|
|
},
|
|
"storeCode": {
|
|
"type": "string",
|
|
"description": "The code of the store for which to update price and availability. Use online to update price and availability of an online product."
|
|
}
|
|
}
|
|
},
|
|
"InventoryCustomBatchResponse": {
|
|
"id": "InventoryCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "InventoryCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventoryCustomBatchResponse\".",
|
|
"default": "content#inventoryCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"InventoryCustomBatchResponseEntry": {
|
|
"id": "InventoryCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch inventory response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventoryCustomBatchResponseEntry\".",
|
|
"default": "content#inventoryCustomBatchResponseEntry"
|
|
}
|
|
}
|
|
},
|
|
"InventoryPickup": {
|
|
"id": "InventoryPickup",
|
|
"type": "object",
|
|
"properties": {
|
|
"pickupMethod": {
|
|
"type": "string",
|
|
"description": "Whether store pickup is available for this offer and whether the pickup option should be shown as buy, reserve, or not supported. Only supported for local inventory. Unless the value is \"not supported\", must be submitted together with pickupSla."
|
|
},
|
|
"pickupSla": {
|
|
"type": "string",
|
|
"description": "The expected date that an order will be ready for pickup, relative to when the order is placed. Only supported for local inventory. Must be submitted together with pickupMethod."
|
|
}
|
|
}
|
|
},
|
|
"InventorySetRequest": {
|
|
"id": "InventorySetRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"availability": {
|
|
"type": "string",
|
|
"description": "The availability of the product."
|
|
},
|
|
"installment": {
|
|
"$ref": "Installment",
|
|
"description": "Number and amount of installments to pay for an item. Brazil only."
|
|
},
|
|
"loyaltyPoints": {
|
|
"$ref": "LoyaltyPoints",
|
|
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
|
},
|
|
"pickup": {
|
|
"$ref": "InventoryPickup",
|
|
"description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "The price of the product."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity of the product. Must be equal to or greater than zero. Supported only for local products.",
|
|
"format": "uint32"
|
|
},
|
|
"salePrice": {
|
|
"$ref": "Price",
|
|
"description": "The sale price of the product. Mandatory if sale_price_effective_date is defined."
|
|
},
|
|
"salePriceEffectiveDate": {
|
|
"type": "string",
|
|
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided."
|
|
},
|
|
"sellOnGoogleQuantity": {
|
|
"type": "integer",
|
|
"description": "The quantity of the product that is reserved for sell-on-google ads. Supported only for online products.",
|
|
"format": "uint32"
|
|
}
|
|
}
|
|
},
|
|
"InventorySetResponse": {
|
|
"id": "InventorySetResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#inventorySetResponse\".",
|
|
"default": "content#inventorySetResponse"
|
|
}
|
|
}
|
|
},
|
|
"LocationIdSet": {
|
|
"id": "LocationIdSet",
|
|
"type": "object",
|
|
"properties": {
|
|
"locationIds": {
|
|
"type": "array",
|
|
"description": "A non-empty list of location IDs. They must all be of the same location type (e.g., state).",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"LoyaltyPoints": {
|
|
"id": "LoyaltyPoints",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters."
|
|
},
|
|
"pointsValue": {
|
|
"type": "string",
|
|
"description": "The retailer's loyalty points in absolute value.",
|
|
"format": "int64"
|
|
},
|
|
"ratio": {
|
|
"type": "number",
|
|
"description": "The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.",
|
|
"format": "double"
|
|
}
|
|
}
|
|
},
|
|
"Order": {
|
|
"id": "Order",
|
|
"type": "object",
|
|
"properties": {
|
|
"acknowledged": {
|
|
"type": "boolean",
|
|
"description": "Whether the order was acknowledged."
|
|
},
|
|
"channelType": {
|
|
"type": "string",
|
|
"description": "The channel type of the order: \"purchaseOnGoogle\" or \"googleExpress\"."
|
|
},
|
|
"customer": {
|
|
"$ref": "OrderCustomer",
|
|
"description": "The details of the customer who placed the order."
|
|
},
|
|
"deliveryDetails": {
|
|
"$ref": "OrderDeliveryDetails",
|
|
"description": "The details for the delivery."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The REST id of the order. Globally unique."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#order\".",
|
|
"default": "content#order"
|
|
},
|
|
"lineItems": {
|
|
"type": "array",
|
|
"description": "Line items that are ordered.",
|
|
"items": {
|
|
"$ref": "OrderLineItem"
|
|
}
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"format": "uint64"
|
|
},
|
|
"merchantOrderId": {
|
|
"type": "string",
|
|
"description": "Merchant-provided id of the order."
|
|
},
|
|
"netAmount": {
|
|
"$ref": "Price",
|
|
"description": "The net amount for the order. For example, if an order was originally for a grand total of $100 and a refund was issued for $20, the net amount will be $80."
|
|
},
|
|
"paymentMethod": {
|
|
"$ref": "OrderPaymentMethod",
|
|
"description": "The details of the payment method."
|
|
},
|
|
"paymentStatus": {
|
|
"type": "string",
|
|
"description": "The status of the payment."
|
|
},
|
|
"placedDate": {
|
|
"type": "string",
|
|
"description": "The date when the order was placed, in ISO 8601 format."
|
|
},
|
|
"promotions": {
|
|
"type": "array",
|
|
"description": "The details of the merchant provided promotions applied to the order. More details about the program are here.",
|
|
"items": {
|
|
"$ref": "OrderPromotion"
|
|
}
|
|
},
|
|
"refunds": {
|
|
"type": "array",
|
|
"description": "Refunds for the order.",
|
|
"items": {
|
|
"$ref": "OrderRefund"
|
|
}
|
|
},
|
|
"shipments": {
|
|
"type": "array",
|
|
"description": "Shipments of the order.",
|
|
"items": {
|
|
"$ref": "OrderShipment"
|
|
}
|
|
},
|
|
"shippingCost": {
|
|
"$ref": "Price",
|
|
"description": "The total cost of shipping for all items."
|
|
},
|
|
"shippingCostTax": {
|
|
"$ref": "Price",
|
|
"description": "The tax for the total shipping cost."
|
|
},
|
|
"shippingOption": {
|
|
"type": "string",
|
|
"description": "The requested shipping option."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "The status of the order."
|
|
}
|
|
}
|
|
},
|
|
"OrderAddress": {
|
|
"id": "OrderAddress",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "CLDR country code (e.g. \"US\")."
|
|
},
|
|
"fullAddress": {
|
|
"type": "array",
|
|
"description": "Strings representing the lines of the printed label for mailing the order, for example:\nJohn Smith\n1600 Amphitheatre Parkway\nMountain View, CA, 94043\nUnited States",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"isPostOfficeBox": {
|
|
"type": "boolean",
|
|
"description": "Whether the address is a post office box."
|
|
},
|
|
"locality": {
|
|
"type": "string",
|
|
"description": "City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs)."
|
|
},
|
|
"postalCode": {
|
|
"type": "string",
|
|
"description": "Postal Code or ZIP (e.g. \"94043\")."
|
|
},
|
|
"recipientName": {
|
|
"type": "string",
|
|
"description": "Name of the recipient."
|
|
},
|
|
"region": {
|
|
"type": "string",
|
|
"description": "Top-level administrative subdivision of the country (e.g. \"CA\")."
|
|
},
|
|
"streetAddress": {
|
|
"type": "array",
|
|
"description": "Street-level part of the address.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrderCancellation": {
|
|
"id": "OrderCancellation",
|
|
"type": "object",
|
|
"properties": {
|
|
"actor": {
|
|
"type": "string",
|
|
"description": "The actor that created the cancellation."
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the cancellation has been created, in ISO 8601 format."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity that was canceled.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the cancellation. Orders that are cancelled with a noInventory reason will lead to the removal of the product from POG until you make an update to that product. This will not affect your Shopping ads."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrderCustomer": {
|
|
"id": "OrderCustomer",
|
|
"type": "object",
|
|
"properties": {
|
|
"email": {
|
|
"type": "string",
|
|
"description": "Email address of the customer."
|
|
},
|
|
"explicitMarketingPreference": {
|
|
"type": "boolean",
|
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow."
|
|
},
|
|
"fullName": {
|
|
"type": "string",
|
|
"description": "Full name of the customer."
|
|
}
|
|
}
|
|
},
|
|
"OrderDeliveryDetails": {
|
|
"id": "OrderDeliveryDetails",
|
|
"type": "object",
|
|
"properties": {
|
|
"address": {
|
|
"$ref": "OrderAddress",
|
|
"description": "The delivery address"
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string",
|
|
"description": "The phone number of the person receiving the delivery."
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItem": {
|
|
"id": "OrderLineItem",
|
|
"type": "object",
|
|
"properties": {
|
|
"cancellations": {
|
|
"type": "array",
|
|
"description": "Cancellations of the line item.",
|
|
"items": {
|
|
"$ref": "OrderCancellation"
|
|
}
|
|
},
|
|
"channelType": {
|
|
"type": "string",
|
|
"description": "The channel type of the order: \"purchaseOnGoogle\" or \"googleExpress\"."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The id of the line item."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20."
|
|
},
|
|
"product": {
|
|
"$ref": "OrderLineItemProduct",
|
|
"description": "Product data from the time of the order placement."
|
|
},
|
|
"quantityCanceled": {
|
|
"type": "integer",
|
|
"description": "Number of items canceled.",
|
|
"format": "uint32"
|
|
},
|
|
"quantityDelivered": {
|
|
"type": "integer",
|
|
"description": "Number of items delivered.",
|
|
"format": "uint32"
|
|
},
|
|
"quantityOrdered": {
|
|
"type": "integer",
|
|
"description": "Number of items ordered.",
|
|
"format": "uint32"
|
|
},
|
|
"quantityPending": {
|
|
"type": "integer",
|
|
"description": "Number of items pending.",
|
|
"format": "uint32"
|
|
},
|
|
"quantityReturned": {
|
|
"type": "integer",
|
|
"description": "Number of items returned.",
|
|
"format": "uint32"
|
|
},
|
|
"quantityShipped": {
|
|
"type": "integer",
|
|
"description": "Number of items shipped.",
|
|
"format": "uint32"
|
|
},
|
|
"returnInfo": {
|
|
"$ref": "OrderLineItemReturnInfo",
|
|
"description": "Details of the return policy for the line item."
|
|
},
|
|
"returns": {
|
|
"type": "array",
|
|
"description": "Returns of the line item.",
|
|
"items": {
|
|
"$ref": "OrderReturn"
|
|
}
|
|
},
|
|
"shippingDetails": {
|
|
"$ref": "OrderLineItemShippingDetails",
|
|
"description": "Details of the requested shipping for the line item."
|
|
},
|
|
"tax": {
|
|
"$ref": "Price",
|
|
"description": "Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4."
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItemProduct": {
|
|
"id": "OrderLineItemProduct",
|
|
"type": "object",
|
|
"properties": {
|
|
"brand": {
|
|
"type": "string",
|
|
"description": "Brand of the item."
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "The item's channel (online or local)."
|
|
},
|
|
"condition": {
|
|
"type": "string",
|
|
"description": "Condition or state of the item."
|
|
},
|
|
"contentLanguage": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language code for the item."
|
|
},
|
|
"gtin": {
|
|
"type": "string",
|
|
"description": "Global Trade Item Number (GTIN) of the item."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The REST id of the product."
|
|
},
|
|
"imageLink": {
|
|
"type": "string",
|
|
"description": "URL of an image of the item."
|
|
},
|
|
"itemGroupId": {
|
|
"type": "string",
|
|
"description": "Shared identifier for all variants of the same product."
|
|
},
|
|
"mpn": {
|
|
"type": "string",
|
|
"description": "Manufacturer Part Number (MPN) of the item."
|
|
},
|
|
"offerId": {
|
|
"type": "string",
|
|
"description": "An identifier of the item."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "Price of the item."
|
|
},
|
|
"shownImage": {
|
|
"type": "string",
|
|
"description": "URL to the cached image shown to the user when order was placed."
|
|
},
|
|
"targetCountry": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code of the target country of the product."
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "The title of the product."
|
|
},
|
|
"variantAttributes": {
|
|
"type": "array",
|
|
"description": "Variant attributes for the item. These are dimensions of the product, such as color, gender, material, pattern, and size. You can find a comprehensive list of variant attributes here.",
|
|
"items": {
|
|
"$ref": "OrderLineItemProductVariantAttribute"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItemProductVariantAttribute": {
|
|
"id": "OrderLineItemProductVariantAttribute",
|
|
"type": "object",
|
|
"properties": {
|
|
"dimension": {
|
|
"type": "string",
|
|
"description": "The dimension of the variant."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The value for the dimension."
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItemReturnInfo": {
|
|
"id": "OrderLineItemReturnInfo",
|
|
"type": "object",
|
|
"properties": {
|
|
"daysToReturn": {
|
|
"type": "integer",
|
|
"description": "How many days later the item can be returned.",
|
|
"format": "int32",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"isReturnable": {
|
|
"type": "boolean",
|
|
"description": "Whether the item is returnable.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"policyUrl": {
|
|
"type": "string",
|
|
"description": "URL of the item return policy.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItemShippingDetails": {
|
|
"id": "OrderLineItemShippingDetails",
|
|
"type": "object",
|
|
"properties": {
|
|
"deliverByDate": {
|
|
"type": "string",
|
|
"description": "The delivery by date, in ISO 8601 format.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"method": {
|
|
"$ref": "OrderLineItemShippingDetailsMethod",
|
|
"description": "Details of the shipping method.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"shipByDate": {
|
|
"type": "string",
|
|
"description": "The ship by date, in ISO 8601 format.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrderLineItemShippingDetailsMethod": {
|
|
"id": "OrderLineItemShippingDetailsMethod",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values."
|
|
},
|
|
"maxDaysInTransit": {
|
|
"type": "integer",
|
|
"description": "Maximum transit time.",
|
|
"format": "uint32",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"methodName": {
|
|
"type": "string",
|
|
"description": "The name of the shipping method.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"minDaysInTransit": {
|
|
"type": "integer",
|
|
"description": "Minimum transit time.",
|
|
"format": "uint32",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrderPaymentMethod": {
|
|
"id": "OrderPaymentMethod",
|
|
"type": "object",
|
|
"properties": {
|
|
"billingAddress": {
|
|
"$ref": "OrderAddress",
|
|
"description": "The billing address."
|
|
},
|
|
"expirationMonth": {
|
|
"type": "integer",
|
|
"description": "The card expiration month (January = 1, February = 2 etc.).",
|
|
"format": "int32"
|
|
},
|
|
"expirationYear": {
|
|
"type": "integer",
|
|
"description": "The card expiration year (4-digit, e.g. 2015).",
|
|
"format": "int32"
|
|
},
|
|
"lastFourDigits": {
|
|
"type": "string",
|
|
"description": "The last four digits of the card number."
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string",
|
|
"description": "The billing phone number."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of instrument.\n\nAcceptable values are: \n- \"AMEX\" \n- \"DISCOVER\" \n- \"JCB\" \n- \"MASTERCARD\" \n- \"UNIONPAY\" \n- \"VISA\" \n- \"\""
|
|
}
|
|
}
|
|
},
|
|
"OrderPromotion": {
|
|
"id": "OrderPromotion",
|
|
"type": "object",
|
|
"properties": {
|
|
"benefits": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "OrderPromotionBenefit"
|
|
}
|
|
},
|
|
"effectiveDates": {
|
|
"type": "string",
|
|
"description": "The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review.\nStart date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format."
|
|
},
|
|
"genericRedemptionCode": {
|
|
"type": "string",
|
|
"description": "Optional. The text code that corresponds to the promotion when applied on the retailer?s website."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The unique ID of the promotion."
|
|
},
|
|
"longTitle": {
|
|
"type": "string",
|
|
"description": "The full title of the promotion."
|
|
},
|
|
"productApplicability": {
|
|
"type": "string",
|
|
"description": "Whether the promotion is applicable to all products or only specific products."
|
|
},
|
|
"redemptionChannel": {
|
|
"type": "string",
|
|
"description": "Indicates that the promotion is valid online."
|
|
}
|
|
}
|
|
},
|
|
"OrderPromotionBenefit": {
|
|
"id": "OrderPromotionBenefit",
|
|
"type": "object",
|
|
"properties": {
|
|
"discount": {
|
|
"$ref": "Price",
|
|
"description": "The discount in the order price when the promotion is applied."
|
|
},
|
|
"offerIds": {
|
|
"type": "array",
|
|
"description": "The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"subType": {
|
|
"type": "string",
|
|
"description": "Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types."
|
|
},
|
|
"taxImpact": {
|
|
"$ref": "Price",
|
|
"description": "The impact on tax when the promotion is applied."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping)."
|
|
}
|
|
}
|
|
},
|
|
"OrderRefund": {
|
|
"id": "OrderRefund",
|
|
"type": "object",
|
|
"properties": {
|
|
"actor": {
|
|
"type": "string",
|
|
"description": "The actor that created the refund."
|
|
},
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "The amount that is refunded."
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item has been created, in ISO 8601 format."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the refund."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrderReturn": {
|
|
"id": "OrderReturn",
|
|
"type": "object",
|
|
"properties": {
|
|
"actor": {
|
|
"type": "string",
|
|
"description": "The actor that created the refund."
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item has been created, in ISO 8601 format."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "Quantity that is returned.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the return."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrderShipment": {
|
|
"id": "OrderShipment",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the shipment has been created, in ISO 8601 format."
|
|
},
|
|
"deliveryDate": {
|
|
"type": "string",
|
|
"description": "Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delievered"
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The id of the shipment."
|
|
},
|
|
"lineItems": {
|
|
"type": "array",
|
|
"description": "The line items that are shipped.",
|
|
"items": {
|
|
"$ref": "OrderShipmentLineItemShipment"
|
|
}
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "The status of the shipment."
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "The tracking id for the shipment."
|
|
}
|
|
}
|
|
},
|
|
"OrderShipmentLineItemShipment": {
|
|
"id": "OrderShipmentLineItemShipment",
|
|
"type": "object",
|
|
"properties": {
|
|
"lineItemId": {
|
|
"type": "string",
|
|
"description": "The id of the line item that is shipped."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity that is shipped.",
|
|
"format": "uint32"
|
|
}
|
|
}
|
|
},
|
|
"OrdersAcknowledgeRequest": {
|
|
"id": "OrdersAcknowledgeRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
}
|
|
}
|
|
},
|
|
"OrdersAcknowledgeResponse": {
|
|
"id": "OrdersAcknowledgeResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersAcknowledgeResponse\".",
|
|
"default": "content#ordersAcknowledgeResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersAdvanceTestOrderResponse": {
|
|
"id": "OrdersAdvanceTestOrderResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersAdvanceTestOrderResponse\".",
|
|
"default": "content#ordersAdvanceTestOrderResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersCancelLineItemRequest": {
|
|
"id": "OrdersCancelLineItemRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
|
},
|
|
"lineItemId": {
|
|
"type": "string",
|
|
"description": "The ID of the line item to cancel."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity to cancel.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the cancellation."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCancelLineItemResponse": {
|
|
"id": "OrdersCancelLineItemResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCancelLineItemResponse\".",
|
|
"default": "content#ordersCancelLineItemResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersCancelRequest": {
|
|
"id": "OrdersCancelRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the cancellation."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCancelResponse": {
|
|
"id": "OrdersCancelResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCancelResponse\".",
|
|
"default": "content#ordersCancelResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersCreateTestOrderRequest": {
|
|
"id": "OrdersCreateTestOrderRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"templateName": {
|
|
"type": "string",
|
|
"description": "The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template."
|
|
},
|
|
"testOrder": {
|
|
"$ref": "TestOrder",
|
|
"description": "The test order to create."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCreateTestOrderResponse": {
|
|
"id": "OrdersCreateTestOrderResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCreateTestOrderResponse\".",
|
|
"default": "content#ordersCreateTestOrderResponse"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the newly created test order."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequest": {
|
|
"id": "OrdersCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "OrdersCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntry": {
|
|
"id": "OrdersCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"cancel": {
|
|
"$ref": "OrdersCustomBatchRequestEntryCancel",
|
|
"description": "Required for cancel method."
|
|
},
|
|
"cancelLineItem": {
|
|
"$ref": "OrdersCustomBatchRequestEntryCancelLineItem",
|
|
"description": "Required for cancelLineItem method."
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"merchantOrderId": {
|
|
"type": "string",
|
|
"description": "The merchant order id. Required for updateMerchantOrderId and getByMerchantOrderId methods."
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"description": "The method to apply."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order. Required for all methods beside get and getByMerchantOrderId."
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order. Required for all methods beside getByMerchantOrderId."
|
|
},
|
|
"refund": {
|
|
"$ref": "OrdersCustomBatchRequestEntryRefund",
|
|
"description": "Required for refund method."
|
|
},
|
|
"returnLineItem": {
|
|
"$ref": "OrdersCustomBatchRequestEntryReturnLineItem",
|
|
"description": "Required for returnLineItem method."
|
|
},
|
|
"shipLineItems": {
|
|
"$ref": "OrdersCustomBatchRequestEntryShipLineItems",
|
|
"description": "Required for shipLineItems method."
|
|
},
|
|
"updateShipment": {
|
|
"$ref": "OrdersCustomBatchRequestEntryUpdateShipment",
|
|
"description": "Required for updateShipment method."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryCancel": {
|
|
"id": "OrdersCustomBatchRequestEntryCancel",
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the cancellation."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryCancelLineItem": {
|
|
"id": "OrdersCustomBatchRequestEntryCancelLineItem",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
|
},
|
|
"lineItemId": {
|
|
"type": "string",
|
|
"description": "The ID of the line item to cancel."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity to cancel.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the cancellation."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryRefund": {
|
|
"id": "OrdersCustomBatchRequestEntryRefund",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "The amount that is refunded."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the refund."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryReturnLineItem": {
|
|
"id": "OrdersCustomBatchRequestEntryReturnLineItem",
|
|
"type": "object",
|
|
"properties": {
|
|
"lineItemId": {
|
|
"type": "string",
|
|
"description": "The ID of the line item to return."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity to return.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the return."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryShipLineItems": {
|
|
"id": "OrdersCustomBatchRequestEntryShipLineItems",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
|
},
|
|
"lineItems": {
|
|
"type": "array",
|
|
"description": "Line items to ship.",
|
|
"items": {
|
|
"$ref": "OrderShipmentLineItemShipment"
|
|
}
|
|
},
|
|
"shipmentId": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
|
},
|
|
"shipmentInfos": {
|
|
"type": "array",
|
|
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
|
"items": {
|
|
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
|
}
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo": {
|
|
"id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
|
},
|
|
"shipmentId": {
|
|
"type": "string",
|
|
"description": "The ID of the shipment.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.shiplineitems"
|
|
]
|
|
}
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "The tracking id for the shipment."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchRequestEntryUpdateShipment": {
|
|
"id": "OrdersCustomBatchRequestEntryUpdateShipment",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
|
},
|
|
"shipmentId": {
|
|
"type": "string",
|
|
"description": "The ID of the shipment."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "New status for the shipment. Not updated if missing."
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "The tracking id for the shipment. Not updated if missing."
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchResponse": {
|
|
"id": "OrdersCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "OrdersCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCustomBatchResponse\".",
|
|
"default": "content#ordersCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersCustomBatchResponseEntry": {
|
|
"id": "OrdersCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
},
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution. Only defined if the method is not get or getByMerchantOrderId and if the request was successful."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersCustomBatchResponseEntry\".",
|
|
"default": "content#ordersCustomBatchResponseEntry"
|
|
},
|
|
"order": {
|
|
"$ref": "Order",
|
|
"description": "The retrieved order. Only defined if the method is get and if the request was successful."
|
|
}
|
|
}
|
|
},
|
|
"OrdersGetByMerchantOrderIdResponse": {
|
|
"id": "OrdersGetByMerchantOrderIdResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersGetByMerchantOrderIdResponse\".",
|
|
"default": "content#ordersGetByMerchantOrderIdResponse"
|
|
},
|
|
"order": {
|
|
"$ref": "Order",
|
|
"description": "The requested order."
|
|
}
|
|
}
|
|
},
|
|
"OrdersGetTestOrderTemplateResponse": {
|
|
"id": "OrdersGetTestOrderTemplateResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersGetTestOrderTemplateResponse\".",
|
|
"default": "content#ordersGetTestOrderTemplateResponse"
|
|
},
|
|
"template": {
|
|
"$ref": "TestOrder",
|
|
"description": "The requested test order template."
|
|
}
|
|
}
|
|
},
|
|
"OrdersListResponse": {
|
|
"id": "OrdersListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersListResponse\".",
|
|
"default": "content#ordersListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of orders."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "Order"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OrdersRefundRequest": {
|
|
"id": "OrdersRefundRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "Price",
|
|
"description": "The amount that is refunded."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the refund."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersRefundResponse": {
|
|
"id": "OrdersRefundResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersRefundResponse\".",
|
|
"default": "content#ordersRefundResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersReturnLineItemRequest": {
|
|
"id": "OrdersReturnLineItemRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"lineItemId": {
|
|
"type": "string",
|
|
"description": "The ID of the line item to return."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"quantity": {
|
|
"type": "integer",
|
|
"description": "The quantity to return.",
|
|
"format": "uint32"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"description": "The reason for the return."
|
|
},
|
|
"reasonText": {
|
|
"type": "string",
|
|
"description": "The explanation of the reason."
|
|
}
|
|
}
|
|
},
|
|
"OrdersReturnLineItemResponse": {
|
|
"id": "OrdersReturnLineItemResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersReturnLineItemResponse\".",
|
|
"default": "content#ordersReturnLineItemResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersShipLineItemsRequest": {
|
|
"id": "OrdersShipLineItemsRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
|
},
|
|
"lineItems": {
|
|
"type": "array",
|
|
"description": "Line items to ship.",
|
|
"items": {
|
|
"$ref": "OrderShipmentLineItemShipment"
|
|
}
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"shipmentId": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
|
},
|
|
"shipmentInfos": {
|
|
"type": "array",
|
|
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
|
"items": {
|
|
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
|
}
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
|
}
|
|
}
|
|
},
|
|
"OrdersShipLineItemsResponse": {
|
|
"id": "OrdersShipLineItemsResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersShipLineItemsResponse\".",
|
|
"default": "content#ordersShipLineItemsResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersUpdateMerchantOrderIdRequest": {
|
|
"id": "OrdersUpdateMerchantOrderIdRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"merchantOrderId": {
|
|
"type": "string",
|
|
"description": "The merchant order id to be assigned to the order. Must be unique per merchant."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
}
|
|
}
|
|
},
|
|
"OrdersUpdateMerchantOrderIdResponse": {
|
|
"id": "OrdersUpdateMerchantOrderIdResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateMerchantOrderIdResponse\".",
|
|
"default": "content#ordersUpdateMerchantOrderIdResponse"
|
|
}
|
|
}
|
|
},
|
|
"OrdersUpdateShipmentRequest": {
|
|
"id": "OrdersUpdateShipmentRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"carrier": {
|
|
"type": "string",
|
|
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
|
},
|
|
"operationId": {
|
|
"type": "string",
|
|
"description": "The ID of the operation. Unique across all operations for a given order."
|
|
},
|
|
"shipmentId": {
|
|
"type": "string",
|
|
"description": "The ID of the shipment."
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "New status for the shipment. Not updated if missing."
|
|
},
|
|
"trackingId": {
|
|
"type": "string",
|
|
"description": "The tracking id for the shipment. Not updated if missing."
|
|
}
|
|
}
|
|
},
|
|
"OrdersUpdateShipmentResponse": {
|
|
"id": "OrdersUpdateShipmentResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"executionStatus": {
|
|
"type": "string",
|
|
"description": "The status of the execution."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#ordersUpdateShipmentResponse\".",
|
|
"default": "content#ordersUpdateShipmentResponse"
|
|
}
|
|
}
|
|
},
|
|
"PostalCodeGroup": {
|
|
"id": "PostalCodeGroup",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code of the country the postal code group applies to. Required."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the postal code group, referred to in headers. Required."
|
|
},
|
|
"postalCodeRanges": {
|
|
"type": "array",
|
|
"description": "A range of postal codes. Required.",
|
|
"items": {
|
|
"$ref": "PostalCodeRange"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PostalCodeRange": {
|
|
"id": "PostalCodeRange",
|
|
"type": "object",
|
|
"properties": {
|
|
"postalCodeRangeBegin": {
|
|
"type": "string",
|
|
"description": "A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: \"94108\", \"9410*\", \"9*\". Required."
|
|
},
|
|
"postalCodeRangeEnd": {
|
|
"type": "string",
|
|
"description": "A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin."
|
|
}
|
|
}
|
|
},
|
|
"Price": {
|
|
"id": "Price",
|
|
"type": "object",
|
|
"properties": {
|
|
"currency": {
|
|
"type": "string",
|
|
"description": "The currency of the price."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The price represented as a number."
|
|
}
|
|
}
|
|
},
|
|
"Product": {
|
|
"id": "Product",
|
|
"type": "object",
|
|
"description": "Product data.",
|
|
"properties": {
|
|
"additionalImageLinks": {
|
|
"type": "array",
|
|
"description": "Additional URLs of images of the item.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProductTypes": {
|
|
"type": "array",
|
|
"description": "Additional categories of the item (formatted as in products feed specification).",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"adult": {
|
|
"type": "boolean",
|
|
"description": "Set to true if the item is targeted towards adults."
|
|
},
|
|
"adwordsGrouping": {
|
|
"type": "string",
|
|
"description": "Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise."
|
|
},
|
|
"adwordsLabels": {
|
|
"type": "array",
|
|
"description": "Similar to adwords_grouping, but only works on CPC.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"adwordsRedirect": {
|
|
"type": "string",
|
|
"description": "Allows advertisers to override the item URL when the product is shown within the context of Product Ads."
|
|
},
|
|
"ageGroup": {
|
|
"type": "string",
|
|
"description": "Target age group of the item."
|
|
},
|
|
"aspects": {
|
|
"type": "array",
|
|
"description": "Specifies the intended aspects for the product.",
|
|
"items": {
|
|
"$ref": "ProductAspect"
|
|
}
|
|
},
|
|
"availability": {
|
|
"type": "string",
|
|
"description": "Availability status of the item."
|
|
},
|
|
"availabilityDate": {
|
|
"type": "string",
|
|
"description": "The day a pre-ordered product becomes available for delivery, in ISO 8601 format."
|
|
},
|
|
"brand": {
|
|
"type": "string",
|
|
"description": "Brand of the item."
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "The item's channel (online or local).",
|
|
"annotations": {
|
|
"required": [
|
|
"content.products.insert"
|
|
]
|
|
}
|
|
},
|
|
"color": {
|
|
"type": "string",
|
|
"description": "Color of the item."
|
|
},
|
|
"condition": {
|
|
"type": "string",
|
|
"description": "Condition or state of the item."
|
|
},
|
|
"contentLanguage": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language code for the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.products.insert"
|
|
]
|
|
}
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., { \"name\": \"size type\", \"type\": \"text\", \"value\": \"regular\" }). This is useful for submitting attributes not explicitly exposed by the API.",
|
|
"items": {
|
|
"$ref": "ProductCustomAttribute"
|
|
}
|
|
},
|
|
"customGroups": {
|
|
"type": "array",
|
|
"description": "A list of custom (merchant-provided) custom attribute groups.",
|
|
"items": {
|
|
"$ref": "ProductCustomGroup"
|
|
}
|
|
},
|
|
"customLabel0": {
|
|
"type": "string",
|
|
"description": "Custom label 0 for custom grouping of items in a Shopping campaign."
|
|
},
|
|
"customLabel1": {
|
|
"type": "string",
|
|
"description": "Custom label 1 for custom grouping of items in a Shopping campaign."
|
|
},
|
|
"customLabel2": {
|
|
"type": "string",
|
|
"description": "Custom label 2 for custom grouping of items in a Shopping campaign."
|
|
},
|
|
"customLabel3": {
|
|
"type": "string",
|
|
"description": "Custom label 3 for custom grouping of items in a Shopping campaign."
|
|
},
|
|
"customLabel4": {
|
|
"type": "string",
|
|
"description": "Custom label 4 for custom grouping of items in a Shopping campaign."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Description of the item."
|
|
},
|
|
"destinations": {
|
|
"type": "array",
|
|
"description": "Specifies the intended destinations for the product.",
|
|
"items": {
|
|
"$ref": "ProductDestination"
|
|
}
|
|
},
|
|
"displayAdsId": {
|
|
"type": "string",
|
|
"description": "An identifier for an item for dynamic remarketing campaigns."
|
|
},
|
|
"displayAdsLink": {
|
|
"type": "string",
|
|
"description": "URL directly to your item's landing page for dynamic remarketing campaigns."
|
|
},
|
|
"displayAdsSimilarIds": {
|
|
"type": "array",
|
|
"description": "Advertiser-specified recommendations.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"displayAdsTitle": {
|
|
"type": "string",
|
|
"description": "Title of an item for dynamic remarketing campaigns."
|
|
},
|
|
"displayAdsValue": {
|
|
"type": "number",
|
|
"description": "Offer margin for dynamic remarketing campaigns.",
|
|
"format": "double"
|
|
},
|
|
"energyEfficiencyClass": {
|
|
"type": "string",
|
|
"description": "The energy efficiency class as defined in EU directive 2010/30/EU."
|
|
},
|
|
"expirationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future."
|
|
},
|
|
"gender": {
|
|
"type": "string",
|
|
"description": "Target gender of the item."
|
|
},
|
|
"googleProductCategory": {
|
|
"type": "string",
|
|
"description": "Google's category of the item (see Google product taxonomy)."
|
|
},
|
|
"gtin": {
|
|
"type": "string",
|
|
"description": "Global Trade Item Number (GTIN) of the item."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The REST id of the product."
|
|
},
|
|
"identifierExists": {
|
|
"type": "boolean",
|
|
"description": "False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada."
|
|
},
|
|
"imageLink": {
|
|
"type": "string",
|
|
"description": "URL of an image of the item."
|
|
},
|
|
"installment": {
|
|
"$ref": "Installment",
|
|
"description": "Number and amount of installments to pay for an item. Brazil only."
|
|
},
|
|
"isBundle": {
|
|
"type": "boolean",
|
|
"description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price."
|
|
},
|
|
"itemGroupId": {
|
|
"type": "string",
|
|
"description": "Shared identifier for all variants of the same product."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#product\".",
|
|
"default": "content#product"
|
|
},
|
|
"link": {
|
|
"type": "string",
|
|
"description": "URL directly linking to your item's page on your website."
|
|
},
|
|
"loyaltyPoints": {
|
|
"$ref": "LoyaltyPoints",
|
|
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
|
},
|
|
"material": {
|
|
"type": "string",
|
|
"description": "The material of which the item is made."
|
|
},
|
|
"maxHandlingTime": {
|
|
"type": "string",
|
|
"description": "Maximal product handling time (in business days).",
|
|
"format": "int64"
|
|
},
|
|
"minHandlingTime": {
|
|
"type": "string",
|
|
"description": "Minimal product handling time (in business days).",
|
|
"format": "int64"
|
|
},
|
|
"mobileLink": {
|
|
"type": "string",
|
|
"description": "Link to a mobile-optimized version of the landing page."
|
|
},
|
|
"mpn": {
|
|
"type": "string",
|
|
"description": "Manufacturer Part Number (MPN) of the item."
|
|
},
|
|
"multipack": {
|
|
"type": "string",
|
|
"description": "The number of identical products in a merchant-defined multipack.",
|
|
"format": "int64"
|
|
},
|
|
"offerId": {
|
|
"type": "string",
|
|
"description": "An identifier of the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.products.insert"
|
|
]
|
|
}
|
|
},
|
|
"onlineOnly": {
|
|
"type": "boolean",
|
|
"description": "Whether an item is available for purchase only online."
|
|
},
|
|
"pattern": {
|
|
"type": "string",
|
|
"description": "The item's pattern (e.g. polka dots)."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "Price of the item."
|
|
},
|
|
"productType": {
|
|
"type": "string",
|
|
"description": "Your category of the item (formatted as in products feed specification)."
|
|
},
|
|
"promotionIds": {
|
|
"type": "array",
|
|
"description": "The unique ID of a promotion.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"salePrice": {
|
|
"$ref": "Price",
|
|
"description": "Advertised sale price of the item."
|
|
},
|
|
"salePriceEffectiveDate": {
|
|
"type": "string",
|
|
"description": "Date range during which the item is on sale (see products feed specification)."
|
|
},
|
|
"sellOnGoogleQuantity": {
|
|
"type": "string",
|
|
"description": "The quantity of the product that is reserved for sell-on-google ads.",
|
|
"format": "int64"
|
|
},
|
|
"shipping": {
|
|
"type": "array",
|
|
"description": "Shipping rules.",
|
|
"items": {
|
|
"$ref": "ProductShipping"
|
|
}
|
|
},
|
|
"shippingHeight": {
|
|
"$ref": "ProductShippingDimension",
|
|
"description": "Height of the item for shipping."
|
|
},
|
|
"shippingLabel": {
|
|
"type": "string",
|
|
"description": "The shipping label of the product, used to group product in account-level shipping rules."
|
|
},
|
|
"shippingLength": {
|
|
"$ref": "ProductShippingDimension",
|
|
"description": "Length of the item for shipping."
|
|
},
|
|
"shippingWeight": {
|
|
"$ref": "ProductShippingWeight",
|
|
"description": "Weight of the item for shipping."
|
|
},
|
|
"shippingWidth": {
|
|
"$ref": "ProductShippingDimension",
|
|
"description": "Width of the item for shipping."
|
|
},
|
|
"sizeSystem": {
|
|
"type": "string",
|
|
"description": "System in which the size is specified. Recommended for apparel items."
|
|
},
|
|
"sizeType": {
|
|
"type": "string",
|
|
"description": "The cut of the item. Recommended for apparel items."
|
|
},
|
|
"sizes": {
|
|
"type": "array",
|
|
"description": "Size of the item.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"targetCountry": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code for the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.products.insert"
|
|
]
|
|
}
|
|
},
|
|
"taxes": {
|
|
"type": "array",
|
|
"description": "Tax information.",
|
|
"items": {
|
|
"$ref": "ProductTax"
|
|
}
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Title of the item."
|
|
},
|
|
"unitPricingBaseMeasure": {
|
|
"$ref": "ProductUnitPricingBaseMeasure",
|
|
"description": "The preference of the denominator of the unit price."
|
|
},
|
|
"unitPricingMeasure": {
|
|
"$ref": "ProductUnitPricingMeasure",
|
|
"description": "The measure and dimension of an item."
|
|
},
|
|
"validatedDestinations": {
|
|
"type": "array",
|
|
"description": "The read-only list of intended destinations which passed validation.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"warnings": {
|
|
"type": "array",
|
|
"description": "Read-only warnings.",
|
|
"items": {
|
|
"$ref": "Error"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ProductAspect": {
|
|
"id": "ProductAspect",
|
|
"type": "object",
|
|
"properties": {
|
|
"aspectName": {
|
|
"type": "string",
|
|
"description": "The name of the aspect."
|
|
},
|
|
"destinationName": {
|
|
"type": "string",
|
|
"description": "The name of the destination. Leave out to apply to all destinations."
|
|
},
|
|
"intention": {
|
|
"type": "string",
|
|
"description": "Whether the aspect is required, excluded or should be validated."
|
|
}
|
|
}
|
|
},
|
|
"ProductCustomAttribute": {
|
|
"id": "ProductCustomAttribute",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the attribute. Underscores will be replaced by spaces upon insertion."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of the attribute."
|
|
},
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The value of the attribute."
|
|
}
|
|
}
|
|
},
|
|
"ProductCustomGroup": {
|
|
"id": "ProductCustomGroup",
|
|
"type": "object",
|
|
"properties": {
|
|
"attributes": {
|
|
"type": "array",
|
|
"description": "The sub-attributes.",
|
|
"items": {
|
|
"$ref": "ProductCustomAttribute"
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the group. Underscores will be replaced by spaces upon insertion."
|
|
}
|
|
}
|
|
},
|
|
"ProductDestination": {
|
|
"id": "ProductDestination",
|
|
"type": "object",
|
|
"properties": {
|
|
"destinationName": {
|
|
"type": "string",
|
|
"description": "The name of the destination."
|
|
},
|
|
"intention": {
|
|
"type": "string",
|
|
"description": "Whether the destination is required, excluded or should be validated."
|
|
}
|
|
}
|
|
},
|
|
"ProductShipping": {
|
|
"id": "ProductShipping",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code of the country to which an item will ship."
|
|
},
|
|
"locationGroupName": {
|
|
"type": "string",
|
|
"description": "The location where the shipping is applicable, represented by a location group name."
|
|
},
|
|
"locationId": {
|
|
"type": "string",
|
|
"description": "The numeric id of a location that the shipping rate applies to as defined in the AdWords API.",
|
|
"format": "int64"
|
|
},
|
|
"postalCode": {
|
|
"type": "string",
|
|
"description": "The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length."
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "Fixed shipping price, represented as a number."
|
|
},
|
|
"region": {
|
|
"type": "string",
|
|
"description": "The geographic region to which a shipping rate applies."
|
|
},
|
|
"service": {
|
|
"type": "string",
|
|
"description": "A free-form description of the service class or delivery speed."
|
|
}
|
|
}
|
|
},
|
|
"ProductShippingDimension": {
|
|
"id": "ProductShippingDimension",
|
|
"type": "object",
|
|
"properties": {
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "The unit of value.\n\nAcceptable values are: \n- \"cm\" \n- \"in\""
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"description": "The dimension of the product used to calculate the shipping cost of the item.",
|
|
"format": "double"
|
|
}
|
|
}
|
|
},
|
|
"ProductShippingWeight": {
|
|
"id": "ProductShippingWeight",
|
|
"type": "object",
|
|
"properties": {
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "The unit of value."
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"description": "The weight of the product used to calculate the shipping cost of the item.",
|
|
"format": "double"
|
|
}
|
|
}
|
|
},
|
|
"ProductStatus": {
|
|
"id": "ProductStatus",
|
|
"type": "object",
|
|
"description": "The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.",
|
|
"properties": {
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item has been created, in ISO 8601 format."
|
|
},
|
|
"dataQualityIssues": {
|
|
"type": "array",
|
|
"description": "A list of data quality issues associated with the product.",
|
|
"items": {
|
|
"$ref": "ProductStatusDataQualityIssue"
|
|
}
|
|
},
|
|
"destinationStatuses": {
|
|
"type": "array",
|
|
"description": "The intended destinations for the product.",
|
|
"items": {
|
|
"$ref": "ProductStatusDestinationStatus"
|
|
}
|
|
},
|
|
"googleExpirationDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item expires in Google Shopping, in ISO 8601 format."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productStatus\".",
|
|
"default": "content#productStatus"
|
|
},
|
|
"lastUpdateDate": {
|
|
"type": "string",
|
|
"description": "Date on which the item has been last updated, in ISO 8601 format."
|
|
},
|
|
"link": {
|
|
"type": "string",
|
|
"description": "The link to the product."
|
|
},
|
|
"product": {
|
|
"$ref": "Product",
|
|
"description": "Product data after applying all the join inputs."
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The id of the product for which status is reported."
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "The title of the product."
|
|
}
|
|
}
|
|
},
|
|
"ProductStatusDataQualityIssue": {
|
|
"id": "ProductStatusDataQualityIssue",
|
|
"type": "object",
|
|
"properties": {
|
|
"detail": {
|
|
"type": "string",
|
|
"description": "A more detailed error string."
|
|
},
|
|
"fetchStatus": {
|
|
"type": "string",
|
|
"description": "The fetch status for landing_page_errors."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The id of the data quality issue."
|
|
},
|
|
"location": {
|
|
"type": "string",
|
|
"description": "The attribute name that is relevant for the issue."
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"description": "The severity of the data quality issue."
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"description": "The time stamp of the data quality issue."
|
|
},
|
|
"valueOnLandingPage": {
|
|
"type": "string",
|
|
"description": "The value of that attribute that was found on the landing page"
|
|
},
|
|
"valueProvided": {
|
|
"type": "string",
|
|
"description": "The value the attribute had at time of evaluation."
|
|
}
|
|
}
|
|
},
|
|
"ProductStatusDestinationStatus": {
|
|
"id": "ProductStatusDestinationStatus",
|
|
"type": "object",
|
|
"properties": {
|
|
"approvalStatus": {
|
|
"type": "string",
|
|
"description": "The destination's approval status."
|
|
},
|
|
"destination": {
|
|
"type": "string",
|
|
"description": "The name of the destination"
|
|
},
|
|
"intention": {
|
|
"type": "string",
|
|
"description": "Whether the destination is required, excluded, selected by default or should be validated."
|
|
}
|
|
}
|
|
},
|
|
"ProductTax": {
|
|
"id": "ProductTax",
|
|
"type": "object",
|
|
"properties": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The country within which the item is taxed, specified as a CLDR territory code."
|
|
},
|
|
"locationId": {
|
|
"type": "string",
|
|
"description": "The numeric id of a location that the tax rate applies to as defined in the AdWords API.",
|
|
"format": "int64"
|
|
},
|
|
"postalCode": {
|
|
"type": "string",
|
|
"description": "The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*."
|
|
},
|
|
"rate": {
|
|
"type": "number",
|
|
"description": "The percentage of tax rate that applies to the item price.",
|
|
"format": "double"
|
|
},
|
|
"region": {
|
|
"type": "string",
|
|
"description": "The geographic region to which the tax rate applies."
|
|
},
|
|
"taxShip": {
|
|
"type": "boolean",
|
|
"description": "Set to true if tax is charged on shipping."
|
|
}
|
|
}
|
|
},
|
|
"ProductUnitPricingBaseMeasure": {
|
|
"id": "ProductUnitPricingBaseMeasure",
|
|
"type": "object",
|
|
"properties": {
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "The unit of the denominator."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The denominator of the unit price.",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"ProductUnitPricingMeasure": {
|
|
"id": "ProductUnitPricingMeasure",
|
|
"type": "object",
|
|
"properties": {
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "The unit of the measure."
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"description": "The measure of an item.",
|
|
"format": "double"
|
|
}
|
|
}
|
|
},
|
|
"ProductsCustomBatchRequest": {
|
|
"id": "ProductsCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "ProductsCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ProductsCustomBatchRequestEntry": {
|
|
"id": "ProductsCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch products request.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
},
|
|
"product": {
|
|
"$ref": "Product",
|
|
"description": "The product to insert. Only required if the method is insert."
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product to get or delete. Only defined if the method is get or delete."
|
|
}
|
|
}
|
|
},
|
|
"ProductsCustomBatchResponse": {
|
|
"id": "ProductsCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "ProductsCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsCustomBatchResponse\".",
|
|
"default": "content#productsCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"ProductsCustomBatchResponseEntry": {
|
|
"id": "ProductsCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch products response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if and only if the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsCustomBatchResponseEntry\".",
|
|
"default": "content#productsCustomBatchResponseEntry"
|
|
},
|
|
"product": {
|
|
"$ref": "Product",
|
|
"description": "The inserted product. Only defined if the method is insert and if the request was successful."
|
|
}
|
|
}
|
|
},
|
|
"ProductsListResponse": {
|
|
"id": "ProductsListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productsListResponse\".",
|
|
"default": "content#productsListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of products."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "Product"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ProductstatusesCustomBatchRequest": {
|
|
"id": "ProductstatusesCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "ProductstatusesCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ProductstatusesCustomBatchRequestEntry": {
|
|
"id": "ProductstatusesCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch productstatuses request.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"includeAttributes": {
|
|
"type": "boolean"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product whose status to get."
|
|
}
|
|
}
|
|
},
|
|
"ProductstatusesCustomBatchResponse": {
|
|
"id": "ProductstatusesCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "ProductstatusesCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesCustomBatchResponse\".",
|
|
"default": "content#productstatusesCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"ProductstatusesCustomBatchResponseEntry": {
|
|
"id": "ProductstatusesCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch productstatuses response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry this entry responds to.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors, if the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesCustomBatchResponseEntry\".",
|
|
"default": "content#productstatusesCustomBatchResponseEntry"
|
|
},
|
|
"productStatus": {
|
|
"$ref": "ProductStatus",
|
|
"description": "The requested product status. Only defined if the request was successful."
|
|
}
|
|
}
|
|
},
|
|
"ProductstatusesListResponse": {
|
|
"id": "ProductstatusesListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#productstatusesListResponse\".",
|
|
"default": "content#productstatusesListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of products statuses."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "ProductStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RateGroup": {
|
|
"id": "RateGroup",
|
|
"type": "object",
|
|
"properties": {
|
|
"applicableShippingLabels": {
|
|
"type": "array",
|
|
"description": "A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"carrierRates": {
|
|
"type": "array",
|
|
"description": "A list of carrier rates that can be referred to by mainTable or singleValue.",
|
|
"items": {
|
|
"$ref": "CarrierRate"
|
|
}
|
|
},
|
|
"mainTable": {
|
|
"$ref": "Table",
|
|
"description": "A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set."
|
|
},
|
|
"singleValue": {
|
|
"$ref": "Value",
|
|
"description": "The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set."
|
|
},
|
|
"subtables": {
|
|
"type": "array",
|
|
"description": "A list of subtables referred to by mainTable. Can only be set if mainTable is set.",
|
|
"items": {
|
|
"$ref": "Table"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Row": {
|
|
"id": "Row",
|
|
"type": "object",
|
|
"properties": {
|
|
"cells": {
|
|
"type": "array",
|
|
"description": "The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
|
|
"items": {
|
|
"$ref": "Value"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Service": {
|
|
"id": "Service",
|
|
"type": "object",
|
|
"properties": {
|
|
"active": {
|
|
"type": "boolean",
|
|
"description": "A boolean exposing the active status of the shipping service. Required."
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"description": "The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups."
|
|
},
|
|
"deliveryCountry": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code of the country to which the service applies. Required."
|
|
},
|
|
"deliveryTime": {
|
|
"$ref": "DeliveryTime",
|
|
"description": "Time spent in various aspects from order to the delivery of the product. Required."
|
|
},
|
|
"minimumOrderValue": {
|
|
"$ref": "Price",
|
|
"description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Free-form name of the service. Must be unique within target account. Required."
|
|
},
|
|
"rateGroups": {
|
|
"type": "array",
|
|
"description": "Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means \"everything else\". The other applicableShippingLabels must not overlap.",
|
|
"items": {
|
|
"$ref": "RateGroup"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ShippingSettings": {
|
|
"id": "ShippingSettings",
|
|
"type": "object",
|
|
"description": "The merchant account's shipping settings.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses.",
|
|
"format": "uint64"
|
|
},
|
|
"postalCodeGroups": {
|
|
"type": "array",
|
|
"description": "A list of postal code groups that can be referred to in services. Optional.",
|
|
"items": {
|
|
"$ref": "PostalCodeGroup"
|
|
}
|
|
},
|
|
"services": {
|
|
"type": "array",
|
|
"description": "The target account's list of services. Optional.",
|
|
"items": {
|
|
"$ref": "Service"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsCustomBatchRequest": {
|
|
"id": "ShippingsettingsCustomBatchRequest",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The request entries to be processed in the batch.",
|
|
"items": {
|
|
"$ref": "ShippingsettingsCustomBatchRequestEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsCustomBatchRequestEntry": {
|
|
"id": "ShippingsettingsCustomBatchRequestEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch shippingsettings request.",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update account shipping settings.",
|
|
"format": "uint64"
|
|
},
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "An entry ID, unique within the batch request.",
|
|
"format": "uint32"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"format": "uint64"
|
|
},
|
|
"method": {
|
|
"type": "string"
|
|
},
|
|
"shippingSettings": {
|
|
"$ref": "ShippingSettings",
|
|
"description": "The account shipping settings to update. Only defined if the method is update."
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsCustomBatchResponse": {
|
|
"id": "ShippingsettingsCustomBatchResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"description": "The result of the execution of the batch requests.",
|
|
"items": {
|
|
"$ref": "ShippingsettingsCustomBatchResponseEntry"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsCustomBatchResponse\".",
|
|
"default": "content#shippingsettingsCustomBatchResponse"
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsCustomBatchResponseEntry": {
|
|
"id": "ShippingsettingsCustomBatchResponseEntry",
|
|
"type": "object",
|
|
"description": "A batch entry encoding a single non-batch shipping settings response.",
|
|
"properties": {
|
|
"batchId": {
|
|
"type": "integer",
|
|
"description": "The ID of the request entry to which this entry responds.",
|
|
"format": "uint32"
|
|
},
|
|
"errors": {
|
|
"$ref": "Errors",
|
|
"description": "A list of errors defined if, and only if, the request failed."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsCustomBatchResponseEntry\".",
|
|
"default": "content#shippingsettingsCustomBatchResponseEntry"
|
|
},
|
|
"shippingSettings": {
|
|
"$ref": "ShippingSettings",
|
|
"description": "The retrieved or updated account shipping settings."
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsGetSupportedCarriersResponse": {
|
|
"id": "ShippingsettingsGetSupportedCarriersResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"carriers": {
|
|
"type": "array",
|
|
"description": "A list of supported carriers. May be empty.",
|
|
"items": {
|
|
"$ref": "CarriersCarrier"
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsGetSupportedCarriersResponse\".",
|
|
"default": "content#shippingsettingsGetSupportedCarriersResponse"
|
|
}
|
|
}
|
|
},
|
|
"ShippingsettingsListResponse": {
|
|
"id": "ShippingsettingsListResponse",
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#shippingsettingsListResponse\".",
|
|
"default": "content#shippingsettingsListResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "The token for the retrieval of the next page of shipping settings."
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "ShippingSettings"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Table": {
|
|
"id": "Table",
|
|
"type": "object",
|
|
"properties": {
|
|
"columnHeaders": {
|
|
"$ref": "Headers",
|
|
"description": "Headers of the table's columns. Optional: if not set then the table has only one dimension."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the table. Required for subtables, ignored for the main table."
|
|
},
|
|
"rowHeaders": {
|
|
"$ref": "Headers",
|
|
"description": "Headers of the table's rows. Required."
|
|
},
|
|
"rows": {
|
|
"type": "array",
|
|
"description": "The list of rows that constitute the table. Must have the same length as rowHeaders. Required.",
|
|
"items": {
|
|
"$ref": "Row"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TestOrder": {
|
|
"id": "TestOrder",
|
|
"type": "object",
|
|
"properties": {
|
|
"customer": {
|
|
"$ref": "TestOrderCustomer",
|
|
"description": "The details of the customer who placed the order.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#testOrder\".",
|
|
"default": "content#testOrder"
|
|
},
|
|
"lineItems": {
|
|
"type": "array",
|
|
"description": "Line items that are ordered. At least one line item must be provided.",
|
|
"items": {
|
|
"$ref": "TestOrderLineItem"
|
|
},
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"paymentMethod": {
|
|
"$ref": "TestOrderPaymentMethod",
|
|
"description": "The details of the payment method."
|
|
},
|
|
"predefinedDeliveryAddress": {
|
|
"type": "string",
|
|
"description": "Identifier of one of the predefined delivery addresses for the delivery.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"promotions": {
|
|
"type": "array",
|
|
"description": "The details of the merchant provided promotions applied to the order. More details about the program are here.",
|
|
"items": {
|
|
"$ref": "OrderPromotion"
|
|
}
|
|
},
|
|
"shippingCost": {
|
|
"$ref": "Price",
|
|
"description": "The total cost of shipping for all items.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"shippingCostTax": {
|
|
"$ref": "Price",
|
|
"description": "The tax for the total shipping cost.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"shippingOption": {
|
|
"type": "string",
|
|
"description": "The requested shipping option.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TestOrderCustomer": {
|
|
"id": "TestOrderCustomer",
|
|
"type": "object",
|
|
"properties": {
|
|
"email": {
|
|
"type": "string",
|
|
"description": "Email address of the customer.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"explicitMarketingPreference": {
|
|
"type": "boolean",
|
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. Optional."
|
|
},
|
|
"fullName": {
|
|
"type": "string",
|
|
"description": "Full name of the customer."
|
|
}
|
|
}
|
|
},
|
|
"TestOrderLineItem": {
|
|
"id": "TestOrderLineItem",
|
|
"type": "object",
|
|
"properties": {
|
|
"product": {
|
|
"$ref": "TestOrderLineItemProduct",
|
|
"description": "Product data from the time of the order placement."
|
|
},
|
|
"quantityOrdered": {
|
|
"type": "integer",
|
|
"description": "Number of items ordered.",
|
|
"format": "uint32",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"returnInfo": {
|
|
"$ref": "OrderLineItemReturnInfo",
|
|
"description": "Details of the return policy for the line item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"shippingDetails": {
|
|
"$ref": "OrderLineItemShippingDetails",
|
|
"description": "Details of the requested shipping for the line item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"unitTax": {
|
|
"$ref": "Price",
|
|
"description": "Unit tax for the line item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TestOrderLineItemProduct": {
|
|
"id": "TestOrderLineItemProduct",
|
|
"type": "object",
|
|
"properties": {
|
|
"brand": {
|
|
"type": "string",
|
|
"description": "Brand of the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "The item's channel.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"condition": {
|
|
"type": "string",
|
|
"description": "Condition or state of the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"contentLanguage": {
|
|
"type": "string",
|
|
"description": "The two-letter ISO 639-1 language code for the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"gtin": {
|
|
"type": "string",
|
|
"description": "Global Trade Item Number (GTIN) of the item. Optional."
|
|
},
|
|
"imageLink": {
|
|
"type": "string",
|
|
"description": "URL of an image of the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"itemGroupId": {
|
|
"type": "string",
|
|
"description": "Shared identifier for all variants of the same product. Optional."
|
|
},
|
|
"mpn": {
|
|
"type": "string",
|
|
"description": "Manufacturer Part Number (MPN) of the item. Optional."
|
|
},
|
|
"offerId": {
|
|
"type": "string",
|
|
"description": "An identifier of the item.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"price": {
|
|
"$ref": "Price",
|
|
"description": "The price for the product.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"targetCountry": {
|
|
"type": "string",
|
|
"description": "The CLDR territory code of the target country of the product.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "The title of the product.",
|
|
"annotations": {
|
|
"required": [
|
|
"content.orders.createtestorder"
|
|
]
|
|
}
|
|
},
|
|
"variantAttributes": {
|
|
"type": "array",
|
|
"description": "Variant attributes for the item. Optional.",
|
|
"items": {
|
|
"$ref": "OrderLineItemProductVariantAttribute"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TestOrderPaymentMethod": {
|
|
"id": "TestOrderPaymentMethod",
|
|
"type": "object",
|
|
"properties": {
|
|
"expirationMonth": {
|
|
"type": "integer",
|
|
"description": "The card expiration month (January = 1, February = 2 etc.).",
|
|
"format": "int32"
|
|
},
|
|
"expirationYear": {
|
|
"type": "integer",
|
|
"description": "The card expiration year (4-digit, e.g. 2015).",
|
|
"format": "int32"
|
|
},
|
|
"lastFourDigits": {
|
|
"type": "string",
|
|
"description": "The last four digits of the card number."
|
|
},
|
|
"predefinedBillingAddress": {
|
|
"type": "string",
|
|
"description": "The billing address."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder."
|
|
}
|
|
}
|
|
},
|
|
"Value": {
|
|
"id": "Value",
|
|
"type": "object",
|
|
"description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, subtableName must be set.",
|
|
"properties": {
|
|
"carrierRateName": {
|
|
"type": "string",
|
|
"description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set."
|
|
},
|
|
"flatRate": {
|
|
"$ref": "Price",
|
|
"description": "A flat rate. Can only be set if all other fields are not set."
|
|
},
|
|
"noShipping": {
|
|
"type": "boolean",
|
|
"description": "If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set."
|
|
},
|
|
"pricePercentage": {
|
|
"type": "string",
|
|
"description": "A percentage of the price represented as a number in decimal notation (e.g., \"5.4\"). Can only be set if all other fields are not set."
|
|
},
|
|
"subtableName": {
|
|
"type": "string",
|
|
"description": "The name of a subtable. Can only be set in table cells (i.e., not for single values), and only if all other fields are not set."
|
|
}
|
|
}
|
|
},
|
|
"Weight": {
|
|
"id": "Weight",
|
|
"type": "object",
|
|
"properties": {
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "The weight unit."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The weight represented as a number."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"accounts": {
|
|
"methods": {
|
|
"authinfo": {
|
|
"id": "content.accounts.authinfo",
|
|
"path": "accounts/authinfo",
|
|
"httpMethod": "GET",
|
|
"description": "Returns information about the authenticated user.",
|
|
"response": {
|
|
"$ref": "AccountsAuthInfoResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"claimwebsite": {
|
|
"id": "content.accounts.claimwebsite",
|
|
"path": "{merchantId}/accounts/{accountId}/claimwebsite",
|
|
"httpMethod": "POST",
|
|
"description": "Claims the website of a Merchant Center sub-account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account whose website is claimed.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"overwrite": {
|
|
"type": "boolean",
|
|
"description": "Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccountsClaimWebsiteResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"custombatch": {
|
|
"id": "content.accounts.custombatch",
|
|
"path": "accounts/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "AccountsCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "AccountsCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"delete": {
|
|
"id": "content.accounts.delete",
|
|
"path": "{merchantId}/accounts/{accountId}",
|
|
"httpMethod": "DELETE",
|
|
"description": "Deletes a Merchant Center sub-account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"force": {
|
|
"type": "boolean",
|
|
"description": "Flag to delete sub-accounts with products. The default value is false.",
|
|
"default": "false",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.accounts.get",
|
|
"path": "{merchantId}/accounts/{accountId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"response": {
|
|
"$ref": "Account"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"insert": {
|
|
"id": "content.accounts.insert",
|
|
"path": "{merchantId}/accounts",
|
|
"httpMethod": "POST",
|
|
"description": "Creates a Merchant Center sub-account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"request": {
|
|
"$ref": "Account"
|
|
},
|
|
"response": {
|
|
"$ref": "Account"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.accounts.list",
|
|
"path": "{merchantId}/accounts",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of accounts to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccountsListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"patch": {
|
|
"id": "content.accounts.patch",
|
|
"path": "{merchantId}/accounts/{accountId}",
|
|
"httpMethod": "PATCH",
|
|
"description": "Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "Account"
|
|
},
|
|
"response": {
|
|
"$ref": "Account"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"update": {
|
|
"id": "content.accounts.update",
|
|
"path": "{merchantId}/accounts/{accountId}",
|
|
"httpMethod": "PUT",
|
|
"description": "Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "Account"
|
|
},
|
|
"response": {
|
|
"$ref": "Account"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"accountstatuses": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.accountstatuses.custombatch",
|
|
"path": "accountstatuses/batch",
|
|
"httpMethod": "POST",
|
|
"request": {
|
|
"$ref": "AccountstatusesCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "AccountstatusesCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.accountstatuses.get",
|
|
"path": "{merchantId}/accountstatuses/{accountId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccountStatus"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.accountstatuses.list",
|
|
"path": "{merchantId}/accountstatuses",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of account statuses to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccountstatusesListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"accounttax": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.accounttax.custombatch",
|
|
"path": "accounttax/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Retrieves and updates tax settings of multiple accounts in a single request.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "AccounttaxCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "AccounttaxCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.accounttax.get",
|
|
"path": "{merchantId}/accounttax/{accountId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update account tax settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccountTax"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.accounttax.list",
|
|
"path": "{merchantId}/accounttax",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the tax settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of tax settings to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "AccounttaxListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"patch": {
|
|
"id": "content.accounttax.patch",
|
|
"path": "{merchantId}/accounttax/{accountId}",
|
|
"httpMethod": "PATCH",
|
|
"description": "Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update account tax settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "AccountTax"
|
|
},
|
|
"response": {
|
|
"$ref": "AccountTax"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"update": {
|
|
"id": "content.accounttax.update",
|
|
"path": "{merchantId}/accounttax/{accountId}",
|
|
"httpMethod": "PUT",
|
|
"description": "Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update account tax settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "AccountTax"
|
|
},
|
|
"response": {
|
|
"$ref": "AccountTax"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"datafeeds": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.datafeeds.custombatch",
|
|
"path": "datafeeds/batch",
|
|
"httpMethod": "POST",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "DatafeedsCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "DatafeedsCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"delete": {
|
|
"id": "content.datafeeds.delete",
|
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
|
"httpMethod": "DELETE",
|
|
"description": "Deletes a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"datafeedId"
|
|
],
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.datafeeds.get",
|
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"datafeedId"
|
|
],
|
|
"response": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"insert": {
|
|
"id": "content.datafeeds.insert",
|
|
"path": "{merchantId}/datafeeds",
|
|
"httpMethod": "POST",
|
|
"description": "Registers a datafeed configuration with your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"request": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"response": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.datafeeds.list",
|
|
"path": "{merchantId}/datafeeds",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of products to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "DatafeedsListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"patch": {
|
|
"id": "content.datafeeds.patch",
|
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
|
"httpMethod": "PATCH",
|
|
"description": "Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. This method supports patch semantics.",
|
|
"parameters": {
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"datafeedId"
|
|
],
|
|
"request": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"response": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"update": {
|
|
"id": "content.datafeeds.update",
|
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
|
"httpMethod": "PUT",
|
|
"description": "Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"datafeedId"
|
|
],
|
|
"request": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"response": {
|
|
"$ref": "Datafeed"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"datafeedstatuses": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.datafeedstatuses.custombatch",
|
|
"path": "datafeedstatuses/batch",
|
|
"httpMethod": "POST",
|
|
"request": {
|
|
"$ref": "DatafeedstatusesCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "DatafeedstatusesCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.datafeedstatuses.get",
|
|
"path": "{merchantId}/datafeedstatuses/{datafeedId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"country": {
|
|
"type": "string",
|
|
"description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
|
"location": "query"
|
|
},
|
|
"datafeedId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"datafeedId"
|
|
],
|
|
"response": {
|
|
"$ref": "DatafeedStatus"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.datafeedstatuses.list",
|
|
"path": "{merchantId}/datafeedstatuses",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the statuses of the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of products to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "DatafeedstatusesListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"inventory": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.inventory.custombatch",
|
|
"path": "inventory/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "InventoryCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "InventoryCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"set": {
|
|
"id": "content.inventory.set",
|
|
"path": "{merchantId}/inventory/{storeCode}/products/{productId}",
|
|
"httpMethod": "POST",
|
|
"description": "Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product for which to update price and availability.",
|
|
"required": true,
|
|
"location": "path"
|
|
},
|
|
"storeCode": {
|
|
"type": "string",
|
|
"description": "The code of the store for which to update price and availability. Use online to update price and availability of an online product.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"storeCode",
|
|
"productId"
|
|
],
|
|
"request": {
|
|
"$ref": "InventorySetRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "InventorySetResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"orders": {
|
|
"methods": {
|
|
"acknowledge": {
|
|
"id": "content.orders.acknowledge",
|
|
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
|
"httpMethod": "POST",
|
|
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersAcknowledgeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersAcknowledgeResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"advancetestorder": {
|
|
"id": "content.orders.advancetestorder",
|
|
"path": "{merchantId}/testorders/{orderId}/advance",
|
|
"httpMethod": "POST",
|
|
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the test order to modify.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"response": {
|
|
"$ref": "OrdersAdvanceTestOrderResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"cancel": {
|
|
"id": "content.orders.cancel",
|
|
"path": "{merchantId}/orders/{orderId}/cancel",
|
|
"httpMethod": "POST",
|
|
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order to cancel.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersCancelRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersCancelResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"cancellineitem": {
|
|
"id": "content.orders.cancellineitem",
|
|
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
|
"httpMethod": "POST",
|
|
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersCancelLineItemRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersCancelLineItemResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"createtestorder": {
|
|
"id": "content.orders.createtestorder",
|
|
"path": "{merchantId}/testorders",
|
|
"httpMethod": "POST",
|
|
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersCreateTestOrderRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersCreateTestOrderResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"custombatch": {
|
|
"id": "content.orders.custombatch",
|
|
"path": "orders/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
|
"request": {
|
|
"$ref": "OrdersCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.orders.get",
|
|
"path": "{merchantId}/orders/{orderId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"response": {
|
|
"$ref": "Order"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"getbymerchantorderid": {
|
|
"id": "content.orders.getbymerchantorderid",
|
|
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantOrderId": {
|
|
"type": "string",
|
|
"description": "The merchant order id to be looked for.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"merchantOrderId"
|
|
],
|
|
"response": {
|
|
"$ref": "OrdersGetByMerchantOrderIdResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"gettestordertemplate": {
|
|
"id": "content.orders.gettestordertemplate",
|
|
"path": "{merchantId}/testordertemplates/{templateName}",
|
|
"httpMethod": "GET",
|
|
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"templateName": {
|
|
"type": "string",
|
|
"description": "The name of the template to retrieve.",
|
|
"required": true,
|
|
"enum": [
|
|
"template1",
|
|
"template1a",
|
|
"template1b",
|
|
"template2"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"templateName"
|
|
],
|
|
"response": {
|
|
"$ref": "OrdersGetTestOrderTemplateResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.orders.list",
|
|
"path": "{merchantId}/orders",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"acknowledged": {
|
|
"type": "boolean",
|
|
"description": "Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that have not been acknowledged.\nWe recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned.",
|
|
"location": "query"
|
|
},
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 orders per page.\nKnown issue: All List calls will return all Orders without limit regardless of the value of this field.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderBy": {
|
|
"type": "string",
|
|
"description": "The ordering of the returned list. The only supported value are placedDate desc and placedDate asc for now, which returns orders sorted by placement date. \"placedDate desc\" stands for listing orders by placement date, from oldest to most recent. \"placedDate asc\" stands for listing orders by placement date, from most recent to oldest. In future releases we'll support other sorting criteria.",
|
|
"enum": [
|
|
"placedDate asc",
|
|
"placedDate desc"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"location": "query"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
},
|
|
"placedDateEnd": {
|
|
"type": "string",
|
|
"description": "Obtains orders placed before this date (exclusively), in ISO 8601 format.",
|
|
"location": "query"
|
|
},
|
|
"placedDateStart": {
|
|
"type": "string",
|
|
"description": "Obtains orders placed after this date (inclusively), in ISO 8601 format.",
|
|
"location": "query"
|
|
},
|
|
"statuses": {
|
|
"type": "string",
|
|
"description": "Obtains orders that match any of the specified statuses. Multiple values can be specified with comma separation. Additionally, please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and canceled.",
|
|
"enum": [
|
|
"active",
|
|
"canceled",
|
|
"completed",
|
|
"delivered",
|
|
"inProgress",
|
|
"partiallyDelivered",
|
|
"partiallyReturned",
|
|
"partiallyShipped",
|
|
"pendingShipment",
|
|
"returned",
|
|
"shipped"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"repeated": true,
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "OrdersListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"refund": {
|
|
"id": "content.orders.refund",
|
|
"path": "{merchantId}/orders/{orderId}/refund",
|
|
"httpMethod": "POST",
|
|
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order to refund.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersRefundRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersRefundResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"returnlineitem": {
|
|
"id": "content.orders.returnlineitem",
|
|
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
|
"httpMethod": "POST",
|
|
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersReturnLineItemRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersReturnLineItemResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"shiplineitems": {
|
|
"id": "content.orders.shiplineitems",
|
|
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
|
"httpMethod": "POST",
|
|
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersShipLineItemsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersShipLineItemsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"updatemerchantorderid": {
|
|
"id": "content.orders.updatemerchantorderid",
|
|
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
|
"httpMethod": "POST",
|
|
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersUpdateMerchantOrderIdRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersUpdateMerchantOrderIdResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"updateshipment": {
|
|
"id": "content.orders.updateshipment",
|
|
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
|
"httpMethod": "POST",
|
|
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"orderId": {
|
|
"type": "string",
|
|
"description": "The ID of the order.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"orderId"
|
|
],
|
|
"request": {
|
|
"$ref": "OrdersUpdateShipmentRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "OrdersUpdateShipmentResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"products": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.products.custombatch",
|
|
"path": "products/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Retrieves, inserts, and deletes multiple products in a single request. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "ProductsCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "ProductsCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"delete": {
|
|
"id": "content.products.delete",
|
|
"path": "{merchantId}/products/{productId}",
|
|
"httpMethod": "DELETE",
|
|
"description": "Deletes a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"productId"
|
|
],
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.products.get",
|
|
"path": "{merchantId}/products/{productId}",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"productId"
|
|
],
|
|
"response": {
|
|
"$ref": "Product"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"insert": {
|
|
"id": "content.products.insert",
|
|
"path": "{merchantId}/products",
|
|
"httpMethod": "POST",
|
|
"description": "Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"request": {
|
|
"$ref": "Product"
|
|
},
|
|
"response": {
|
|
"$ref": "Product"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.products.list",
|
|
"path": "{merchantId}/products",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the products in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"includeInvalidInsertedItems": {
|
|
"type": "boolean",
|
|
"description": "Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).",
|
|
"location": "query"
|
|
},
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of products to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "ProductsListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"productstatuses": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.productstatuses.custombatch",
|
|
"path": "productstatuses/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"includeAttributes": {
|
|
"type": "boolean",
|
|
"description": "Flag to include full product data in the results of this request. The default value is false.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "ProductstatusesCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "ProductstatusesCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.productstatuses.get",
|
|
"path": "{merchantId}/productstatuses/{productId}",
|
|
"httpMethod": "GET",
|
|
"description": "Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"includeAttributes": {
|
|
"type": "boolean",
|
|
"description": "Flag to include full product data in the result of this get request. The default value is false.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "The ID of the product.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"productId"
|
|
],
|
|
"response": {
|
|
"$ref": "ProductStatus"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.productstatuses.list",
|
|
"path": "{merchantId}/productstatuses",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
|
"parameters": {
|
|
"includeAttributes": {
|
|
"type": "boolean",
|
|
"description": "Flag to include full product data in the results of the list request. The default value is false.",
|
|
"location": "query"
|
|
},
|
|
"includeInvalidInsertedItems": {
|
|
"type": "boolean",
|
|
"description": "Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).",
|
|
"location": "query"
|
|
},
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of product statuses to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "ProductstatusesListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"shippingsettings": {
|
|
"methods": {
|
|
"custombatch": {
|
|
"id": "content.shippingsettings.custombatch",
|
|
"path": "shippingsettings/batch",
|
|
"httpMethod": "POST",
|
|
"description": "Retrieves and updates the shipping settings of multiple accounts in a single request.",
|
|
"parameters": {
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"request": {
|
|
"$ref": "ShippingsettingsCustomBatchRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "ShippingsettingsCustomBatchResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"get": {
|
|
"id": "content.shippingsettings.get",
|
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
|
"httpMethod": "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 for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update shipping settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"response": {
|
|
"$ref": "ShippingSettings"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"getsupportedcarriers": {
|
|
"id": "content.shippingsettings.getsupportedcarriers",
|
|
"path": "{merchantId}/supportedCarriers",
|
|
"httpMethod": "GET",
|
|
"description": "Retrieves supported carriers and carrier services for an account.",
|
|
"parameters": {
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to retrieve the supported carriers.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "ShippingsettingsGetSupportedCarriersResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"list": {
|
|
"id": "content.shippingsettings.list",
|
|
"path": "{merchantId}/shippingsettings",
|
|
"httpMethod": "GET",
|
|
"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
|
"parameters": {
|
|
"maxResults": {
|
|
"type": "integer",
|
|
"description": "The maximum number of shipping settings to return in the response, used for paging.",
|
|
"format": "uint32",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The token returned by the previous request.",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId"
|
|
],
|
|
"response": {
|
|
"$ref": "ShippingsettingsListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"patch": {
|
|
"id": "content.shippingsettings.patch",
|
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
|
"httpMethod": "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 for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update shipping settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "ShippingSettings"
|
|
},
|
|
"response": {
|
|
"$ref": "ShippingSettings"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
},
|
|
"update": {
|
|
"id": "content.shippingsettings.update",
|
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
|
"httpMethod": "PUT",
|
|
"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 for any Merchant Center account, or any sub-account when the managing account is a multi-client account.",
|
|
"parameters": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "The ID of the account for which to get/update shipping settings.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
},
|
|
"dryRun": {
|
|
"type": "boolean",
|
|
"description": "Flag to run the request in dry-run mode.",
|
|
"location": "query"
|
|
},
|
|
"merchantId": {
|
|
"type": "string",
|
|
"description": "The ID of the managing account.",
|
|
"required": true,
|
|
"format": "uint64",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"merchantId",
|
|
"accountId"
|
|
],
|
|
"request": {
|
|
"$ref": "ShippingSettings"
|
|
},
|
|
"response": {
|
|
"$ref": "ShippingSettings"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/content"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|