From bba9fa36cfd892cc58e47309521fe49b466cf2e0 Mon Sep 17 00:00:00 2001 From: Eason Su Date: Mon, 17 Oct 2022 16:10:22 +0800 Subject: [PATCH] Add enum to the `phone_verification_status` schema property in ContactInformationController. Address https://github.com/woocommerce/google-listings-and-ads/pull/1717#discussion_r991528932 --- .../Controllers/MerchantCenter/ContactInformationController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php b/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php index 6481714d93..95ab47b4c0 100644 --- a/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php +++ b/src/API/Site/Controllers/MerchantCenter/ContactInformationController.php @@ -139,6 +139,7 @@ protected function get_schema_properties(): array { 'type' => 'string', 'description' => __( 'The verification status of the phone number associated with the Merchant Center account.', 'google-listings-and-ads' ), 'context' => [ 'view' ], + 'enum' => [ 'verified', 'unverified' ], ], 'mc_address' => [ 'type' => 'object',