[null,null,["最后更新时间 (UTC):2025-08-13。"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and is now in beta.\u003c/p\u003e\n"],["\u003cp\u003ePhone number verification using \u003ccode\u003eaccounts.requestphoneverification\u003c/code\u003e and \u003ccode\u003eaccounts.verifyphonenumber\u003c/code\u003e is deprecated and will not be available in the Merchant API.\u003c/p\u003e\n"],["\u003cp\u003eMerchants should plan ahead and avoid using phone number verification as it may lead to account suspension with a \u003ccode\u003ePENDING_PHONE_VERIFICATION\u003c/code\u003e status.\u003c/p\u003e\n"],["\u003cp\u003eExisting phone verification processes will be replaced by the Merchant API's new methods.\u003c/p\u003e\n"]]],["The Merchant API's beta version is introduced, replacing the Content API for Shopping. Phone number verification, previously a recommended feature, is now deprecated. To verify a number, use `accounts.requestphoneverification` with region code, number, and method, receiving a `verificationId`. Then, use `accounts.verifyphonenumber`, entering the `verificationId`, a six-digit code, and method to get a verified number. The verification status is checked via `AccountBusinessInformation.phoneVerificationStatus`. Note: Initial requests expire after 15 minutes.\n"],null,["# Phone verification\n\n| **Deprecated:** Phone number verification is no longer required and we suggest that you don't use this feature. This feature won't be available in the Merchant API and we recommend that you plan ahead for this change.\n\nPhone verification consists of two\n[Accounts methods](/shopping-content/reference/rest/v2.1/accounts#methods)\nthat you can use to add and verify phone numbers for a merchant account.\nPhone numbers submitted through phone verification replace phone\nnumbers you may have submitted through\n[`accounts.AccountBusinessInformation`](/shopping-content/reference/rest/v2.1/accounts#AccountBusinessInformation).\n\nPhone verification is strongly recommended for all new and existing\nmerchants. Your account may otherwise be suspended with the [account\nstatus](/shopping-content/guides/accountstatuses)\nissue `PENDING_PHONE_VERIFICATION` until you verify a phone number.\n\nThere are two required steps to verify a phone number:\n\n1.\n\n Call [`accounts.requestphoneverification`](/shopping-content/reference/rest/v2.1/accounts/requestphoneverification) to start a phone verification request.\n : Enter your two-letter [region\n code](//wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_c%0Aode_elements).\n : Enter your phone number.\n : Choose a verification method (`SMS` or `PHONE_CALL`).\n2.\n\n Call [`accounts.verifyphonenumber`](/shopping-content/reference/rest/v2.1/accounts/verifyphonenumber) to verify the phone number.\n : Enter the `verificationId` from Step 1.\n : Enter the 6 digit `verificationCode` sent to your phone.\n : Enter the `phoneVerificationMethod` used.\n : This call returns a `verifiedPhoneNumber`. This phone number is now\n verified.\n\nYou can check the status of your account's phone verification in\n[`AccountBusinessInformation.phoneVerificationStatus`](#accountbusinessinformationphoneverificationstatus).\n\naccounts.requestphoneverification\n---------------------------------\n\nStart the phone number verification process by passing the\n[`phoneRegionCode`](//wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_ass%0Aigned_code_elements), `phoneNumber` and `phoneVerificationMethod` into\n[`accounts.requestphoneverification`](/shopping-content/reference/rest/v2.1/accounts/requestphoneverification).\nThis call returns a`verificationId`.\n\nYou can use the optional\n[`languageCode`](/shopping-content/reference/rest/v2.1/accounts/requestphoneverification#body.request_body.FIELDS.language_code)\nfield to verify in a language other than the default (US English).\n\nYou can try to verify the same phone number a maximum of five times every four\nhours. \n\n```text\nPOST https://www.googleapis.com/content/v2.1/merchantId/accounts/accountId/requestphoneverification\n```\n\nHere's a sample call: \n\n```text\n{\n \"phoneRegionCode\": \"US\",\n \"phoneNumber\": \"phoneNumber\",\n \"phoneVerificationMethod\": \"SMS\",\n \"languageCode\": \"en-US\"\n}\n```\n\nHere's a sample response: \n\n```text\n{\n \"verificationId\": \"2-47b7ef80ff494daf8079f4808e750dcb-1626331725036\"\n}\n```\n| **Important:** This call also sends a verification code to your phone number. You need this code for the next step.\n\naccounts.verifyphonenumber\n--------------------------\n\nVerify the phone number for the account by passing the `verificationId` from\n`accounts.requestphoneverification`, the six-digit `verificationCode` sent to your\nphone, and the `phoneVerificationMethod` you used, for example `SMS`, into\n[`accounts.verifyphonenumber`](/shopping-content/reference/rest/v2.1/accounts/verifyphonenumber).\nThis call returns the verified phone number in a standard fomat for your region.\n\nYour initial verification request expires after 15 minutes. After that you\nmust initiate a new phone verification request before calling\n`accounts.verifyphonenumber`. \n\n```gdscript\nPOST https://www.googleapis.com/content/v2.1/merchantId/accounts/accountId/verifyphonenumber\n```\n\nHere's a sample call: \n\n```text\n{\n \"verificationId\": \"verificationId\",\n \"verificationCode\": \"verificationCode\",\n \"phoneVerificationMethod\": \"SMS\"\n}\n```\n\nHere's a sample response: \n\n```text\n{\n \"verifiedPhoneNumber\": \"(123) 456-7890\"\n}\n```\n\nAccountBusinessInformation.phoneVerificationStatus\n--------------------------------------------------\n\nYou can check the status of your account's phone verification in the\n[`AccountBusinessInformation.phoneVerificationStatus`](/shopping-content/reference/rest/v2.1/accounts#AccountBusinessInformation)\nfield.\n\nCall the\n[`accounts.get`](/shopping-content/reference/rest/v2.1/accounts/get) method with\nan `accountId` and `merchantId` to view your account's\n[business information](/shopping-content/guides/shopping-content/reference/rest/v2.1/accounts#AccountBusinessInformation): \n\n```text\nGET https://www.googleapis.com/content/v2.1/v2.1/merchantId/accounts/accountId\n```"]]