Skip to content

Commit

Permalink
feat(content): update the API
Browse files Browse the repository at this point in the history
#### content:v2.1

The following keys were added:
- resources.accountsbyexternalsellerid.methods.get.description
- resources.accountsbyexternalsellerid.methods.get.flatPath
- resources.accountsbyexternalsellerid.methods.get.httpMethod
- resources.accountsbyexternalsellerid.methods.get.id
- resources.accountsbyexternalsellerid.methods.get.parameterOrder
- resources.accountsbyexternalsellerid.methods.get.parameters.externalSellerId.description
- resources.accountsbyexternalsellerid.methods.get.parameters.externalSellerId.location
- resources.accountsbyexternalsellerid.methods.get.parameters.externalSellerId.required
- resources.accountsbyexternalsellerid.methods.get.parameters.externalSellerId.type
- resources.accountsbyexternalsellerid.methods.get.parameters.merchantId.description
- resources.accountsbyexternalsellerid.methods.get.parameters.merchantId.format
- resources.accountsbyexternalsellerid.methods.get.parameters.merchantId.location
- resources.accountsbyexternalsellerid.methods.get.parameters.merchantId.required
- resources.accountsbyexternalsellerid.methods.get.parameters.merchantId.type
- resources.accountsbyexternalsellerid.methods.get.path
- resources.accountsbyexternalsellerid.methods.get.response.$ref
- resources.accountsbyexternalsellerid.methods.get.scopes
- resources.accountstatusesbyexternalsellerid.methods.get.description
- resources.accountstatusesbyexternalsellerid.methods.get.flatPath
- resources.accountstatusesbyexternalsellerid.methods.get.httpMethod
- resources.accountstatusesbyexternalsellerid.methods.get.id
- resources.accountstatusesbyexternalsellerid.methods.get.parameterOrder
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.destinations.description
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.destinations.location
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.destinations.repeated
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.destinations.type
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.externalSellerId.description
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.externalSellerId.location
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.externalSellerId.required
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.externalSellerId.type
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.merchantId.description
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.merchantId.format
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.merchantId.location
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.merchantId.required
- resources.accountstatusesbyexternalsellerid.methods.get.parameters.merchantId.type
- resources.accountstatusesbyexternalsellerid.methods.get.path
- resources.accountstatusesbyexternalsellerid.methods.get.response.$ref
- resources.accountstatusesbyexternalsellerid.methods.get.scopes

The following keys were changed:
- resources.buyongoogleprograms.methods.activate.description
- resources.buyongoogleprograms.methods.pause.description
- resources.buyongoogleprograms.methods.requestreview.description
- resources.freelistingsprogram.methods.requestreview.description
- resources.shoppingadsprogram.methods.requestreview.description
  • Loading branch information
yoshi-automation authored and bcoe committed Apr 11, 2022
1 parent 82b88cb commit 4464054
Show file tree
Hide file tree
Showing 2 changed files with 424 additions and 11 deletions.
90 changes: 84 additions & 6 deletions discovery/content-v2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,42 @@
}
}
},
"accountsbyexternalsellerid": {
"methods": {
"get": {
"description": "Gets data of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.",
"flatPath": "{merchantId}/accountsbyexternalsellerid/{externalSellerId}",
"httpMethod": "GET",
"id": "content.accountsbyexternalsellerid.get",
"parameterOrder": [
"merchantId",
"externalSellerId"
],
"parameters": {
"externalSellerId": {
"description": "Required. The External Seller ID of the seller account to be retrieved.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the MCA containing the seller.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accountsbyexternalsellerid/{externalSellerId}",
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"accountstatuses": {
"methods": {
"custombatch": {
Expand Down Expand Up @@ -973,6 +1009,48 @@
}
}
},
"accountstatusesbyexternalsellerid": {
"methods": {
"get": {
"description": "Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.",
"flatPath": "{merchantId}/accountstatusesbyexternalsellerid/{externalSellerId}",
"httpMethod": "GET",
"id": "content.accountstatusesbyexternalsellerid.get",
"parameterOrder": [
"merchantId",
"externalSellerId"
],
"parameters": {
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"location": "query",
"repeated": true,
"type": "string"
},
"externalSellerId": {
"description": "Required. The External Seller ID of the seller account to be retrieved.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the MCA containing the seller.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accountstatusesbyexternalsellerid/{externalSellerId}",
"response": {
"$ref": "AccountStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"accounttax": {
"methods": {
"custombatch": {
Expand Down Expand Up @@ -1103,7 +1181,7 @@
"buyongoogleprograms": {
"methods": {
"activate": {
"description": "Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, e.g. when paused. Important: This method is only whitelisted for selected merchants.",
"description": "Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.",
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/activate",
"httpMethod": "POST",
"id": "content.buyongoogleprograms.activate",
Expand Down Expand Up @@ -1240,7 +1318,7 @@
]
},
"pause": {
"description": "Pauses the BoG program in your Merchant Center account. Important: This method is only whitelisted for selected merchants.",
"description": "Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.",
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/pause",
"httpMethod": "POST",
"id": "content.buyongoogleprograms.pause",
Expand Down Expand Up @@ -1272,7 +1350,7 @@
]
},
"requestreview": {
"description": "Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. Important: This method is only whitelisted for selected merchants.",
"description": "Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. This method is only available to selected merchants.",
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/requestreview",
"httpMethod": "POST",
"id": "content.buyongoogleprograms.requestreview",
Expand Down Expand Up @@ -1962,7 +2040,7 @@
]
},
"requestreview": {
"description": "Requests a review of free listings in a specific region Important: This method is only whitelisted for selected merchants.",
"description": "Requests a review of free listings in a specific region. This method is only available to selected merchants.",
"flatPath": "{merchantId}/freelistingsprogram/requestreview",
"httpMethod": "POST",
"id": "content.freelistingsprogram.requestreview",
Expand Down Expand Up @@ -5788,7 +5866,7 @@
]
},
"requestreview": {
"description": "Requests a review of Shopping ads in a specific region.",
"description": "Requests a review of Shopping ads in a specific region. This method is only available to selected merchants.",
"flatPath": "{merchantId}/shoppingadsprogram/requestreview",
"httpMethod": "POST",
"id": "content.shoppingadsprogram.requestreview",
Expand All @@ -5815,7 +5893,7 @@
}
}
},
"revision": "20220325",
"revision": "20220331",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down

0 comments on commit 4464054

Please sign in to comment.