diff --git a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-reports-customers-controller.php b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-reports-customers-controller.php index f29bde23d0b..13ede382e96 100644 --- a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-reports-customers-controller.php +++ b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-reports-customers-controller.php @@ -217,6 +217,12 @@ class WC_Admin_REST_Reports_Customers_Controller extends WC_REST_Reports_Control 'context' => array( 'view', 'edit' ), 'readonly' => true, ), + 'state' => array( + 'description' => __( 'State.', 'woocommerce-admin' ), + 'type' => 'string', + 'context' => array( 'view', 'edit' ), + 'readonly' => true, + ), 'postcode' => array( 'description' => __( 'Postal code.', 'woocommerce-admin' ), 'type' => 'string', @@ -335,6 +341,7 @@ class WC_Admin_REST_Reports_Customers_Controller extends WC_REST_Reports_Control 'name', 'country', 'city', + 'state', 'postcode', 'date_registered', 'date_last_active',