|
537 | 537 | ]
|
538 | 538 | },
|
539 | 539 | "verifyphonenumber": {
|
540 |
| - "description": "Validates verification code to verify phone number for the account.", |
| 540 | + "description": "Validates verification code to verify phone number for the account. If successful this will overwrite the value of `accounts.businessinformation.phoneNumber`. Only verified phone number will replace an existing verified phone number.", |
541 | 541 | "flatPath": "{merchantId}/accounts/{accountId}/verifyphonenumber",
|
542 | 542 | "httpMethod": "POST",
|
543 | 543 | "id": "content.accounts.verifyphonenumber",
|
|
1120 | 1120 | "type": "string"
|
1121 | 1121 | },
|
1122 | 1122 | "regionCode": {
|
1123 |
| - "description": "The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1123 | + "description": "Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
1124 | 1124 | "location": "path",
|
1125 | 1125 | "required": true,
|
1126 | 1126 | "type": "string"
|
|
1152 | 1152 | "type": "string"
|
1153 | 1153 | },
|
1154 | 1154 | "regionCode": {
|
1155 |
| - "description": "The Program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1155 | + "description": "Required. The Program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
1156 | 1156 | "location": "path",
|
1157 | 1157 | "required": true,
|
1158 | 1158 | "type": "string"
|
|
1184 | 1184 | "type": "string"
|
1185 | 1185 | },
|
1186 | 1186 | "regionCode": {
|
1187 |
| - "description": "The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1187 | + "description": "Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
1188 | 1188 | "location": "path",
|
1189 | 1189 | "required": true,
|
1190 | 1190 | "type": "string"
|
|
1198 | 1198 | "https://www.googleapis.com/auth/content"
|
1199 | 1199 | ]
|
1200 | 1200 | },
|
| 1201 | + "patch": { |
| 1202 | + "description": "Updates the status of the BoG program for your Merchant Center account.", |
| 1203 | + "flatPath": "{merchantId}/buyongoogleprograms/{regionCode}", |
| 1204 | + "httpMethod": "PATCH", |
| 1205 | + "id": "content.buyongoogleprograms.patch", |
| 1206 | + "parameterOrder": [ |
| 1207 | + "merchantId", |
| 1208 | + "regionCode" |
| 1209 | + ], |
| 1210 | + "parameters": { |
| 1211 | + "merchantId": { |
| 1212 | + "description": "Required. The ID of the account.", |
| 1213 | + "format": "int64", |
| 1214 | + "location": "path", |
| 1215 | + "required": true, |
| 1216 | + "type": "string" |
| 1217 | + }, |
| 1218 | + "regionCode": { |
| 1219 | + "description": "Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1220 | + "location": "path", |
| 1221 | + "required": true, |
| 1222 | + "type": "string" |
| 1223 | + }, |
| 1224 | + "updateMask": { |
| 1225 | + "description": "The list of fields to update. If the update mask is not provided, then all the fields set in buyOnGoogleProgramStatus will be updated. Clearing fields is only possible if update mask is provided.", |
| 1226 | + "format": "google-fieldmask", |
| 1227 | + "location": "query", |
| 1228 | + "type": "string" |
| 1229 | + } |
| 1230 | + }, |
| 1231 | + "path": "{merchantId}/buyongoogleprograms/{regionCode}", |
| 1232 | + "request": { |
| 1233 | + "$ref": "BuyOnGoogleProgramStatus" |
| 1234 | + }, |
| 1235 | + "response": { |
| 1236 | + "$ref": "BuyOnGoogleProgramStatus" |
| 1237 | + }, |
| 1238 | + "scopes": [ |
| 1239 | + "https://www.googleapis.com/auth/content" |
| 1240 | + ] |
| 1241 | + }, |
1201 | 1242 | "pause": {
|
1202 | 1243 | "description": "Pauses the BoG program in your Merchant Center account. Important: This method is only whitelisted for selected merchants.",
|
1203 | 1244 | "flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/pause",
|
|
1216 | 1257 | "type": "string"
|
1217 | 1258 | },
|
1218 | 1259 | "regionCode": {
|
1219 |
| - "description": "The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1260 | + "description": "Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
1220 | 1261 | "location": "path",
|
1221 | 1262 | "required": true,
|
1222 | 1263 | "type": "string"
|
|
1248 | 1289 | "type": "string"
|
1249 | 1290 | },
|
1250 | 1291 | "regionCode": {
|
1251 |
| - "description": "The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
| 1292 | + "description": "Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Currently only US is available.", |
1252 | 1293 | "location": "path",
|
1253 | 1294 | "required": true,
|
1254 | 1295 | "type": "string"
|
|
5742 | 5783 | }
|
5743 | 5784 | }
|
5744 | 5785 | },
|
5745 |
| - "revision": "20210901", |
| 5786 | + "revision": "20210916", |
5746 | 5787 | "rootUrl": "https://shoppingcontent.googleapis.com/",
|
5747 | 5788 | "schemas": {
|
5748 | 5789 | "Account": {
|
|
5884 | 5925 | "$ref": "AccountCustomerService",
|
5885 | 5926 | "description": "The customer service information of the business."
|
5886 | 5927 | },
|
| 5928 | + "koreanBusinessRegistrationNumber": { |
| 5929 | + "description": "The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.", |
| 5930 | + "type": "string" |
| 5931 | + }, |
5887 | 5932 | "phoneNumber": {
|
5888 | 5933 | "description": "The phone number of the business.",
|
5889 | 5934 | "type": "string"
|
|
5908 | 5953 | "description": "Indicates to Google how Google should use these OAuth tokens.",
|
5909 | 5954 | "enum": [
|
5910 | 5955 | "ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED",
|
5911 |
| - "SHOPIFY_ORDER_MANAGEMENT" |
| 5956 | + "SHOPIFY_ORDER_MANAGEMENT", |
| 5957 | + "SHOPIFY_INTEGRATION" |
5912 | 5958 | ],
|
5913 | 5959 | "enumDescriptions": [
|
5914 | 5960 | "Unknown purpose.",
|
5915 |
| - "The credentials allow Google to manage Shopify orders on behalf of the merchant." |
| 5961 | + "The credentials allow Google to manage Shopify orders on behalf of the merchant (deprecated).", |
| 5962 | + "The credentials allow Google to manage Shopify integration on behalf of the merchant." |
5916 | 5963 | ],
|
5917 | 5964 | "type": "string"
|
5918 | 5965 | }
|
|
6811 | 6858 | "description": "Response message for the GetProgramStatus method.",
|
6812 | 6859 | "id": "BuyOnGoogleProgramStatus",
|
6813 | 6860 | "properties": {
|
| 6861 | + "businessModel": { |
| 6862 | + "description": "The business models in which merchant participates.", |
| 6863 | + "items": { |
| 6864 | + "enum": [ |
| 6865 | + "BUSINESS_MODEL_UNSPECIFIED", |
| 6866 | + "MANUFACTURER", |
| 6867 | + "IMPORTER", |
| 6868 | + "RESELLER", |
| 6869 | + "OTHER" |
| 6870 | + ], |
| 6871 | + "enumDescriptions": [ |
| 6872 | + "Default value when business model is not set.", |
| 6873 | + "Merchant is a manufacturer.", |
| 6874 | + "Merchant is an importer.", |
| 6875 | + "Merchant is a reseller.", |
| 6876 | + "Merchant has a different business model." |
| 6877 | + ], |
| 6878 | + "type": "string" |
| 6879 | + }, |
| 6880 | + "type": "array" |
| 6881 | + }, |
6814 | 6882 | "customerServicePendingEmail": {
|
6815 | 6883 | "description": "The customer service pending email. After verification this field becomes empty.",
|
6816 | 6884 | "type": "string"
|
6817 | 6885 | },
|
| 6886 | + "customerServicePendingPhoneNumber": { |
| 6887 | + "description": "The pending phone number specified for BuyOnGoogle program. It might be different than account level phone number. In order to update this field the customer_service_pending_phone_region_code must also be set. After verification this field becomes empty.", |
| 6888 | + "type": "string" |
| 6889 | + }, |
| 6890 | + "customerServicePendingPhoneRegionCode": { |
| 6891 | + "description": "Two letter country code for the pending phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes. In order to update this field the customer_service_pending_phone_number must also be set. After verification this field becomes empty.", |
| 6892 | + "type": "string" |
| 6893 | + }, |
6818 | 6894 | "customerServiceVerifiedEmail": {
|
6819 | 6895 | "description": "Output only. The customer service verified email.",
|
6820 | 6896 | "readOnly": true,
|
6821 | 6897 | "type": "string"
|
6822 | 6898 | },
|
| 6899 | + "customerServiceVerifiedPhoneNumber": { |
| 6900 | + "description": "Output only. The verified phone number specified for BuyOnGoogle program. It might be different than account level phone number.", |
| 6901 | + "readOnly": true, |
| 6902 | + "type": "string" |
| 6903 | + }, |
| 6904 | + "customerServiceVerifiedPhoneRegionCode": { |
| 6905 | + "description": "Output only. Two letter country code for the verified phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.", |
| 6906 | + "readOnly": true, |
| 6907 | + "type": "string" |
| 6908 | + }, |
| 6909 | + "onlineSalesChannel": { |
| 6910 | + "description": "The channels through which the merchant is selling.", |
| 6911 | + "enum": [ |
| 6912 | + "ONLINE_SALES_CHANNEL_UNSPECIFIED", |
| 6913 | + "GOOGLE_EXCLUSIVE", |
| 6914 | + "GOOGLE_AND_OTHER_WEBSITES" |
| 6915 | + ], |
| 6916 | + "enumDescriptions": [ |
| 6917 | + "Default value when online sales channel is not set.", |
| 6918 | + "Merchant is selling exclusively on Google.", |
| 6919 | + "Merchant is selling on Google and other websites." |
| 6920 | + ], |
| 6921 | + "type": "string" |
| 6922 | + }, |
6823 | 6923 | "participationStage": {
|
6824 | 6924 | "description": "Output only. The current participation stage for the program.",
|
6825 | 6925 | "enum": [
|
|
15706 | 15806 | "id": "VerifyPhoneNumberResponse",
|
15707 | 15807 | "properties": {
|
15708 | 15808 | "verifiedPhoneNumber": {
|
15709 |
| - "description": "Verified phone number if verification is successful.", |
| 15809 | + "description": "Verified phone number if verification is successful. This phone number can only be replaced by another verified phone number.", |
15710 | 15810 | "type": "string"
|
15711 | 15811 | }
|
15712 | 15812 | },
|
|
0 commit comments