Deprecated: Return type of FS_Key_Value_Storage::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 309
Deprecated: Return type of FS_Key_Value_Storage::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 317
Deprecated: Return type of FS_Key_Value_Storage::offsetSet($k, $v) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 301
Deprecated: Return type of FS_Key_Value_Storage::offsetUnset($k) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 313
Deprecated: Return type of FS_Key_Value_Storage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 328
Deprecated: Return type of FS_Key_Value_Storage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 339
Deprecated: Return type of FS_Key_Value_Storage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 350
Deprecated: Return type of FS_Key_Value_Storage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 362
Deprecated: Return type of FS_Key_Value_Storage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 375
Deprecated: Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php on line 389
Deprecated: Creation of dynamic property Cookie_Notice::$options is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 143
Deprecated: Creation of dynamic property Cookie_Notice::$bot_detect is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 118
Deprecated: Creation of dynamic property Cookie_Notice_Frontend::$app_url is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/includes/frontend.php on line 21
Deprecated: Creation of dynamic property Cookie_Notice::$frontend is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 119
Deprecated: Creation of dynamic property Cookie_Notice::$settings is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 120
Deprecated: Creation of dynamic property Cookie_Notice::$welcome is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 121
Deprecated: Creation of dynamic property Cookie_Notice::$welcome_api is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 122
Deprecated: Creation of dynamic property Cookie_Notice::$welcome_frontend is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/cookie-notice.php on line 123
Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 31
Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 36
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the BeRocket_AJAX_domain
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/ihmoleul/yaohanoptical.com/wp-includes/functions.php on line 6114
Deprecated: Creation of dynamic property BeRocket_AAPF::$feature_list is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-ajax-filters/main.php on line 185
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the BeRocket_domain
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/ihmoleul/yaohanoptical.com/wp-includes/functions.php on line 6114
Deprecated: Return type of WC_DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-wc-datetime.php on line 57
Deprecated: Return type of WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-wc-datetime.php on line 47
Deprecated: Return type of WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-wc-datetime.php on line 68
Deprecated: Return type of WC_Meta_Data::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-wc-meta-data.php on line 50
Deprecated: Creation of dynamic property WooCommerce::$api is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php on line 529
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$disabled_wp_cron is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 68
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$enable_self_cron is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 69
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$require_optin is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 73
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$include_goodbye_form is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 74
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$marketing is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 75
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$options is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 76
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$item_id is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 77
Deprecated: Creation of dynamic property Essential_Addons_Elementor\Classes\Plugin_Usage_Tracker::$notice_options is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/essential-addons-for-elementor-lite/includes/Classes/Plugin_Usage_Tracker.php on line 638
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$gateway_loader is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 371
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$admin is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 372
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$checkout is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 373
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$cart is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 374
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$ips is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 375
Deprecated: Creation of dynamic property WC_Gateway_PPEC_Plugin::$client is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php on line 376
Deprecated: class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 2057
Deprecated: Return type of SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-datetime.php on line 61
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 229
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 234
Deprecated: Creation of dynamic property Smush\Core\Modules::$webp is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/wp-smushit/core/class-modules.php on line 95
Deprecated: Creation of dynamic property TInvWLRename::$rename is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/tinv-wishlists-function.php on line 145
Deprecated: Creation of dynamic property TInvWLRename::$rename_single is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/tinv-wishlists-function.php on line 146
Deprecated: Creation of dynamic property TInvWLRename::$rename_plural is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/tinv-wishlists-function.php on line 147
Deprecated: Creation of dynamic property TInvWL_Public_TInvWL::$addto is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/public/tinvwl.class.php on line 102
Deprecated: Creation of dynamic property TInvWL_Public_TInvWL::$view is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/public/tinvwl.class.php on line 103
Deprecated: Creation of dynamic property TInvWL_Public_TInvWL::$cart is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/public/tinvwl.class.php on line 104
Deprecated: Creation of dynamic property TInvWL_Public_TInvWL::$topwishlist is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/public/tinvwl.class.php on line 105
Deprecated: Creation of dynamic property TInvWL::$rest_api is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ti-woocommerce-wishlist/includes/tinvwl.class.php on line 97
Deprecated: Automatic conversion of false to array is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-ajax-filters/berocket/includes/updater.php on line 51
Deprecated: Creation of dynamic property Cookie_Notice_Settings::$revoke_opts is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/includes/settings.php on line 58
Deprecated: Creation of dynamic property NewfoldLabs\WP\Module\ComingSoon::$container is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/wp-plugin-hostgator/vendor/newfold-labs/wp-module-coming-soon/includes/coming-soon.php on line 17
Deprecated: Creation of dynamic property NewfoldLabs\WP\Module\ComingSoon::$args is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/wp-plugin-hostgator/vendor/newfold-labs/wp-module-coming-soon/includes/coming-soon.php on line 40
Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/elementor/core/experiments/manager.php on line 170
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/elementor-pro/modules/loop-builder/module.php on line 204
Deprecated: class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 2057
Deprecated: Creation of dynamic property WC_Connect_Tracks::$plugin_file is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-tracks.php on line 20
Deprecated: Creation of dynamic property WC_Connect_Account_Settings::$payment_methods_store is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 19
Deprecated: Creation of dynamic property WC_Connect_TaxJar_Integration::$cache_time is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 50
Deprecated: Creation of dynamic property WC_Connect_Loader::$tracks is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 349
Deprecated: Creation of dynamic property WC_Connect_Loader::$label_reports is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 505
Deprecated: Creation of dynamic property WC_Countries::$countries is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/class-wc-countries.php on line 51
Deprecated: Creation of dynamic property NM_Text_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.text.php on line 26
Deprecated: Creation of dynamic property NM_Textarea_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.textarea.php on line 26
Deprecated: Creation of dynamic property NM_Select_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.select.php on line 26
Deprecated: Creation of dynamic property NM_Radio_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.radio.php on line 26
Deprecated: Creation of dynamic property NM_Checkbox_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.checkbox.php on line 26
Deprecated: Creation of dynamic property NM_Email_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.email.php on line 26
Deprecated: Creation of dynamic property NM_Date_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.date.php on line 26
Deprecated: Creation of dynamic property NM_Number_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.number.php on line 26
Deprecated: Creation of dynamic property NM_Hidden_wooproduct::$icon is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-product-addon/classes/inputs/input.hidden.php on line 26
Deprecated: Creation of dynamic property AWS_Integrations::$child_theme is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/advanced-woo-search/includes/class-aws-integrations.php on line 53
Deprecated: Creation of dynamic property Cookie_Notice_Frontend::$preview_mode is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/cookie-notice/includes/frontend.php on line 33
Deprecated: Creation of dynamic property ThemeisleSDK\Product::$author_url is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/src/Product.php on line 188
Deprecated: Creation of dynamic property OMAPI::$blocks is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/optinmonster/optin-monster-wp-api.php on line 415
Deprecated: Creation of dynamic property WooCommerce\Square\Gateway::$enable_digital_wallets is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php on line 359
Deprecated: Creation of dynamic property WC_Cart::$coupon_discount_totals is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php on line 266
Deprecated: Creation of dynamic property WC_Cart::$coupon_discount_tax_totals is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php on line 266
Deprecated: Creation of dynamic property WC_Email_New_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Cancelled_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Failed_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_On_Hold_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Processing_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Completed_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Refunded_Order::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Invoice::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Note::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_Reset_Password::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Email_Customer_New_Account::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WooCommerce\Square\Emails\Sync_Completed::$body is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-square/includes/Emails/Sync_Completed.php on line 49
Deprecated: Creation of dynamic property WooCommerce\Square\Emails\Sync_Completed::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WooCommerce\Square\Emails\Access_Token_Email::$body is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-square/includes/Emails/Access_Token_Email.php on line 49
Deprecated: Creation of dynamic property WooCommerce\Square\Emails\Access_Token_Email::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Stripe_Email_Failed_Renewal_Authentication::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Stripe_Email_Failed_Preorder_Authentication::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WC_Stripe_Email_Failed_Authentication_Retry::$email_type is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 250
Deprecated: Creation of dynamic property WooLentorBlocks\Api\Api::$namespace is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woolentor-addons/woolentor-blocks/includes/classes/Api/Api.php on line 21
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$testmode is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 60
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$debug is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 61
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$email is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 62
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$receiver_email is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 63
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$identity_token is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 64
Deprecated: Creation of dynamic property WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::$authorized_payments is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php on line 213
Deprecated: Creation of dynamic property WC_Gateway_BACS::$instructions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php on line 49
Deprecated: Creation of dynamic property WC_Gateway_BACS::$account_details is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php on line 52
Deprecated: Creation of dynamic property WC_Gateway_Cheque::$instructions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php on line 41
Deprecated: Creation of dynamic property WC_Gateway_COD::$instructions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php on line 40
Deprecated: Creation of dynamic property WC_Gateway_COD::$enable_for_methods is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php on line 41
Deprecated: Creation of dynamic property WC_Gateway_COD::$enable_for_virtual is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php on line 42
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$testmode is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 60
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$debug is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 61
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$email is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 62
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$receiver_email is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 63
Deprecated: Creation of dynamic property WC_Gateway_Paypal::$identity_token is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php on line 64
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$button_size is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 32
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$environment is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 33
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$mark_enabled is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 34
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$api_username is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 37
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$api_password is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 38
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$api_signature is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 39
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$api_certificate is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 40
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$api_subject is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 41
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$debug is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 50
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$invoice_prefix is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 51
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$instant_payments is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 52
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$require_billing is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 53
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$paymentaction is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 54
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$subtotal_mismatch_behavior is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 55
Deprecated: Creation of dynamic property WC_Gateway_PPEC_With_SPB::$use_ppc is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php on line 56
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Features is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Notes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\NoteActions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Coupons is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Data is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\DataCountries is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\DataDownloadIPs is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Marketing is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\MarketingOverview is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Options is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Orders is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Products is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductAttributes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductAttributeTerms is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductCategories is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductVariations is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductReviews is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\ProductsLowInStock is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\SettingOptions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Themes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Plugins is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingFreeExtensions is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingPayments is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingProductTypes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingProfile is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingTasks is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\OnboardingThemes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\NavigationFavorites is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Taxes is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Customers is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Leaderboards is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Import\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Export\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Products\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Variations\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Products\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Variations\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Revenue\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Orders\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Categories\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Taxes\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Taxes\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Coupons\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Coupons\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Stock\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Stock\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Downloads\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Downloads\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Customers\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\API\Init::$Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Init.php on line 123
Deprecated: Creation of dynamic property WC_Connect_Account_Settings::$payment_methods_store is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 19
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_assets_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 361
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_carrier_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 377
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_carriers_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 365
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_subscriptions_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 369
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_subscription_activate_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 373
Deprecated: Creation of dynamic property WC_Connect_Loader::$rest_carrier_delete_controller is deprecated in /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/woocommerce-services/woocommerce-services.php on line 381
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
Warning: Cannot modify header information - headers already sent by (output started at /home2/ihmoleul/yaohanoptical.com/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/managers/class-fs-key-value-storage.php:44) in /home2/ihmoleul/yaohanoptical.com/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"name":"Yaohan Optical","description":"Cartier Authorized Dealer","url":"https:\/\/yaohanoptical.com","home":"https:\/\/yaohanoptical.com","gmt_offset":"0","timezone_string":"","namespaces":["oembed\/1.0","akismet\/v1","generatepress-pro\/v1","generatepress-site-library\/v1","jetpack\/v4","woolentor\/v1","hostgator\/v1","wpcom\/v2","jetpack\/v4\/stats-app","elementor\/v1","monsterinsights\/v1","if-menu\/v1","wpcom\/v3","wc\/v3","wc\/v1","wc-paypal\/v1","paypal\/v1","wc\/store","wc-admin","wc-analytics","wp-smush\/v1","jetpack-boost\/v1","my-jetpack\/v1","jetpack\/v4\/explat","jetpack\/v4\/blaze-app","jetpack\/v4\/blaze","generatepress\/v1","newfold-marketplace\/v1","newfold-notifications\/v1","newfold-sso\/v1","elementor-pro\/v1","omapp\/v1","regenerate-thumbnails\/v1","wc\/v2","wc-telemetry","wccom-site\/v1","newfold-data\/v1","wishlist\/v1","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/yaohanoptical.com\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/"}]}},"\/batch\/v1":{"namespace":"","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/batch\/v1"}]}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"oembed\/1.0","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"description":"The oEmbed format to use.","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"The maximum width of the embed frame in pixels.","type":"integer","default":600,"required":false},"maxheight":{"description":"The maximum height of the embed frame in pixels.","type":"integer","required":false},"discover":{"description":"Whether to perform an oEmbed discovery request for unsanctioned providers.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/oembed\/1.0\/proxy"}]}},"\/akismet\/v1":{"namespace":"akismet\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"akismet\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/akismet\/v1"}]}},"\/akismet\/v1\/key":{"namespace":"akismet\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"key":{"type":"string","description":"A 12-character Akismet API key. Available at akismet.com\/get\/","required":true}}},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/akismet\/v1\/key"}]}},"\/akismet\/v1\/settings":{"namespace":"akismet\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"akismet_strictness":{"type":"boolean","description":"If true, Akismet will automatically discard the worst spam automatically rather than putting it in the spam folder.","required":false},"akismet_show_user_comments_approved":{"type":"boolean","description":"If true, show the number of approved comments beside each comment author in the comments list page.","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/akismet\/v1\/settings"}]}},"\/akismet\/v1\/stats":{"namespace":"akismet\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"interval":{"type":"string","description":"The time period for which to retrieve stats. Options: 60-days, 6-months, all","default":"all","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/akismet\/v1\/stats"}]}},"\/akismet\/v1\/stats\/(?P[\\w+])":{"namespace":"akismet\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"interval":{"description":"The time period for which to retrieve stats. Options: 60-days, 6-months, all","type":"string","required":false}}}]},"\/akismet\/v1\/alert":{"namespace":"akismet\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"key":{"type":"string","description":"A 12-character Akismet API key. Available at akismet.com\/get\/","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"key":{"type":"string","description":"A 12-character Akismet API key. Available at akismet.com\/get\/","required":false}}},{"methods":["DELETE"],"args":{"key":{"type":"string","description":"A 12-character Akismet API key. Available at akismet.com\/get\/","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/akismet\/v1\/alert"}]}},"\/generatepress-pro\/v1":{"namespace":"generatepress-pro\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"generatepress-pro\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1"}]}},"\/generatepress-pro\/v1\/modules":{"namespace":"generatepress-pro\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1\/modules"}]}},"\/generatepress-pro\/v1\/license":{"namespace":"generatepress-pro\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1\/license"}]}},"\/generatepress-pro\/v1\/export":{"namespace":"generatepress-pro\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1\/export"}]}},"\/generatepress-pro\/v1\/import":{"namespace":"generatepress-pro\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1\/import"}]}},"\/generatepress-pro\/v1\/reset":{"namespace":"generatepress-pro\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-pro\/v1\/reset"}]}},"\/generatepress-site-library\/v1":{"namespace":"generatepress-site-library\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"generatepress-site-library\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1"}]}},"\/generatepress-site-library\/v1\/get_sites":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/get_sites"}]}},"\/generatepress-site-library\/v1\/get_site_data":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/get_site_data"}]}},"\/generatepress-site-library\/v1\/import_theme_options":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/import_theme_options"}]}},"\/generatepress-site-library\/v1\/activate_plugins":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/activate_plugins"}]}},"\/generatepress-site-library\/v1\/import_content":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/import_content"}]}},"\/generatepress-site-library\/v1\/import_site_options":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/import_site_options"}]}},"\/generatepress-site-library\/v1\/import_widgets":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/import_widgets"}]}},"\/generatepress-site-library\/v1\/restore_theme_options":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/restore_theme_options"}]}},"\/generatepress-site-library\/v1\/restore_content":{"namespace":"generatepress-site-library\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress-site-library\/v1\/restore_content"}]}},"\/jetpack\/v4":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack\/v4","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4"}]}},"\/jetpack\/v4\/backup-helper-script":{"namespace":"jetpack\/v4","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":{"helper":{"description":"base64 encoded Backup Helper Script body.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"path":{"description":"Path to Backup Helper Script","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/backup-helper-script"}]}},"\/jetpack\/v4\/database-object\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"object_type":{"description":"Type of object to fetch from the database","required":true},"object_id":{"description":"ID of the database object to fetch","type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/database-object\/backup"}]}},"\/jetpack\/v4\/options\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"name":{"description":"One or more option names to include in the backup","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/options\/backup"}]}},"\/jetpack\/v4\/comments\/(?P\\d+)\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/posts\/(?P\\d+)\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/terms\/(?P\\d+)\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/users\/(?P\\d+)\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/site\/backup\/undo-event":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/backup\/undo-event"}]}},"\/jetpack\/v4\/orders\/(?P\\d+)\/backup":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/site\/backup\/preflight":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/backup\/preflight"}]}},"\/jetpack\/v4\/jetpack-ai-jwt":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/jetpack-ai-jwt"}]}},"\/jetpack\/v4\/plans":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/plans"}]}},"\/jetpack\/v4\/products":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/products"}]}},"\/jetpack\/v4\/marketing\/survey":{"namespace":"jetpack\/v4","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/marketing\/survey"}]}},"\/jetpack\/v4\/connection\/test":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/test"}]}},"\/jetpack\/v4\/connection\/test-wpcom":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/test-wpcom"}]}},"\/jetpack\/v4\/rewind":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/rewind"}]}},"\/jetpack\/v4\/scan":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/scan"}]}},"\/jetpack\/v4\/connection\/url":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"from":{"type":"string","required":false},"redirect":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/url"}]}},"\/jetpack\/v4\/tracking\/settings":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"tracks_opt_out":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/tracking\/settings"}]}},"\/jetpack\/v4\/connection\/user":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/user"}]}},"\/jetpack\/v4\/site":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site"}]}},"\/jetpack\/v4\/site\/features":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/features"}]}},"\/jetpack\/v4\/site\/products":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/products"}]}},"\/jetpack\/v4\/site\/purchases":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/purchases"}]}},"\/jetpack\/v4\/site\/benefits":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/benefits"}]}},"\/jetpack\/v4\/site\/activity":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/activity"}]}},"\/jetpack\/v4\/module\/all":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/module\/all"}]}},"\/jetpack\/v4\/module\/all\/active":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"modules":{"default":"","type":"array","items":{"type":"string"},"required":true},"active":{"default":true,"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/module\/all\/active"}]}},"\/jetpack\/v4\/module\/(?P[a-z\\-]+)":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"context":{"default":"edit","required":false},"jetpack_blocks_disabled":{"description":"Jetpack Blocks disabled.","type":"boolean","default":false,"required":false},"carousel_background_color":{"description":"Color scheme.","type":"string","default":"black","enum":["black","white"],"required":false},"carousel_display_exif":{"description":"Show photo metadata (Exif<\/a>) in carousel, when available.","type":"boolean","default":0,"required":false},"carousel_display_comments":{"description":"Show comments area in carousel","type":"boolean","default":1,"required":false},"highlander_comment_form_prompt":{"description":"Greeting Text","type":"string","default":"Leave a Reply","required":false},"jetpack_comment_form_color_scheme":{"description":"Color scheme","type":"string","default":"light","enum":["light","dark","transparent"],"required":false},"jetpack_portfolio":{"description":"Enable or disable Jetpack portfolio post type.","type":"boolean","default":0,"required":false},"jetpack_portfolio_posts_per_page":{"description":"Number of entries to show at most in Portfolio pages.","type":"integer","default":10,"required":false},"jetpack_testimonial":{"description":"Enable or disable Jetpack testimonial post type.","type":"boolean","default":0,"required":false},"jetpack_testimonial_posts_per_page":{"description":"Number of entries to show at most in Testimonial pages.","type":"integer","default":10,"required":false},"jetpack_waf_automatic_rules":{"description":"Enable automatic rules - Protect your site against untrusted traffic sources with automatic security rules.","type":"boolean","default":false,"required":false},"jetpack_waf_ip_block_list_enabled":{"description":"Block list - Block a specific request IP.","type":"boolean","default":0,"required":false},"jetpack_waf_ip_block_list":{"description":"Blocked IP addresses","type":"string","default":"","required":false},"jetpack_waf_ip_allow_list_enabled":{"description":"Allow list - Allow a specific request IP.","type":"boolean","default":0,"required":false},"jetpack_waf_ip_allow_list":{"description":"Always allowed IP addresses","type":"string","default":"","required":false},"jetpack_waf_share_data":{"description":"Share basic data with Jetpack.","type":"boolean","default":0,"required":false},"jetpack_waf_share_debug_data":{"description":"Share detailed data with Jetpack.","type":"boolean","default":0,"required":false},"tiled_galleries":{"description":"Display all your gallery pictures in a cool mosaic.","type":"boolean","default":0,"required":false},"gravatar_disable_hovercards":{"description":"View people's profiles when you mouse over their Gravatars","type":"string","default":"enabled","enum":["enabled","disabled"],"required":false},"infinite_scroll":{"description":"To infinity and beyond","type":"boolean","default":1,"required":false},"infinite_scroll_google_analytics":{"description":"Use Google Analytics with Infinite Scroll","type":"boolean","default":0,"required":false},"wpl_default":{"description":"WordPress.com Likes are","type":"string","default":"on","enum":["on","off"],"required":false},"social_notifications_like":{"description":"Send email notification when someone likes a post","type":"boolean","default":1,"required":false},"wpcom_publish_comments_with_markdown":{"description":"Use Markdown for comments.","type":"boolean","default":0,"required":false},"wpcom_publish_posts_with_markdown":{"description":"Use Markdown for posts.","type":"boolean","default":0,"required":false},"monitor_receive_notifications":{"description":"Receive Monitor Email Notifications.","type":"boolean","default":0,"required":false},"post_by_email_address":{"description":"Email Address","type":"string","default":"noop","enum":["noop","create","regenerate","delete"],"required":false},"jetpack_protect_key":{"description":"Protect API key","type":"string","default":"","required":false},"jetpack_protect_global_whitelist":{"description":"Protect global IP allow list","type":"string","default":"","required":false},"sharing_services":{"description":"Enabled Services and those hidden behind a button","type":"object","default":{"visible":["facebook","x"],"hidden":[]},"required":false},"button_style":{"description":"Button Style","type":"string","default":"icon","enum":["icon-text","icon","text","official"],"required":false},"sharing_label":{"description":"Sharing Label","type":"string","default":"","required":false},"show":{"description":"Views where buttons are shown","type":"array","items":{"type":"string"},"default":["post"],"required":false},"jetpack-twitter-cards-site-tag":{"description":"The Twitter username of the owner of this site's domain.","type":"string","default":"","required":false},"sharedaddy_disable_resources":{"description":"Disable CSS and JS","type":"boolean","default":0,"required":false},"custom":{"description":"Custom sharing services added by user.","type":"object","default":{"sharing_name":"","sharing_url":"","sharing_icon":""},"required":false},"sharing_delete_service":{"description":"Delete custom sharing service.","type":"string","default":"","required":false},"jetpack_sso_require_two_step":{"description":"Require Two-Step Authentication","type":"boolean","default":false,"required":false},"jetpack_sso_match_by_email":{"description":"Match by Email","type":"boolean","default":1,"required":false},"stb_enabled":{"description":"Show a <em>'follow blog'<\/em> option in the comment form","type":"boolean","default":1,"required":false},"stc_enabled":{"description":"Show a <em>'follow comments'<\/em> option in the comment form","type":"boolean","default":1,"required":false},"wpcom_newsletter_categories":{"description":"Array of post category ids that are marked as newsletter categories","type":"array","default":[],"required":false},"wpcom_newsletter_categories_enabled":{"description":"Whether the newsletter categories are enabled or not","type":"boolean","default":0,"required":false},"wpcom_featured_image_in_email":{"description":"Whether to include the featured image in the email or not","type":"boolean","default":1,"required":false},"jetpack_gravatar_in_email":{"description":"Whether to show author avatar in the email byline","type":"boolean","default":1,"required":false},"jetpack_author_in_email":{"description":"Whether to show author display name in the email byline","type":"boolean","default":1,"required":false},"jetpack_post_date_in_email":{"description":"Whether to show date in the email byline","type":"boolean","default":1,"required":false},"wpcom_subscription_emails_use_excerpt":{"description":"Whether to use the excerpt in the email or not","type":"boolean","default":0,"required":false},"jetpack_subscriptions_reply_to":{"description":"Reply to email behaviour for newsletters emails","type":"string","default":"no-reply","required":false},"jetpack_subscriptions_from_name":{"description":"From name for newsletters emails","type":"string","default":"","required":false},"sm_enabled":{"description":"Show popup Subscribe modal to readers.","type":"boolean","default":0,"required":false},"jetpack_subscribe_overlay_enabled":{"description":"Show subscribe overlay on homepage.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_subscribe_post_end_enabled":{"description":"Add Subscribe block at the end of each post.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_login_navigation_enabled":{"description":"Add Subscriber Login block to the navigation.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_subscribe_navigation_enabled":{"description":"Add Subscribe block to the navigation.","type":"boolean","default":0,"required":false},"social_notifications_subscribe":{"description":"Send email notification when someone subscribes to my blog","type":"boolean","default":0,"required":false},"subscription_options":{"description":"Three options used in subscription email templates: 'invitation', 'welcome' and 'comment_follow'.","type":"object","default":{"invitation":"","welcome":"","comment_follow":""},"required":false},"show_headline":{"description":"Highlight related content with a heading","type":"boolean","default":1,"required":false},"show_thumbnails":{"description":"Show a thumbnail image where available","type":"boolean","default":0,"required":false},"instant_search_enabled":{"description":"Enable Instant Search","type":"boolean","default":0,"required":false},"has_jetpack_search_product":{"description":"Has an active Jetpack Search product purchase","type":"boolean","default":0,"required":false},"search_auto_config":{"description":"Trigger an auto config of instant search","type":"boolean","default":0,"required":false},"google":{"description":"Google Search Console","type":"string","default":"","required":false},"bing":{"description":"Bing Webmaster Center","type":"string","default":"","required":false},"pinterest":{"description":"Pinterest Site Verification","type":"string","default":"","required":false},"yandex":{"description":"Yandex Site Verification","type":"string","default":"","required":false},"facebook":{"description":"Facebook Domain Verification","type":"string","default":"","required":false},"enable_header_ad":{"description":"Display an ad unit at the top of each page.","type":"boolean","default":1,"required":false},"wordads_approved":{"description":"Is site approved for WordAds?","type":"boolean","default":0,"required":false},"wordads_second_belowpost":{"description":"Display second ad below post?","type":"boolean","default":1,"required":false},"wordads_inline_enabled":{"description":"Display inline ad within post content?","type":"boolean","default":1,"required":false},"wordads_display_front_page":{"description":"Display ads on the front page?","type":"boolean","default":1,"required":false},"wordads_display_post":{"description":"Display ads on posts?","type":"boolean","default":1,"required":false},"wordads_display_page":{"description":"Display ads on pages?","type":"boolean","default":1,"required":false},"wordads_display_archive":{"description":"Display ads on archive pages?","type":"boolean","default":1,"required":false},"wordads_custom_adstxt_enabled":{"description":"Custom ads.txt","type":"boolean","default":0,"required":false},"wordads_custom_adstxt":{"description":"Custom ads.txt entries","type":"string","default":"","required":false},"wordads_ccpa_enabled":{"description":"Enable support for California Consumer Privacy Act","type":"boolean","default":0,"required":false},"wordads_ccpa_privacy_policy_url":{"description":"Privacy Policy URL","type":"string","default":"","required":false},"wordads_cmp_enabled":{"description":"Enable GDPR Consent Management Banner for WordAds","type":"boolean","default":0,"required":false},"google_analytics_tracking_id":{"description":"Google Analytics","type":"string","default":"","required":false},"admin_bar":{"description":"Include a small chart in your admin bar with a 48-hour traffic snapshot.","type":"boolean","default":1,"required":false},"enable_odyssey_stats":{"description":"Preview the new Jetpack Stats experience (Experimental).","type":"boolean","default":1,"required":false},"roles":{"description":"Select the roles that will be able to view stats reports.","type":"array","items":{"type":"string"},"default":["administrator"],"required":false},"count_roles":{"description":"Count the page views of registered users who are logged in.","type":"array","items":{"type":"string"},"default":["administrator"],"required":false},"blog_id":{"description":"Blog ID.","type":"boolean","default":0,"required":false},"do_not_track":{"description":"Do not track.","type":"boolean","default":1,"required":false},"version":{"description":"Version.","type":"integer","default":9,"required":false},"collapse_nudges":{"description":"Collapse upgrade nudges","type":"boolean","default":0,"required":false},"wpcom_reader_views_enabled":{"description":"Show post views in the WordPress.com Reader.","type":"boolean","default":1,"required":false},"akismet_show_user_comments_approved":{"description":"","type":"boolean","default":0,"required":false},"wordpress_api_key":{"description":"","type":"string","default":"","required":false},"dismiss_empty_stats_card":{"description":"","type":"boolean","default":0,"required":false},"dismiss_dash_backup_getting_started":{"description":"","type":"boolean","default":0,"required":false},"dismiss_dash_agencies_learn_more":{"description":"","type":"boolean","default":0,"required":false},"lang_id":{"description":"Primary language for the site.","type":"string","default":"en_US","required":false},"onboarding":{"description":"","type":"object","default":{"siteTitle":"","siteDescription":"","siteType":"personal","homepageFormat":"posts","addContactForm":0,"businessAddress":{"name":"","street":"","city":"","state":"","zip":""},"installWooCommerce":false},"required":false},"advanced_seo_front_page_description":{"description":"Front page meta description.","type":"string","default":"","required":false},"advanced_seo_title_formats":{"description":"SEO page title structures.","type":"object","default":{"archives":[],"front_page":[],"groups":[],"pages":[],"posts":[]},"required":false},"videopress_private_enabled_for_site":{"description":"Video Privacy: Restrict views to members of this site","type":"boolean","default":0,"required":false},"blaze":{"description":"","type":"boolean","default":0,"required":false},"carousel":{"description":"","type":"boolean","default":0,"required":false},"comment-likes":{"description":"","type":"boolean","default":0,"required":false},"comments":{"description":"","type":"boolean","default":0,"required":false},"contact-form":{"description":"","type":"boolean","default":0,"required":false},"copy-post":{"description":"","type":"boolean","default":0,"required":false},"custom-content-types":{"description":"","type":"boolean","default":0,"required":false},"custom-css":{"description":"","type":"boolean","default":0,"required":false},"google-fonts":{"description":"","type":"boolean","default":0,"required":false},"gravatar-hovercards":{"description":"","type":"boolean","default":0,"required":false},"infinite-scroll":{"description":"","type":"boolean","default":0,"required":false},"json-api":{"description":"","type":"boolean","default":0,"required":false},"latex":{"description":"","type":"boolean","default":0,"required":false},"likes":{"description":"","type":"boolean","default":0,"required":false},"markdown":{"description":"","type":"boolean","default":0,"required":false},"masterbar":{"description":"","type":"boolean","default":0,"required":false},"monitor":{"description":"","type":"boolean","default":0,"required":false},"notes":{"description":"","type":"boolean","default":0,"required":false},"photon-cdn":{"description":"","type":"boolean","default":0,"required":false},"photon":{"description":"","type":"boolean","default":0,"required":false},"post-by-email":{"description":"","type":"boolean","default":0,"required":false},"post-list":{"description":"","type":"boolean","default":0,"required":false},"protect":{"description":"","type":"boolean","default":0,"required":false},"publicize":{"description":"","type":"boolean","default":0,"required":false},"related-posts":{"description":"","type":"boolean","default":0,"required":false},"search":{"description":"","type":"boolean","default":0,"required":false},"seo-tools":{"description":"","type":"boolean","default":0,"required":false},"sharedaddy":{"description":"","type":"boolean","default":0,"required":false},"shortcodes":{"description":"","type":"boolean","default":0,"required":false},"shortlinks":{"description":"","type":"boolean","default":0,"required":false},"sitemaps":{"description":"","type":"boolean","default":0,"required":false},"sso":{"description":"","type":"boolean","default":0,"required":false},"stats":{"description":"","type":"boolean","default":0,"required":false},"subscriptions":{"description":"","type":"boolean","default":0,"required":false},"tiled-gallery":{"description":"","type":"boolean","default":0,"required":false},"vaultpress":{"description":"","type":"boolean","default":0,"required":false},"verification-tools":{"description":"","type":"boolean","default":0,"required":false},"videopress":{"description":"","type":"boolean","default":0,"required":false},"waf":{"description":"","type":"boolean","default":0,"required":false},"widget-visibility":{"description":"","type":"boolean","default":0,"required":false},"widgets":{"description":"","type":"boolean","default":0,"required":false},"woocommerce-analytics":{"description":"","type":"boolean","default":0,"required":false},"wordads":{"description":"","type":"boolean","default":0,"required":false}}}]},"\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/active":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"active":{"default":true,"type":"boolean","required":true}}}]},"\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/data":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"range":{"default":"day","type":"string","required":false}}}]},"\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/key\/check":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"api_key":{"default":"","type":"string","required":false}}}]},"\/jetpack\/v4\/settings":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH","GET"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"default":"edit","required":false},"jetpack_blocks_disabled":{"description":"Jetpack Blocks disabled.","type":"boolean","default":false,"required":false},"carousel_background_color":{"description":"Color scheme.","type":"string","default":"black","enum":["black","white"],"required":false},"carousel_display_exif":{"description":"Show photo metadata (Exif<\/a>) in carousel, when available.","type":"boolean","default":0,"required":false},"carousel_display_comments":{"description":"Show comments area in carousel","type":"boolean","default":1,"required":false},"highlander_comment_form_prompt":{"description":"Greeting Text","type":"string","default":"Leave a Reply","required":false},"jetpack_comment_form_color_scheme":{"description":"Color scheme","type":"string","default":"light","enum":["light","dark","transparent"],"required":false},"jetpack_portfolio":{"description":"Enable or disable Jetpack portfolio post type.","type":"boolean","default":0,"required":false},"jetpack_portfolio_posts_per_page":{"description":"Number of entries to show at most in Portfolio pages.","type":"integer","default":10,"required":false},"jetpack_testimonial":{"description":"Enable or disable Jetpack testimonial post type.","type":"boolean","default":0,"required":false},"jetpack_testimonial_posts_per_page":{"description":"Number of entries to show at most in Testimonial pages.","type":"integer","default":10,"required":false},"jetpack_waf_automatic_rules":{"description":"Enable automatic rules - Protect your site against untrusted traffic sources with automatic security rules.","type":"boolean","default":false,"required":false},"jetpack_waf_ip_block_list_enabled":{"description":"Block list - Block a specific request IP.","type":"boolean","default":0,"required":false},"jetpack_waf_ip_block_list":{"description":"Blocked IP addresses","type":"string","default":"","required":false},"jetpack_waf_ip_allow_list_enabled":{"description":"Allow list - Allow a specific request IP.","type":"boolean","default":0,"required":false},"jetpack_waf_ip_allow_list":{"description":"Always allowed IP addresses","type":"string","default":"","required":false},"jetpack_waf_share_data":{"description":"Share basic data with Jetpack.","type":"boolean","default":0,"required":false},"jetpack_waf_share_debug_data":{"description":"Share detailed data with Jetpack.","type":"boolean","default":0,"required":false},"tiled_galleries":{"description":"Display all your gallery pictures in a cool mosaic.","type":"boolean","default":0,"required":false},"gravatar_disable_hovercards":{"description":"View people's profiles when you mouse over their Gravatars","type":"string","default":"enabled","enum":["enabled","disabled"],"required":false},"infinite_scroll":{"description":"To infinity and beyond","type":"boolean","default":1,"required":false},"infinite_scroll_google_analytics":{"description":"Use Google Analytics with Infinite Scroll","type":"boolean","default":0,"required":false},"wpl_default":{"description":"WordPress.com Likes are","type":"string","default":"on","enum":["on","off"],"required":false},"social_notifications_like":{"description":"Send email notification when someone likes a post","type":"boolean","default":1,"required":false},"wpcom_publish_comments_with_markdown":{"description":"Use Markdown for comments.","type":"boolean","default":0,"required":false},"wpcom_publish_posts_with_markdown":{"description":"Use Markdown for posts.","type":"boolean","default":0,"required":false},"monitor_receive_notifications":{"description":"Receive Monitor Email Notifications.","type":"boolean","default":0,"required":false},"post_by_email_address":{"description":"Email Address","type":"string","default":"noop","enum":["noop","create","regenerate","delete"],"required":false},"jetpack_protect_key":{"description":"Protect API key","type":"string","default":"","required":false},"jetpack_protect_global_whitelist":{"description":"Protect global IP allow list","type":"string","default":"","required":false},"sharing_services":{"description":"Enabled Services and those hidden behind a button","type":"object","default":{"visible":["facebook","x"],"hidden":[]},"required":false},"button_style":{"description":"Button Style","type":"string","default":"icon","enum":["icon-text","icon","text","official"],"required":false},"sharing_label":{"description":"Sharing Label","type":"string","default":"","required":false},"show":{"description":"Views where buttons are shown","type":"array","items":{"type":"string"},"default":["post"],"required":false},"jetpack-twitter-cards-site-tag":{"description":"The Twitter username of the owner of this site's domain.","type":"string","default":"","required":false},"sharedaddy_disable_resources":{"description":"Disable CSS and JS","type":"boolean","default":0,"required":false},"custom":{"description":"Custom sharing services added by user.","type":"object","default":{"sharing_name":"","sharing_url":"","sharing_icon":""},"required":false},"sharing_delete_service":{"description":"Delete custom sharing service.","type":"string","default":"","required":false},"jetpack_sso_require_two_step":{"description":"Require Two-Step Authentication","type":"boolean","default":false,"required":false},"jetpack_sso_match_by_email":{"description":"Match by Email","type":"boolean","default":1,"required":false},"stb_enabled":{"description":"Show a <em>'follow blog'<\/em> option in the comment form","type":"boolean","default":1,"required":false},"stc_enabled":{"description":"Show a <em>'follow comments'<\/em> option in the comment form","type":"boolean","default":1,"required":false},"wpcom_newsletter_categories":{"description":"Array of post category ids that are marked as newsletter categories","type":"array","default":[],"required":false},"wpcom_newsletter_categories_enabled":{"description":"Whether the newsletter categories are enabled or not","type":"boolean","default":0,"required":false},"wpcom_featured_image_in_email":{"description":"Whether to include the featured image in the email or not","type":"boolean","default":1,"required":false},"jetpack_gravatar_in_email":{"description":"Whether to show author avatar in the email byline","type":"boolean","default":1,"required":false},"jetpack_author_in_email":{"description":"Whether to show author display name in the email byline","type":"boolean","default":1,"required":false},"jetpack_post_date_in_email":{"description":"Whether to show date in the email byline","type":"boolean","default":1,"required":false},"wpcom_subscription_emails_use_excerpt":{"description":"Whether to use the excerpt in the email or not","type":"boolean","default":0,"required":false},"jetpack_subscriptions_reply_to":{"description":"Reply to email behaviour for newsletters emails","type":"string","default":"no-reply","required":false},"jetpack_subscriptions_from_name":{"description":"From name for newsletters emails","type":"string","default":"","required":false},"sm_enabled":{"description":"Show popup Subscribe modal to readers.","type":"boolean","default":0,"required":false},"jetpack_subscribe_overlay_enabled":{"description":"Show subscribe overlay on homepage.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_subscribe_post_end_enabled":{"description":"Add Subscribe block at the end of each post.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_login_navigation_enabled":{"description":"Add Subscriber Login block to the navigation.","type":"boolean","default":0,"required":false},"jetpack_subscriptions_subscribe_navigation_enabled":{"description":"Add Subscribe block to the navigation.","type":"boolean","default":0,"required":false},"social_notifications_subscribe":{"description":"Send email notification when someone subscribes to my blog","type":"boolean","default":0,"required":false},"subscription_options":{"description":"Three options used in subscription email templates: 'invitation', 'welcome' and 'comment_follow'.","type":"object","default":{"invitation":"","welcome":"","comment_follow":""},"required":false},"show_headline":{"description":"Highlight related content with a heading","type":"boolean","default":1,"required":false},"show_thumbnails":{"description":"Show a thumbnail image where available","type":"boolean","default":0,"required":false},"instant_search_enabled":{"description":"Enable Instant Search","type":"boolean","default":0,"required":false},"has_jetpack_search_product":{"description":"Has an active Jetpack Search product purchase","type":"boolean","default":0,"required":false},"search_auto_config":{"description":"Trigger an auto config of instant search","type":"boolean","default":0,"required":false},"google":{"description":"Google Search Console","type":"string","default":"","required":false},"bing":{"description":"Bing Webmaster Center","type":"string","default":"","required":false},"pinterest":{"description":"Pinterest Site Verification","type":"string","default":"","required":false},"yandex":{"description":"Yandex Site Verification","type":"string","default":"","required":false},"facebook":{"description":"Facebook Domain Verification","type":"string","default":"","required":false},"enable_header_ad":{"description":"Display an ad unit at the top of each page.","type":"boolean","default":1,"required":false},"wordads_approved":{"description":"Is site approved for WordAds?","type":"boolean","default":0,"required":false},"wordads_second_belowpost":{"description":"Display second ad below post?","type":"boolean","default":1,"required":false},"wordads_inline_enabled":{"description":"Display inline ad within post content?","type":"boolean","default":1,"required":false},"wordads_display_front_page":{"description":"Display ads on the front page?","type":"boolean","default":1,"required":false},"wordads_display_post":{"description":"Display ads on posts?","type":"boolean","default":1,"required":false},"wordads_display_page":{"description":"Display ads on pages?","type":"boolean","default":1,"required":false},"wordads_display_archive":{"description":"Display ads on archive pages?","type":"boolean","default":1,"required":false},"wordads_custom_adstxt_enabled":{"description":"Custom ads.txt","type":"boolean","default":0,"required":false},"wordads_custom_adstxt":{"description":"Custom ads.txt entries","type":"string","default":"","required":false},"wordads_ccpa_enabled":{"description":"Enable support for California Consumer Privacy Act","type":"boolean","default":0,"required":false},"wordads_ccpa_privacy_policy_url":{"description":"Privacy Policy URL","type":"string","default":"","required":false},"wordads_cmp_enabled":{"description":"Enable GDPR Consent Management Banner for WordAds","type":"boolean","default":0,"required":false},"google_analytics_tracking_id":{"description":"Google Analytics","type":"string","default":"","required":false},"admin_bar":{"description":"Include a small chart in your admin bar with a 48-hour traffic snapshot.","type":"boolean","default":1,"required":false},"enable_odyssey_stats":{"description":"Preview the new Jetpack Stats experience (Experimental).","type":"boolean","default":1,"required":false},"roles":{"description":"Select the roles that will be able to view stats reports.","type":"array","items":{"type":"string"},"default":["administrator"],"required":false},"count_roles":{"description":"Count the page views of registered users who are logged in.","type":"array","items":{"type":"string"},"default":["administrator"],"required":false},"blog_id":{"description":"Blog ID.","type":"boolean","default":0,"required":false},"do_not_track":{"description":"Do not track.","type":"boolean","default":1,"required":false},"version":{"description":"Version.","type":"integer","default":9,"required":false},"collapse_nudges":{"description":"Collapse upgrade nudges","type":"boolean","default":0,"required":false},"wpcom_reader_views_enabled":{"description":"Show post views in the WordPress.com Reader.","type":"boolean","default":1,"required":false},"akismet_show_user_comments_approved":{"description":"","type":"boolean","default":0,"required":false},"wordpress_api_key":{"description":"","type":"string","default":"","required":false},"dismiss_empty_stats_card":{"description":"","type":"boolean","default":0,"required":false},"dismiss_dash_backup_getting_started":{"description":"","type":"boolean","default":0,"required":false},"dismiss_dash_agencies_learn_more":{"description":"","type":"boolean","default":0,"required":false},"lang_id":{"description":"Primary language for the site.","type":"string","default":"en_US","required":false},"onboarding":{"description":"","type":"object","default":{"siteTitle":"","siteDescription":"","siteType":"personal","homepageFormat":"posts","addContactForm":0,"businessAddress":{"name":"","street":"","city":"","state":"","zip":""},"installWooCommerce":false},"required":false},"advanced_seo_front_page_description":{"description":"Front page meta description.","type":"string","default":"","required":false},"advanced_seo_title_formats":{"description":"SEO page title structures.","type":"object","default":{"archives":[],"front_page":[],"groups":[],"pages":[],"posts":[]},"required":false},"videopress_private_enabled_for_site":{"description":"Video Privacy: Restrict views to members of this site","type":"boolean","default":0,"required":false},"blaze":{"description":"","type":"boolean","default":0,"required":false},"carousel":{"description":"","type":"boolean","default":0,"required":false},"comment-likes":{"description":"","type":"boolean","default":0,"required":false},"comments":{"description":"","type":"boolean","default":0,"required":false},"contact-form":{"description":"","type":"boolean","default":0,"required":false},"copy-post":{"description":"","type":"boolean","default":0,"required":false},"custom-content-types":{"description":"","type":"boolean","default":0,"required":false},"custom-css":{"description":"","type":"boolean","default":0,"required":false},"google-fonts":{"description":"","type":"boolean","default":0,"required":false},"gravatar-hovercards":{"description":"","type":"boolean","default":0,"required":false},"infinite-scroll":{"description":"","type":"boolean","default":0,"required":false},"json-api":{"description":"","type":"boolean","default":0,"required":false},"latex":{"description":"","type":"boolean","default":0,"required":false},"likes":{"description":"","type":"boolean","default":0,"required":false},"markdown":{"description":"","type":"boolean","default":0,"required":false},"masterbar":{"description":"","type":"boolean","default":0,"required":false},"monitor":{"description":"","type":"boolean","default":0,"required":false},"notes":{"description":"","type":"boolean","default":0,"required":false},"photon-cdn":{"description":"","type":"boolean","default":0,"required":false},"photon":{"description":"","type":"boolean","default":0,"required":false},"post-by-email":{"description":"","type":"boolean","default":0,"required":false},"post-list":{"description":"","type":"boolean","default":0,"required":false},"protect":{"description":"","type":"boolean","default":0,"required":false},"publicize":{"description":"","type":"boolean","default":0,"required":false},"related-posts":{"description":"","type":"boolean","default":0,"required":false},"search":{"description":"","type":"boolean","default":0,"required":false},"seo-tools":{"description":"","type":"boolean","default":0,"required":false},"sharedaddy":{"description":"","type":"boolean","default":0,"required":false},"shortcodes":{"description":"","type":"boolean","default":0,"required":false},"shortlinks":{"description":"","type":"boolean","default":0,"required":false},"sitemaps":{"description":"","type":"boolean","default":0,"required":false},"sso":{"description":"","type":"boolean","default":0,"required":false},"stats":{"description":"","type":"boolean","default":0,"required":false},"subscriptions":{"description":"","type":"boolean","default":0,"required":false},"tiled-gallery":{"description":"","type":"boolean","default":0,"required":false},"vaultpress":{"description":"","type":"boolean","default":0,"required":false},"verification-tools":{"description":"","type":"boolean","default":0,"required":false},"videopress":{"description":"","type":"boolean","default":0,"required":false},"waf":{"description":"","type":"boolean","default":0,"required":false},"widget-visibility":{"description":"","type":"boolean","default":0,"required":false},"widgets":{"description":"","type":"boolean","default":0,"required":false},"woocommerce-analytics":{"description":"","type":"boolean","default":0,"required":false},"wordads":{"description":"","type":"boolean","default":0,"required":false}}},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/settings"}]}},"\/jetpack\/v4\/settings\/(?P[a-z\\-]+)":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"default":"edit","required":false}}}]},"\/jetpack\/v4\/options\/(?P[a-z\\-]+)":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/updates\/plugins":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/updates\/plugins"}]}},"\/jetpack\/v4\/notice\/(?P[a-z\\-_]+)":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/plugins":{"namespace":"jetpack\/v4","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"slug":{"type":"string","description":"WordPress.org plugin directory slug.","pattern":"[\\w\\-]+","required":true},"status":{"description":"The plugin activation status.","type":"string","enum":["inactive","active"],"default":"inactive","required":false},"source":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/plugins"}]}},"\/jetpack\/v4\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"type":"string","required":true},"source":{"type":"string","required":false}}}]},"\/jetpack\/v4\/plugin\/(?P[a-z\\\/\\.\\-_]+)":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/widgets\/(?P[0-9a-z\\-_]+)":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"keyring_id":{"type":"integer","required":true}}}]},"\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)\/(?[0-9]+)":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/recommendations\/data":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"data":{"type":"object","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/recommendations\/data"}]}},"\/jetpack\/v4\/recommendations\/step":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"step":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/recommendations\/step"}]}},"\/jetpack\/v4\/recommendations\/product-suggestions":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/recommendations\/product-suggestions"}]}},"\/jetpack\/v4\/recommendations\/upsell":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/recommendations\/upsell"}]}},"\/jetpack\/v4\/recommendations\/conditional":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/recommendations\/conditional"}]}},"\/jetpack\/v4\/site\/discount":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/site\/discount"}]}},"\/jetpack\/v4\/jetpack_crm":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"extension":{"type":"text","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/jetpack_crm"}]}},"\/jetpack\/v4\/purchase-token":{"namespace":"jetpack\/v4","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/purchase-token"}]}},"\/jetpack\/v4\/seen-wc-connection-modal":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/seen-wc-connection-modal"}]}},"\/jetpack\/v4\/intro-offers":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/intro-offers"}]}},"\/jetpack\/v4\/subscribers\/auth":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"redirect_url":{"description":"The URL to redirect to.","type":"string","format":"uri","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/subscribers\/auth"}]}},"\/jetpack\/v4\/licensing\/error":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"error":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/error"}]}},"\/jetpack\/v4\/licensing\/set-license":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"license":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/set-license"}]}},"\/jetpack\/v4\/licensing\/user\/licenses":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/user\/licenses"}]}},"\/jetpack\/v4\/licensing\/user\/counts":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/user\/counts"}]}},"\/jetpack\/v4\/licensing\/user\/activation-notice-dismiss":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"last_detached_count":{"type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/user\/activation-notice-dismiss"}]}},"\/jetpack\/v4\/licensing\/attach-licenses":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"licenses":{"type":"array","items":{"type":"string"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/licensing\/attach-licenses"}]}},"\/woolentor\/v1":{"namespace":"woolentor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"woolentor\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/woolentor\/v1"}]}},"\/woolentor\/v1\/category":{"namespace":"woolentor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"querySlug":{"required":false},"queryLimit":{"required":false},"queryOrder":{"required":false},"queryType":{"required":false},"wpnonce":{"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/woolentor\/v1\/category"}]}},"\/woolentor\/v1\/products":{"namespace":"woolentor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"perPage":{"required":false},"categories":{"required":false},"orderBy":{"required":false},"order":{"required":false},"filterBy":{"required":false},"offset":{"required":false},"include":{"required":false},"exclude":{"required":false},"wpnonce":{"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/woolentor\/v1\/products"}]}},"\/woolentor\/v1\/imagesizes":{"namespace":"woolentor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"wpnonce":{"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/woolentor\/v1\/imagesizes"}]}},"\/hostgator\/v1":{"namespace":"hostgator\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"hostgator\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/hostgator\/v1"}]}},"\/hostgator\/v1\/caching":{"namespace":"hostgator\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/hostgator\/v1\/caching"}]}},"\/hostgator\/v1\/settings":{"namespace":"hostgator\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/hostgator\/v1\/settings"}]}},"\/jetpack\/v4\/heartbeat\/data":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"prefix":{"description":"Prefix to add before the stats identifiers.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/heartbeat\/data"}]}},"\/jetpack\/v4\/verify_xmlrpc_error":{"namespace":"jetpack\/v4","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"nonce":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/verify_xmlrpc_error"}]}},"\/jetpack\/v4\/verify_registration":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/verify_registration"}]}},"\/jetpack\/v4\/remote_authorize":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/remote_authorize"}]}},"\/jetpack\/v4\/remote_provision":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/remote_provision"}]}},"\/jetpack\/v4\/remote_register":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/remote_register"}]}},"\/jetpack\/v4\/remote_connect":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/remote_connect"}]}},"\/jetpack\/v4\/connection\/check":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/check"}]}},"\/jetpack\/v4\/connection":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"isActive":{"description":"Set to false will trigger the site to disconnect.","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection"}]}},"\/jetpack\/v4\/connection\/data":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/data"}]}},"\/jetpack\/v4\/connection\/plugins":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/plugins"}]}},"\/jetpack\/v4\/connection\/reconnect":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/reconnect"}]}},"\/jetpack\/v4\/connection\/register":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"from":{"description":"Indicates where the registration action was triggered for tracking\/segmentation purposes","type":"string","required":false},"registration_nonce":{"description":"The registration nonce","type":"string","required":true},"redirect_uri":{"description":"URI of the admin page where the user should be redirected after connection flow","type":"string","required":false},"plugin_slug":{"description":"Indicates from what plugin the request is coming from","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/register"}]}},"\/jetpack\/v4\/connection\/authorize_url":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"redirect_uri":{"description":"URI of the admin page where the user should be redirected after connection flow","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/authorize_url"}]}},"\/jetpack\/v4\/user-token":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"user_token":{"description":"New user token","type":"string","required":true},"is_connection_owner":{"description":"Is connection owner","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/user-token"}]}},"\/jetpack\/v4\/connection\/owner":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"owner":{"description":"New owner","type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/connection\/owner"}]}},"\/jetpack\/v4\/sync\/full-sync":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"modules":{"description":"Data Modules that should be included in Full Sync","type":"array","required":false},"users":{"description":"User IDs to include in Full Sync or \"initial\"","required":false},"posts":{"description":"Post IDs to include in Full Sync","type":"array","required":false},"comments":{"description":"Comment IDs to include in Full Sync","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/full-sync"}]}},"\/jetpack\/v4\/sync\/status":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"fields":{"description":"Comma seperated list of additional fields that should be included in status.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/status"}]}},"\/jetpack\/v4\/sync\/health":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"New Sync health status","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/health"}]}},"\/jetpack\/v4\/sync\/settings":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/settings"}]}},"\/jetpack\/v4\/sync\/object":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET","POST","PUT","PATCH","DELETE"],"args":{"module_name":{"description":"Name of Sync module","type":"string","required":false},"object_type":{"description":"Object Type","type":"string","required":false},"object_ids":{"description":"Objects Identifiers","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/object"}]}},"\/jetpack\/v4\/sync\/now":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"queue":{"description":"Name of Sync queue.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/now"}]}},"\/jetpack\/v4\/sync\/checkout":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/checkout"}]}},"\/jetpack\/v4\/sync\/close":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/close"}]}},"\/jetpack\/v4\/sync\/unlock":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"queue":{"description":"Name of Sync queue.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/unlock"}]}},"\/jetpack\/v4\/sync\/object-id-range":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"sync_module":{"description":"Name of Sync module.","type":"string","required":true},"batch_size":{"description":"Size of batches","type":"int","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/object-id-range"}]}},"\/jetpack\/v4\/sync\/data-check":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"perform_text_conversion":{"description":"If text fields should be converted to latin1 in checksum calculation.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/data-check"}]}},"\/jetpack\/v4\/sync\/data-histogram":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"columns":{"description":"Column mappings","type":"array","required":false},"object_type":{"description":"Object Type","type":"string","required":false},"buckets":{"description":"Number of histogram buckets.","type":"int","required":false},"start_id":{"description":"Start ID for the histogram","type":"int","required":false},"end_id":{"description":"End ID for the histogram","type":"int","required":false},"strip_non_ascii":{"description":"Strip non-ascii characters?","type":"boolean","required":false},"shared_salt":{"description":"Shared Salt to use when generating checksum","type":"string","required":false},"only_range_edges":{"description":"Should only range edges be returned","type":"boolean","required":false},"detailed_drilldown":{"description":"Do we want the checksum or object ids.","type":"boolean","required":false},"perform_text_conversion":{"description":"If text fields should be converted to latin1 in checksum calculation.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/data-histogram"}]}},"\/jetpack\/v4\/sync\/spawn-sync":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/spawn-sync"}]}},"\/jetpack\/v4\/sync\/locks":{"namespace":"jetpack\/v4","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/sync\/locks"}]}},"\/jetpack\/v4\/jitm":{"namespace":"jetpack\/v4","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/jitm"}]}},"\/jetpack\/v4\/identity-crisis\/confirm-safe-mode":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/confirm-safe-mode"}]}},"\/jetpack\/v4\/identity-crisis\/migrate":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/migrate"}]}},"\/jetpack\/v4\/identity-crisis\/start-fresh":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"redirect_uri":{"description":"URI of the admin page where the user should be redirected after connection flow","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/start-fresh"}]}},"\/jetpack\/v4\/identity-crisis\/idc-url-validation":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/idc-url-validation"}]}},"\/jetpack\/v4\/identity-crisis\/url-secret":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/url-secret"}]}},"\/jetpack\/v4\/identity-crisis\/compare-url-secret":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"secret":{"description":"URL secret to compare to the ones stored in the database.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/identity-crisis\/compare-url-secret"}]}},"\/jetpack\/v4\/search\/plan":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/plan"}]}},"\/jetpack\/v4\/search\/settings":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH","GET"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/settings"}]}},"\/jetpack\/v4\/search\/stats":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/stats"}]}},"\/jetpack\/v4\/search\/pricing":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/pricing"}]}},"\/jetpack\/v4\/search\/plan\/activate":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/plan\/activate"}]}},"\/jetpack\/v4\/search\/plan\/deactivate":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/plan\/deactivate"}]}},"\/jetpack\/v4\/search":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search"}]}},"\/jetpack\/v4\/search\/local-stats":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/search\/local-stats"}]}},"\/jetpack\/v4\/waf":{"namespace":"jetpack\/v4","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/waf"}]}},"\/jetpack\/v4\/waf\/update-rules":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/waf\/update-rules"}]}},"\/wpcom\/v2":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wpcom\/v2","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2"}]}},"\/wpcom\/v2\/videopress\/meta":{"namespace":"wpcom\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"The post id for the attachment.","type":"int","required":true},"title":{"description":"The title of the video.","type":"string","required":false},"description":{"description":"The description of the video.","type":"string","required":false},"caption":{"description":"The caption of the video.","type":"string","required":false},"rating":{"description":"The video content rating. One of G, PG-13 or R-17","type":"string","required":false},"display_embed":{"description":"Display the share menu in the player.","type":"boolean","required":false},"allow_download":{"description":"Display download option and allow viewers to download this video","type":"boolean","required":false},"privacy_setting":{"description":"How to determine if the video should be public or private","type":"int","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/videopress\/meta"}]}},"\/wpcom\/v2\/videopress\/(?P\\w+)\/poster":{"namespace":"wpcom\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"at_time":{"description":"The time in the video to use as the poster frame.","type":"int","required":false},"is_millisec":{"description":"Whether the time is in milliseconds or seconds.","type":"boolean","required":false},"poster_attachment_id":{"description":"The attachment id of the poster image.","type":"int","required":false}}}]},"\/wpcom\/v2\/videopress\/(?P\\w+)\/check-ownership\/(?P\\d+)":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wpcom\/v2\/videopress\/upload-jwt":{"namespace":"wpcom\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/videopress\/upload-jwt"}]}},"\/wpcom\/v2\/videopress\/playback-jwt\/(?P\\w+)":{"namespace":"wpcom\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/stats\/blog":{"namespace":"jetpack\/v4","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats\/blog"}]}},"\/jetpack\/v4\/stats-app":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack\/v4\/stats-app","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/(?P[\\-\\w]+)\/(?P[\\d]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/(?P[\\-\\w]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/posts\/(?P[\\d]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/posts\/(?P[\\d]+)\/likes":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/stats"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/site-has-never-published-post":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/site-has-never-published-post"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/posts":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/posts"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/subscribers\/counts":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/subscribers\/counts"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats\/usage":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats\/usage"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/wordads\/earnings":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/wordads\/earnings"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/wordads\/stats":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/wordads\/stats"}]}},"\/jetpack\/v4\/stats-app\/stats\/notices":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"string","description":"ID of the notice","required":true},"status":{"type":"string","description":"Status of the notice","required":true},"postponed_for":{"type":"number","default":null,"description":"Postponed for (in seconds)","minimum":0,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/stats\/notices"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/notices":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH","GET"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"string","description":"ID of the notice","required":true},"status":{"type":"string","description":"Status of the notice","required":true},"postponed_for":{"type":"number","default":null,"description":"Postponed for (in seconds)","minimum":0,"required":false}}},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/notices"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/referrers\/spam\/new":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"domain":{"type":"string","description":"Domain of the referrer","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/referrers\/spam\/new"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/referrers\/spam\/delete":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"domain":{"type":"string","description":"Domain of the referrer","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/referrers\/spam\/delete"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/modules":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH","GET"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/modules"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/module-settings":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH","GET"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/jetpack-stats-dashboard\/module-settings"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/emails\/(?P[\\-\\w\\d]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/opens\/emails\/(?P[\\d]+)\/(?P[\\-\\w]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/clicks\/emails\/(?P[\\d]+)\/(?P[\\-\\w]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/(?P[\\-\\w]+)\/emails\/(?P[\\d]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/utm\/(?P[_,\\-\\w]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/stats\/devices\/(?P[\\w]+)":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/stats-app\/sites\/179547400\/commercial-classification":{"namespace":"jetpack\/v4\/stats-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/commercial-classification"}]}},"\/jetpack\/v4\/stats-app\/sites\/179547400\/purchases":{"namespace":"jetpack\/v4\/stats-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/stats-app\/sites\/179547400\/purchases"}]}},"\/elementor\/v1":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"elementor\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1"}]}},"\/elementor\/v1\/site-editor":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-editor"}]}},"\/elementor\/v1\/site-editor\/templates":{"namespace":"elementor\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-editor\/templates"}]}},"\/elementor\/v1\/site-editor\/templates\/(?P[\\w]+)":{"namespace":"elementor\/v1","methods":["DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":false}}}]},"\/elementor\/v1\/site-editor\/conditions-config":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-editor\/conditions-config"}]}},"\/elementor\/v1\/site-editor\/templates-conditions\/(?P[\\w]+)":{"namespace":"elementor\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":false}}}]},"\/elementor\/v1\/site-editor\/templates-conditions-conflicts":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts"}]}},"\/monsterinsights\/v1":{"namespace":"monsterinsights\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"monsterinsights\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/monsterinsights\/v1"}]}},"\/monsterinsights\/v1\/popular-posts\/themes\/(?P[a-zA-Z0-9-]+)":{"namespace":"monsterinsights\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"required":false}}}]},"\/monsterinsights\/v1\/terms\/(?P[a-zA-Z0-9-_]+)":{"namespace":"monsterinsights\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"required":false}}}]},"\/monsterinsights\/v1\/taxonomy\/(?P[a-zA-Z0-9-_]+)":{"namespace":"monsterinsights\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"required":false}}}]},"\/if-menu\/v1":{"namespace":"if-menu\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"if-menu\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/if-menu\/v1"}]}},"\/if-menu\/v1\/did-you-made-this-request":{"namespace":"if-menu\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/if-menu\/v1\/did-you-made-this-request"}]}},"\/wpcom\/v2\/business-hours\/localized-week":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/business-hours\/localized-week"}]}},"\/wpcom\/v2\/admin-color":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/admin-color"}]}},"\/wpcom\/v2\/admin-menu":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/admin-menu"}]}},"\/wpcom\/v2\/jetpack-ai\/ai-assistant-feature":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/jetpack-ai\/ai-assistant-feature"}]}},"\/wpcom\/v2\/app-media":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"number":{"description":"Number of media items in the request","type":"number","default":20,"required":false},"page_handle":{"type":"number","required":false},"after":{"description":"Timestamp since the media was uploaded","type":"number","default":0,"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/app-media"}]}},"\/wpcom\/v2\/blog-stats":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"post_id":{"description":"Post ID to obtain stats for.","type":["string","integer"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/blog-stats"}]}},"\/wpcom\/v2\/email-preview":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/email-preview"}]}},"\/wpcom\/v2\/external-media\/list\/(?Pgoogle_photos|openverse|pexels)":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"search":{"description":"Media collection search term.","type":"string","required":false},"number":{"description":"Number of media items in the request","type":"number","default":20,"required":false},"path":{"type":"string","required":false},"page_handle":{"type":"string","required":false}}}]},"\/wpcom\/v2\/external-media\/copy\/(?Pgoogle_photos|openverse|pexels)":{"namespace":"wpcom\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"media":{"description":"Media data to copy.","items":{"type":"array","items":{"type":"object","required":true,"properties":{"caption":{"type":"string"},"guid":{"type":"object","properties":{"caption":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"},"url":{"format":"uri","type":"string"}}},"title":{"type":"string"},"meta":{"type":"object","additionalProperties":false,"properties":{"vertical_id":{"type":"string","format":"text-field"},"pexels_object":{"type":"object"}}}}}},"type":"array","required":true},"post_id":{"description":"The post ID to attach the upload to.","type":"number","minimum":0,"required":false}}}]},"\/wpcom\/v2\/external-media\/connection\/(?Pgoogle_photos)":{"namespace":"wpcom\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["DELETE"],"args":[]}]},"\/wpcom\/v2\/following\/mine":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"ignore_user_blogs":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/following\/mine"}]}},"\/wpcom\/v2\/following\/recommendations":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"number":{"type":"number","default":5,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/following\/recommendations"}]}},"\/wpcom\/v2\/goodreads\/user-id":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Goodreads user ID","type":"integer","minimum":1,"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/goodreads\/user-id"}]}},"\/wpcom\/v2\/checkGoogleDocVisibility":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/checkGoogleDocVisibility"}]}},"\/wpcom\/v2\/instagram-gallery\/connect-url":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/instagram-gallery\/connect-url"}]}},"\/wpcom\/v2\/instagram-gallery\/connections":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/instagram-gallery\/connections"}]}},"\/wpcom\/v2\/instagram-gallery\/gallery":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"access_token":{"description":"An Instagram Keyring access token.","type":"integer","minimum":1,"required":true},"count":{"description":"How many Instagram posts?","type":"integer","minimum":1,"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/instagram-gallery\/gallery"}]}},"\/wpcom\/v2\/mailchimp":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/mailchimp"}]}},"\/wpcom\/v2\/mailchimp\/groups":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/mailchimp\/groups"}]}},"\/wpcom\/v2\/newsletter-categories":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/newsletter-categories"}]}},"\/wpcom\/v2\/newsletter-categories\/count":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"term_ids":{"default":"","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/newsletter-categories\/count"}]}},"\/wpcom\/v2\/podcast-player":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The Podcast RSS feed URL.","type":"string","required":true},"guids":{"description":"A list of unique identifiers for fetching specific podcast episodes.","type":"array","required":true},"episode-options":{"description":"Whether we should return the episodes list for use in the selection UI","type":"boolean","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/podcast-player"}]}},"\/wpcom\/v2\/podcast-player\/track-quantity":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/podcast-player\/track-quantity"}]}},"\/wpcom\/v2\/publicize\/connections":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/publicize\/connections"}]}},"\/wpcom\/v2\/posts\/(?P\\d+)\/publicize":{"namespace":"wpcom\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"message":{"description":"The message to share.","type":"string","required":true},"skipped_connections":{"description":"Array of external connection IDs to skip sharing.","type":"array","required":false}}}]},"\/wpcom\/v2\/related-posts":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/related-posts"}]}},"\/wpcom\/v2\/related-posts\/enable":{"namespace":"wpcom\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/related-posts\/enable"}]}},"\/wpcom\/v2\/related-posts\/(?P[\\d]+)":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false}}}]},"\/wpcom\/v2\/resolve-redirect\/?(?P.+)?":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL to check for redirects.","type":"string","required":true}}}]},"\/wpcom\/v2\/search":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/search"}]}},"\/wpcom\/v2\/send-email-preview":{"namespace":"wpcom\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/send-email-preview"}]}},"\/wpcom\/v2\/template-loader\/(?P\\w+)":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"template_type":{"description":"The type of the template.","type":"string","required":true}}}]},"\/wpcom\/v2\/post-types":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/post-types"}]}},"\/wpcom\/v2\/top-posts":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"period":{"description":"Timeframe for stats.","type":["string","integer"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/top-posts"}]}},"\/wpcom\/v2\/transients\/(?P\\w{1,172})":{"namespace":"wpcom\/v2","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"name":{"description":"The name of the transient to delete.","type":"string","required":true}}}]},"\/wpcom\/v3":{"namespace":"wpcom\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wpcom\/v3","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v3"}]}},"\/wpcom\/v3\/blogging-prompts":{"namespace":"wpcom\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"after":{"description":"Show prompts following a given date.","type":"string","required":false},"before":{"description":"Show prompts before a given date.","type":"string","required":false},"force_year":{"description":"Force the returned prompts to be for a specific year. Returns only one prompt for each day.","type":"integer","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v3\/blogging-prompts"}]}},"\/wpcom\/v3\/blogging-prompts\/(?P[\\d]+)":{"namespace":"wpcom\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the prompt.","type":"integer","required":false}}}]},"\/wpcom\/v2\/gutenberg\/available-extensions":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/gutenberg\/available-extensions"}]}},"\/wpcom\/v2\/hello":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/hello"}]}},"\/wpcom\/v2\/memberships\/status\/?":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"type":"string","required":false},"source":{"type":"string","required":false},"is_editable":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/memberships\/status\/?"}]}},"\/wpcom\/v2\/memberships\/product\/?":{"namespace":"wpcom\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"title":{"type":"string","required":true},"price":{"type":"float","required":true},"currency":{"type":"string","required":true},"interval":{"type":"string","required":true},"is_editable":{"type":"boolean","required":false},"buyer_can_change_amount":{"type":"boolean","required":false},"tier":{"type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/memberships\/product\/?"}]}},"\/wpcom\/v2\/memberships\/products\/?":{"namespace":"wpcom\/v2","methods":["POST","GET"],"endpoints":[{"methods":["POST"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/memberships\/products\/?"}]}},"\/wpcom\/v2\/memberships\/product\/(?P[0-9]+)\/?":{"namespace":"wpcom\/v2","methods":["POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"type":"string","required":true},"price":{"type":"float","required":true},"currency":{"type":"string","required":true},"interval":{"type":"string","required":true},"is_editable":{"type":"boolean","required":false},"buyer_can_change_amount":{"type":"boolean","required":false},"tier":{"type":"integer","required":false}}},{"methods":["DELETE"],"args":{"cancel_subscriptions":{"type":"boolean","required":false}}}]},"\/wpcom\/v2\/publicize\/connection-test-results":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/publicize\/connection-test-results"}]}},"\/wpcom\/v2\/publicize\/services":{"namespace":"wpcom\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wpcom\/v2\/publicize\/services"}]}},"\/wpcom\/v2\/service-api-keys\/(?P[a-z\\-_]+)":{"namespace":"wpcom\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"service_api_key":{"type":"string","required":true}}},{"methods":["DELETE"],"args":[]}]},"\/wc\/v3":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v3","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3"}]}},"\/wc\/v3\/wc_stripe\/connection_tokens":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/connection_tokens"}]}},"\/wc\/v3\/wc_stripe\/terminal\/locations":{"namespace":"wc\/v3","methods":["POST","GET"],"endpoints":[{"methods":["POST"],"args":{"display_name":{"type":"string","required":true},"address":{"type":"object","required":true}}},{"methods":["GET"],"args":{"ending_before":{"type":"string","required":false},"limit":{"type":"integer","required":false},"starting_after":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations"}]}},"\/wc\/v3\/wc_stripe\/terminal\/locations\/store":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations\/store"}]}},"\/wc\/v3\/wc_stripe\/terminal\/locations\/(?P\\w+)":{"namespace":"wc\/v3","methods":["DELETE","GET","POST"],"endpoints":[{"methods":["DELETE"],"args":[]},{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"display_name":{"type":"string","required":false},"address":{"type":"object","required":false}}}]},"\/wc\/v3\/wc_stripe\/orders\/(?P\\d+)\/create_customer":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/wc\/v3\/wc_stripe\/orders\/(?P\\w+)\/capture_terminal_payment":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"payment_intent_id":{"required":true}}}]},"\/wc\/v1":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1"}]}},"\/wc\/v1\/connect\/stripe\/oauth\/init":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/init"}]}},"\/wc\/v1\/connect\/stripe\/oauth\/connect":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/connect"}]}},"\/wc\/v3\/wc_stripe\/account":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/account"}]}},"\/wc\/v3\/wc_stripe\/account\/summary":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/account\/summary"}]}},"\/wc\/v3\/wc_stripe\/account\/webhook-status-message":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/account\/webhook-status-message"}]}},"\/wc\/v3\/wc_stripe\/account\/refresh":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/account\/refresh"}]}},"\/wc\/v3\/wc_stripe\/upe_flag_toggle":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"is_upe_enabled":{"description":"Determines if the UPE feature flag is enabled.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/upe_flag_toggle"}]}},"\/wc\/v3\/wc_stripe\/settings":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"is_stripe_enabled":{"description":"If Stripe should be enabled.","type":"boolean","required":false},"is_test_mode_enabled":{"description":"Stripe test mode setting.","type":"boolean","required":false},"title":{"description":"Stripe display title.","type":"string","required":false},"title_upe":{"description":"New checkout experience title.","type":"string","required":false},"description":{"description":"Stripe display description.","type":"string","required":false},"enabled_payment_method_ids":{"description":"Payment method IDs that should be enabled. Other methods will be disabled.","type":"array","items":{"type":"string","enum":["card"]},"required":false},"is_payment_request_enabled":{"description":"If Stripe express checkouts should be enabled.","type":"boolean","required":false},"payment_request_button_type":{"description":"Express checkout button types.","type":"string","enum":["default","buy","donate","book"],"required":false},"payment_request_button_theme":{"description":"Express checkout button themes.","type":"string","enum":["dark","light","light-outline"],"required":false},"payment_request_button_size":{"description":"Express checkout button sizes.","type":"string","enum":["default","medium","large"],"required":false},"payment_request_button_locations":{"description":"Express checkout locations that should be enabled.","type":"array","items":{"type":"string","enum":["product","cart","checkout"]},"required":false},"is_manual_capture_enabled":{"description":"If manual capture of charges should be enabled.","type":"boolean","required":false},"is_saved_cards_enabled":{"description":"If \"Saved cards\" should be enabled.","type":"boolean","required":false},"is_separate_card_form_enabled":{"description":"If credit card number field, expiry date field, and CVC field should be separate.","type":"boolean","required":false},"statement_descriptor":{"description":"Bank account descriptor to be displayed in customers' bank accounts.","type":"string","required":false},"is_short_statement_descriptor_enabled":{"description":"When enabled, we'll include the order number for card and express checkout transactions.","type":"boolean","required":false},"short_statement_descriptor":{"description":"We'll use the short version in combination with the customer order number.","type":"string","required":false},"is_debug_log_enabled":{"description":"When enabled, payment error logs will be saved to WooCommerce > Status > Logs.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/settings"}]}},"\/wc\/v3\/wc_stripe\/account_keys":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"publishable_key":{"description":"Your Stripe API Publishable key, obtained from your Stripe dashboard.","type":"string","required":false},"secret_key":{"description":"Your Stripe API Secret, obtained from your Stripe dashboard.","type":"string","required":false},"webhook_secret":{"description":"Your Stripe webhook endpoint URL, obtained from your Stripe dashboard.","type":"string","required":false},"test_publishable_key":{"description":"Your Stripe testing API Publishable key, obtained from your Stripe dashboard.","type":"string","required":false},"test_secret_key":{"description":"Your Stripe testing API Secret, obtained from your Stripe dashboard.","type":"string","required":false},"test_webhook_secret":{"description":"Your Stripe testing webhook endpoint URL, obtained from your Stripe dashboard.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/wc_stripe\/account_keys"}]}},"\/wc\/v3\/wc_stripe\/payment-gateway\/(?P[a-z0-9_]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-paypal\/v1":{"namespace":"wc-paypal\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc-paypal\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-paypal\/v1"}]}},"\/wc-paypal\/v1\/onboarding\/get-params":{"namespace":"wc-paypal\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-paypal\/v1\/onboarding\/get-params"}]}},"\/wc-paypal\/v1\/onboarding\/get-status":{"namespace":"wc-paypal\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-paypal\/v1\/onboarding\/get-status"}]}},"\/wc-paypal\/v1\/onboarding\/set-credentials":{"namespace":"wc-paypal\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-paypal\/v1\/onboarding\/set-credentials"}]}},"\/paypal\/v1":{"namespace":"paypal\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"paypal\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/paypal\/v1"}]}},"\/paypal\/v1\/incoming":{"namespace":"paypal\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/paypal\/v1\/incoming"}]}},"\/wc\/store":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/store","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store"}]}},"\/wc\/store\/cart":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart"}]}},"\/wc\/store\/cart\/add-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"id":{"description":"The cart item product or variation ID.","type":"integer","required":false},"quantity":{"description":"Quantity of this item in the cart.","type":"integer","required":false},"variation":{"description":"Chosen attributes (for variations).","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Variation attribute name.","type":"string","context":["view","edit"]},"value":{"description":"Variation attribute value.","type":"string","context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/add-item"}]}},"\/wc\/store\/cart\/apply-coupon":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"code":{"description":"Unique identifier for the coupon within the cart.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/apply-coupon"}]}},"\/wc\/store\/cart\/coupons":{"namespace":"wc\/store","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"code":{"description":"The coupon's unique code.","type":"string","required":false},"discount_type":{"description":"The discount type for the coupon (e.g. percentage or fixed amount)","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/coupons"}]}},"\/wc\/store\/cart\/coupons\/(?P[\\w-]+)":{"namespace":"wc\/store","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"code":{"description":"Unique identifier for the coupon within the cart.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"code":{"description":"Unique identifier for the coupon within the cart.","type":"string","required":false}}}]},"\/wc\/store\/cart\/extensions":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"namespace":{"description":"Extension's name - this will be used to ensure the data in the request is routed appropriately.","type":"string","required":false},"data":{"description":"Additional data to pass to the extension","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/extensions"}]}},"\/wc\/store\/cart\/items":{"namespace":"wc\/store","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"extensions":{"type":"object","properties":[],"default":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/items"}]}},"\/wc\/store\/cart\/items\/(?P[\\w-]{32})":{"namespace":"wc\/store","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"key":{"description":"Unique identifier for the item within the cart.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"key":{"description":"Unique identifier for the item within the cart.","type":"string","required":false},"extensions":{"type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"key":{"description":"Unique identifier for the item within the cart.","type":"string","required":false}}}]},"\/wc\/store\/cart\/remove-coupon":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"code":{"description":"Unique identifier for the coupon within the cart.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/remove-coupon"}]}},"\/wc\/store\/cart\/remove-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"key":{"description":"Unique identifier (key) for the cart item.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/remove-item"}]}},"\/wc\/store\/cart\/select-shipping-rate":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"package_id":{"description":"The ID of the package being shipped.","type":["integer","string"],"required":true},"rate_id":{"description":"The chosen rate ID for the package.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/select-shipping-rate"}]}},"\/wc\/store\/cart\/update-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"key":{"description":"Unique identifier (key) for the cart item to update.","type":"string","required":false},"quantity":{"description":"New quantity of the item in the cart.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/update-item"}]}},"\/wc\/store\/cart\/update-customer":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":{"billing_address":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true},"email":{"description":"Email","type":"string","context":["view","edit"],"required":true}},"required":false},"shipping_address":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/cart\/update-customer"}]}},"\/wc\/store\/checkout":{"namespace":"wc\/store","methods":["GET","POST","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"payment_data":{"description":"Data to pass through to the payment method when processing payment.","type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":["string","boolean"]}}},"required":false},"customer_note":{"description":"Note added to the order by the customer during checkout.","type":"string","required":false},"billing_address":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true},"email":{"description":"Email","type":"string","context":["view","edit"],"required":true}},"required":true},"shipping_address":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true}},"required":true},"payment_method":{"description":"The ID of the payment method being used to process the payment.","type":"string","enum":{"0":"bacs","1":"cheque","2":"cod","3":"paypal","4":"ppec_paypal","5":"stripe","6":"stripe_sepa","7":"stripe_bancontact","8":"stripe_sofort","9":"stripe_giropay","10":"stripe_eps","11":"stripe_ideal","12":"stripe_p24","13":"stripe_alipay","14":"stripe_multibanco","15":"square_credit_card","999":"stripe_boleto","1000":"stripe_oxxo","1001":"ppcp-gateway","1002":"ppcp-credit-card-gateway"},"required":false},"create_account":{"description":"Whether to create a new user account as part of order processing.","type":"boolean","required":false},"extensions":{"type":"object","properties":[],"default":[],"required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"customer_note":{"description":"Note added to the order by the customer during checkout.","type":"string","required":false},"billing_address":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true},"email":{"description":"Email","type":"string","context":["view","edit"],"required":true}},"required":false},"shipping_address":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name","type":"string","context":["view","edit"],"required":true},"last_name":{"description":"Last name","type":"string","context":["view","edit"],"required":true},"company":{"description":"Company","type":"string","context":["view","edit"],"required":true},"address_1":{"description":"Address","type":"string","context":["view","edit"],"required":true},"address_2":{"description":"Apartment, suite, etc.","type":"string","context":["view","edit"],"required":true},"city":{"description":"City","type":"string","context":["view","edit"],"required":true},"state":{"description":"State\/County code, or name of the state, county, province, or district.","type":"string","context":["view","edit"],"required":true},"postcode":{"description":"Postal code","type":"string","context":["view","edit"],"required":true},"country":{"description":"Country\/Region code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"],"required":true},"phone":{"description":"Phone","type":"string","context":["view","edit"],"required":true}},"required":false},"payment_method":{"description":"The ID of the payment method being used to process the payment.","type":"string","enum":{"0":"bacs","1":"cheque","2":"cod","3":"paypal","4":"ppec_paypal","5":"stripe","6":"stripe_sepa","7":"stripe_bancontact","8":"stripe_sofort","9":"stripe_giropay","10":"stripe_eps","11":"stripe_ideal","12":"stripe_p24","13":"stripe_alipay","14":"stripe_multibanco","15":"square_credit_card","999":"stripe_boleto","1000":"stripe_oxxo","1001":"ppcp-gateway","1002":"ppcp-credit-card-gateway"},"required":false},"create_account":{"description":"Whether to create a new user account as part of order processing.","type":"boolean","required":false},"extensions":{"type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/checkout"}]}},"\/wc\/store\/products\/attributes":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products\/attributes"}]}},"\/wc\/store\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","minimum":0,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"Sort ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort by term property.","type":"string","default":"name","enum":["name","slug","count"],"required":false},"hide_empty":{"description":"If true, empty terms will not be returned.","type":"boolean","default":true,"required":false}}}]},"\/wc\/store\/products\/categories":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","minimum":0,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"Sort ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort by term property.","type":"string","default":"name","enum":["name","slug","count"],"required":false},"hide_empty":{"description":"If true, empty terms will not be returned.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products\/categories"}]}},"\/wc\/store\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wc\/store\/products\/collection-data":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","default":10,"minimum":0,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"date_column":{"description":"When limiting response using after\/before, which date column to compare against.","type":"string","default":"date","enum":["date","date_gmt","modified","modified_gmt"],"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable","variation"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"category_operator":{"description":"Operator to compare product category terms.","type":"string","enum":["in","not in","and"],"default":"in","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"tag_operator":{"description":"Operator to compare product tags.","type":"string","enum":["in","not in","and"],"default":"in","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price, provided using the smallest unit of the currency.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price, provided using the smallest unit of the currency.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"array","items":{"type":"string","enum":["instock","outofstock","onbackorder"],"sanitize_callback":"sanitize_text_field","validate_callback":"rest_validate_request_arg"},"default":[],"required":false},"attributes":{"description":"Limit result set to products with selected global attributes.","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Attribute taxonomy name.","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"List of attribute term IDs.","type":"array","items":{"type":"integer"},"sanitize_callback":"wp_parse_id_list"},"slug":{"description":"List of attribute slug(s). If a term ID is provided, this will be ignored.","type":"array","items":{"type":"string"},"sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"Operator to compare product attribute terms.","type":"string","enum":["in","not in","and"]}}},"default":[],"required":false},"attribute_relation":{"description":"The logical relationship between attributes when filtering across multiple at once.","type":"string","enum":["in","and"],"default":"and","required":false},"catalog_visibility":{"description":"Determines if hidden or visible catalog products are shown.","type":"string","enum":["any","visible","catalog","search","hidden"],"required":false},"rating":{"description":"Limit result set to products with a certain average rating.","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]},"default":[],"required":false},"calculate_price_range":{"description":"If true, calculates the minimum and maximum product prices for the collection.","type":"boolean","default":false,"required":false},"calculate_stock_status_counts":{"description":"If true, calculates stock counts for products in the collection.","type":"boolean","default":false,"required":false},"calculate_attribute_counts":{"description":"If requested, calculates attribute term counts for products in the collection.","type":"array","items":{"type":"object","properties":{"taxonomy":{"description":"Taxonomy name.","type":"string","context":["view","edit"],"readonly":true},"query_type":{"description":"Query type being performed which may affect counts. Valid values include \"and\" and \"or\".","type":"string","enum":["and","or"],"context":["view","edit"],"readonly":true}}},"default":[],"required":false},"calculate_rating_counts":{"description":"If true, calculates rating counts for products in the collection.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products\/collection-data"}]}},"\/wc\/store\/products\/reviews":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","default":10,"minimum":0,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","date_gmt","id","rating","product"],"required":false},"category_id":{"description":"Limit result set to reviews from specific category IDs.","type":"string","required":false},"product_id":{"description":"Limit result set to reviews from specific product IDs.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products\/reviews"}]}},"\/wc\/store\/products\/tags":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","minimum":0,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"Sort ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort by term property.","type":"string","default":"name","enum":["name","slug","count"],"required":false},"hide_empty":{"description":"If true, empty terms will not be returned.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products\/tags"}]}},"\/wc\/store\/products":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer","default":10,"minimum":0,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"date_column":{"description":"When limiting response using after\/before, which date column to compare against.","type":"string","default":"date","enum":["date","date_gmt","modified","modified_gmt"],"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable","variation"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"category_operator":{"description":"Operator to compare product category terms.","type":"string","enum":["in","not in","and"],"default":"in","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"tag_operator":{"description":"Operator to compare product tags.","type":"string","enum":["in","not in","and"],"default":"in","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price, provided using the smallest unit of the currency.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price, provided using the smallest unit of the currency.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"array","items":{"type":"string","enum":["instock","outofstock","onbackorder"],"sanitize_callback":"sanitize_text_field","validate_callback":"rest_validate_request_arg"},"default":[],"required":false},"attributes":{"description":"Limit result set to products with selected global attributes.","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Attribute taxonomy name.","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"List of attribute term IDs.","type":"array","items":{"type":"integer"},"sanitize_callback":"wp_parse_id_list"},"slug":{"description":"List of attribute slug(s). If a term ID is provided, this will be ignored.","type":"array","items":{"type":"string"},"sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"Operator to compare product attribute terms.","type":"string","enum":["in","not in","and"]}}},"default":[],"required":false},"attribute_relation":{"description":"The logical relationship between attributes when filtering across multiple at once.","type":"string","enum":["in","and"],"default":"and","required":false},"catalog_visibility":{"description":"Determines if hidden or visible catalog products are shown.","type":"string","enum":["any","visible","catalog","search","hidden"],"required":false},"rating":{"description":"Limit result set to products with a certain average rating.","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]},"default":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/products"}]}},"\/wc\/store\/products\/(?P[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/store\/batch":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/store\/batch"}]}},"\/wc-admin":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc-admin","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin"}]}},"\/wc-admin\/features":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/features"}]}},"\/wc-analytics":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc-analytics","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics"}]}},"\/wc-analytics\/admin\/notes":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["note_id","date","type","title","status"],"required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"type":{"description":"Type of note.","type":"array","items":{"enum":["error","warning","update","info","marketing","survey","email"],"type":"string"},"required":false},"status":{"description":"Status of note.","type":"array","items":{"enum":["pending","actioned","unactioned","snoozed","sent"],"type":"string"},"required":false},"source":{"description":"Source of note.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/admin\/notes"}]}},"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}}]},"\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}]},"\/wc-analytics\/admin\/notes\/delete\/all":{"namespace":"wc-analytics","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"status":{"description":"Status of note.","type":"array","items":{"enum":["pending","actioned","unactioned","snoozed","sent"],"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/admin\/notes\/delete\/all"}]}},"\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wc-analytics\/admin\/notes\/update":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/admin\/notes\/update"}]}},"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"note_id":{"description":"Unique ID for the Note.","type":"integer","required":false},"action_id":{"description":"Unique ID for the Note Action.","type":"integer","required":false}}}]},"\/wc-analytics\/coupons":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to coupons with codes matching a given string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"code":{"description":"Limit result set to resources with a specific code.","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/coupons"}]}},"\/wc-analytics\/coupons\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc-analytics\/coupons\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/coupons\/batch"}]}},"\/wc-analytics\/data":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/data"}]}},"\/wc-analytics\/data\/countries":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/data\/countries"}]}},"\/wc-analytics\/data\/countries\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO3166 alpha-2 country code.","type":"string","required":false}}}]},"\/wc-analytics\/data\/download-ips":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/data\/download-ips"}]}},"\/wc-admin\/marketing\/recommended":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"category":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/marketing\/recommended"}]}},"\/wc-admin\/marketing\/knowledge-base":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"category":{"type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/marketing\/knowledge-base"}]}},"\/wc-admin\/marketing\/overview\/activate-plugin":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"plugin":{"type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin"}]}},"\/wc-admin\/marketing\/overview\/installed-plugins":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins"}]}},"\/wc-admin\/options":{"namespace":"wc-admin","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/options"}]}},"\/wc-analytics\/orders":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":["any"],"description":"Limit result set to orders which have specific statuses.","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]},"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false},"number":{"description":"Limit result set to orders matching part of an order number.","type":"string","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"default":"pending","description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"CAD","description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/orders"}]}},"\/wc-analytics\/orders\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc-analytics\/orders\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/orders\/batch"}]}},"\/wc-analytics\/products":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Search by similar product name or sku.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order","price","popularity","rating"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"low_in_stock":{"description":"Limit result set to products that are low or out of stock. (Deprecated)","type":"boolean","default":false,"required":false}}},{"methods":["POST"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"default":"simple","description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"default":false,"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"default":true,"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products"}]}},"\/wc-analytics\/products\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean","required":false}}}]},"\/wc-analytics\/products\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/batch"}]}},"\/wc-analytics\/products\/attributes":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"search":{"description":"Search by similar attribute name.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Name for the resource.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"default":"select","description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/attributes"}]}},"\/wc-analytics\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc-analytics\/products\/attributes\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/attributes\/batch"}]}},"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"Slug identifier for the resource.","type":"string","required":false}}}]},"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false}}}]},"\/wc-analytics\/products\/categories":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"default":"default","description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/categories"}]}},"\/wc-analytics\/products\/categories\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc-analytics\/products\/categories\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/categories\/batch"}]}},"\/wc-analytics\/products\/(?P[\\d]+)\/variations":{"namespace":"wc-analytics","methods":["GET","POST","GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Search by similar product name, sku, or attribute value.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"default":"publish","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"default":"variation","description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}},{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Search by similar product name, sku, or attribute value.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"default":"publish","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"default":"variation","description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}}]},"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE","GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}},{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH","POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"name":{"description":"Product parent name.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["variation"],"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false}}}]},"\/wc-analytics\/variations":{"namespace":"wc-analytics","methods":["GET","GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Search by similar product name, sku, or attribute value.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Search by similar product name, sku, or attribute value.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/variations"}]}},"\/wc-analytics\/products\/reviews":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to reviews published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","product"],"required":false},"reviewer":{"description":"Limit result set to reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_exclude":{"description":"Ensure result set excludes reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_email":{"default":null,"description":"Limit result set to that from a specific author email.","format":"email","type":"string","required":false},"product":{"default":[],"description":"Limit result set to reviews assigned to specific product IDs.","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approved","description":"Limit result set to reviews assigned a specific status.","type":"string","enum":["all","hold","approved","spam","trash"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the product.","type":"integer","required":true},"status":{"default":"approved","description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"type":"string","description":"Name of the reviewer.","required":true},"reviewer_email":{"type":"string","description":"Email of the reviewer.","required":true},"review":{"type":"string","description":"Review content.","required":true},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/reviews"}]}},"\/wc-analytics\/products\/reviews\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc-analytics\/products\/reviews\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/reviews\/batch"}]}},"\/wc-analytics\/products\/low-in-stock":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"status":{"default":"publish","description":"Limit result set to products assigned a specific status.","type":"string","enum":["draft","pending","private","publish","future"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/products\/low-in-stock"}]}},"\/wc-analytics\/settings\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false}}}]},"\/wc-analytics\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc-admin\/themes":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"pluginzip":{"description":"A zip file of the theme to be uploaded.","type":"file","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/themes"}]}},"\/wc-admin\/plugins\/install":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/install"}]}},"\/wc-admin\/plugins\/active":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/active"}]}},"\/wc-admin\/plugins\/installed":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/installed"}]}},"\/wc-admin\/plugins\/activate":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/activate"}]}},"\/wc-admin\/plugins\/recommended-payment-plugins":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/recommended-payment-plugins"}]}},"\/wc-admin\/plugins\/connect-jetpack":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/connect-jetpack"}]}},"\/wc-admin\/plugins\/request-wccom-connect":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/request-wccom-connect"}]}},"\/wc-admin\/plugins\/finish-wccom-connect":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/finish-wccom-connect"}]}},"\/wc-admin\/plugins\/connect-wcpay":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/connect-wcpay"}]}},"\/wc-admin\/plugins\/connect-square":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/plugins\/connect-square"}]}},"\/wc-admin\/onboarding\/free-extensions":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/free-extensions"}]}},"\/wc-admin\/onboarding\/payments":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/payments"}]}},"\/wc-admin\/onboarding\/product-types":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/product-types"}]}},"\/wc-admin\/onboarding\/profile":{"namespace":"wc-admin","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"completed":{"type":"boolean","description":"Whether or not the profile was completed.","required":false},"skipped":{"type":"boolean","description":"Whether or not the profile was skipped.","required":false},"industry":{"type":"array","description":"Industry.","items":{"type":"object"},"required":false},"product_types":{"type":"array","description":"Types of products sold.","items":{"enum":["physical","downloads","subscriptions","memberships","bookings","product-bundles","product-add-ons"],"type":"string"},"required":false},"product_count":{"type":"string","description":"Number of products to be added.","enum":["0","1-10","11-100","101-1000","1000+"],"required":false},"selling_venues":{"type":"string","description":"Other places the store is selling products.","enum":["no","other","brick-mortar","brick-mortar-other","other-woocommerce"],"required":false},"revenue":{"type":"string","description":"Current annual revenue of the store.","enum":["none","up-to-2500","2500-10000","10000-50000","50000-250000","more-than-250000","rather-not-say"],"required":false},"other_platform":{"type":"string","description":"Name of other platform used to sell.","enum":["shopify","bigcommerce","magento","wix","amazon","ebay","etsy","squarespace","other"],"required":false},"other_platform_name":{"type":"string","description":"Name of other platform used to sell (not listed).","required":false},"business_extensions":{"type":"array","description":"Extra business extensions to install.","items":{"enum":["jetpack","woocommerce-services","woocommerce-payments","mailchimp-for-woocommerce","creative-mail-by-constant-contact","facebook-for-woocommerce","google-listings-and-ads","mailpoet"],"type":"string"},"required":false},"theme":{"type":"string","description":"Selected store theme.","required":false},"setup_client":{"type":"boolean","description":"Whether or not this store was setup for a client.","required":false},"wccom_connected":{"type":"boolean","description":"Whether or not the store was connected to WooCommerce.com during the extension flow.","required":false},"is_agree_marketing":{"type":"boolean","description":"Whether or not this store agreed to receiving marketing contents from WooCommerce.com.","required":false},"store_email":{"type":"string","description":"Store email address.","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/profile"}]}},"\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill"}]}},"\/wc-admin\/onboarding\/tasks\/import_sample_products":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products"}]}},"\/wc-admin\/onboarding\/tasks\/create_homepage":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage"}]}},"\/wc-admin\/onboarding\/tasks\/create_product_from_template":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"template_name":{"type":"string","description":"Product template name.","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template"}]}},"\/wc-admin\/onboarding\/tasks":{"namespace":"wc-admin","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"extended_tasks":{"description":"List of extended deprecated tasks from the client side filter.","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/tasks"}]}},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"duration":{"description":"Time period to snooze the task.","type":"string","required":false},"task_list_id":{"description":"Optional parameter to query specific task list.","type":"string","required":false}}}]},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/wc-admin\/onboarding\/themes\/install":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/themes\/install"}]}},"\/wc-admin\/onboarding\/themes\/activate":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/onboarding\/themes\/activate"}]}},"\/wc-admin\/navigation\/favorites":{"namespace":"wc-admin","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"user_id":{"required":true}}},{"methods":["POST"],"args":{"item_id":{"required":true},"user_id":{"required":true}}},{"methods":["DELETE"],"args":{"item_id":{"required":true},"user_id":{"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/navigation\/favorites"}]}},"\/wc-admin\/navigation\/favorites\/me":{"namespace":"wc-admin","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"item_id":{"required":true}}},{"methods":["DELETE"],"args":{"item_id":{"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-admin\/navigation\/favorites\/me"}]}},"\/wc-analytics\/taxes":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"Sort collection by object attribute.","enum":["id","order","priority"],"type":"string","required":false},"class":{"description":"Sort by tax class.","enum":["standard","reduced-rate","zero-rate"],"type":"string","required":false},"search":{"description":"Search by similar tax code.","type":"string","required":false},"include":{"description":"Limit result set to items that have the specified rate ID(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false}}},{"methods":["POST"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"default":1,"description":"Tax priority.","type":"integer","required":false},"compound":{"default":false,"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"default":"standard","description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/taxes"}]}},"\/wc-analytics\/taxes\/(?P[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc-analytics\/taxes\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/taxes\/batch"}]}},"\/wc-analytics\/customers":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"registered_after":{"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"after":{"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"Limit response to objects with specfic names.","type":"string","required":false},"name_excludes":{"description":"Limit response to objects excluding specfic names.","type":"string","required":false},"username_includes":{"description":"Limit response to objects with specfic usernames.","type":"string","required":false},"username_excludes":{"description":"Limit response to objects excluding specfic usernames.","type":"string","required":false},"email_includes":{"description":"Limit response to objects including emails.","type":"string","required":false},"email_excludes":{"description":"Limit response to objects excluding emails.","type":"string","required":false},"country_includes":{"description":"Limit response to objects with specfic countries.","type":"string","required":false},"country_excludes":{"description":"Limit response to objects excluding specfic countries.","type":"string","required":false},"last_active_before":{"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_after":{"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"registered_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"orders_count_min":{"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer","required":false},"orders_count_max":{"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer","required":false},"orders_count_between":{"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"},"required":false},"total_spend_min":{"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number","required":false},"total_spend_max":{"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number","required":false},"total_spend_between":{"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"avg_order_value_min":{"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number","required":false},"avg_order_value_max":{"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number","required":false},"avg_order_value_between":{"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"last_order_before":{"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_order_after":{"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"include":{"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/customers"}]}},"\/wc-analytics\/customers\/(?P[\\d-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"registered_after":{"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"after":{"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"Limit response to objects with specfic names.","type":"string","required":false},"name_excludes":{"description":"Limit response to objects excluding specfic names.","type":"string","required":false},"username_includes":{"description":"Limit response to objects with specfic usernames.","type":"string","required":false},"username_excludes":{"description":"Limit response to objects excluding specfic usernames.","type":"string","required":false},"email_includes":{"description":"Limit response to objects including emails.","type":"string","required":false},"email_excludes":{"description":"Limit response to objects excluding emails.","type":"string","required":false},"country_includes":{"description":"Limit response to objects with specfic countries.","type":"string","required":false},"country_excludes":{"description":"Limit response to objects excluding specfic countries.","type":"string","required":false},"last_active_before":{"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_after":{"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"registered_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"orders_count_min":{"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer","required":false},"orders_count_max":{"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer","required":false},"orders_count_between":{"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"},"required":false},"total_spend_min":{"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number","required":false},"total_spend_max":{"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number","required":false},"total_spend_between":{"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"avg_order_value_min":{"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number","required":false},"avg_order_value_max":{"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number","required":false},"avg_order_value_between":{"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"last_order_before":{"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_order_after":{"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"include":{"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wc-analytics\/leaderboards":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":5,"minimum":1,"maximum":20,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"persisted_query":{"description":"URL query to persist across links.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/leaderboards"}]}},"\/wc-analytics\/leaderboards\/allowed":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/leaderboards\/allowed"}]}},"\/wc-analytics\/reports":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports"}]}},"\/wc-analytics\/reports\/import":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"days":{"description":"Number of days to import.","type":"integer","minimum":0,"required":false},"skip_existing":{"description":"Skip importing existing order data.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/import"}]}},"\/wc-analytics\/reports\/import\/cancel":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/import\/cancel"}]}},"\/wc-analytics\/reports\/import\/delete":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/import\/delete"}]}},"\/wc-analytics\/reports\/import\/status":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/import\/status"}]}},"\/wc-analytics\/reports\/import\/totals":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"days":{"description":"Number of days to import.","type":"integer","minimum":0,"required":false},"skip_existing":{"description":"Skip importing existing order data.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/import\/totals"}]}},"\/wc-analytics\/reports\/(?P[a-z]+)\/export":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"report_args":{"description":"Parameters to pass on to the exported report.","type":"object","required":false},"email":{"description":"When true, email a link to download the export to the requesting user.","type":"boolean","required":false}}}]},"\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wc-analytics\/reports\/products":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","net_revenue","orders_count","items_sold","product_name","variations","sku"],"required":false},"categories":{"description":"Limit result to items from the specified categories.","type":"array","items":{"type":"integer"},"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"products":{"description":"Limit result to items with specified product ids.","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"Add additional piece of info about each product to the report.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/products"}]}},"\/wc-analytics\/reports\/variations":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","net_revenue","orders_count","items_sold","sku"],"required":false},"product_includes":{"description":"Limit result set to items that have the specified parent product(s).","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified parent product(s).","type":"array","items":{"type":"integer"},"default":[],"required":false},"variations":{"description":"Limit result to items with specified variation ids.","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"Add additional piece of info about each variation to the report.","type":"boolean","default":false,"required":false},"attribute_is":{"description":"Limit result set to variations that include the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"attribute_is_not":{"description":"Limit result set to variations that don't include the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"category_includes":{"description":"Limit result set to variations in the specified categories.","type":"array","items":{"type":"integer"},"required":false},"category_excludes":{"description":"Limit result set to variations not in the specified categories.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/variations"}]}},"\/wc-analytics\/reports\/products\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","net_revenue","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"categories":{"description":"Limit result to items from the specified categories.","type":"array","items":{"type":"integer"},"required":false},"products":{"description":"Limit result to items with specified product ids.","type":"array","items":{"type":"integer"},"required":false},"variations":{"description":"Limit result to items with specified variation ids.","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["product","category","variation"],"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/products\/stats"}]}},"\/wc-analytics\/reports\/variations\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","net_revenue","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"category_includes":{"description":"Limit result to items from the specified categories.","type":"array","items":{"type":"integer"},"required":false},"category_excludes":{"description":"Limit result set to variations not in the specified categories.","type":"array","items":{"type":"integer"},"required":false},"product_includes":{"description":"Limit result set to items that have the specified parent product(s).","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified parent product(s).","type":"array","items":{"type":"integer"},"default":[],"required":false},"variations":{"description":"Limit result to items with specified variation ids.","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["product","category","variation"],"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false},"attribute_is":{"description":"Limit result set to orders that include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"attribute_is_not":{"description":"Limit result set to orders that don't include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/variations\/stats"}]}},"\/wc-analytics\/reports\/revenue\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","total_sales","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold","gross_sales"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["product","category","variation","coupon","customer_type"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/revenue\/stats"}]}},"\/wc-analytics\/reports\/orders":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":0,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","num_items_sold","net_total"],"required":false},"product_includes":{"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"variation_includes":{"description":"Limit result set to items that have the specified variation(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"variation_excludes":{"description":"Limit result set to items that don't have the specified variation(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_includes":{"description":"Limit result set to items that have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_excludes":{"description":"Limit result set to items that don't have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_includes":{"description":"Limit result set to items that have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_excludes":{"description":"Limit result set to items that don't have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"status_is":{"description":"Limit result set to items that have the specified order status.","type":"array","items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"customer_type":{"description":"Limit result set to returning or new customers.","type":"string","default":"","enum":["","returning","new"],"required":false},"refunds":{"description":"Limit result set to specific types of refunds.","type":"string","default":"","enum":["","all","partial","full","none"],"required":false},"extended_info":{"description":"Add additional piece of info about each coupon to the report.","type":"boolean","default":false,"required":false},"order_includes":{"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"attribute_is":{"description":"Limit result set to orders that include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"attribute_is_not":{"description":"Limit result set to orders that don't include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/orders"}]}},"\/wc-analytics\/reports\/orders\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","net_revenue","orders_count","avg_order_value"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"status_is":{"description":"Limit result set to items that have the specified order status.","type":"array","default":null,"items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"product_includes":{"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"variation_includes":{"description":"Limit result set to items that have the specified variation(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"variation_excludes":{"description":"Limit result set to items that don't have the specified variation(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_includes":{"description":"Limit result set to items that have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"coupon_excludes":{"description":"Limit result set to items that don't have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_includes":{"description":"Limit result set to items that have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"tax_rate_excludes":{"description":"Limit result set to items that don't have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"customer":{"description":"Alias for customer_type (deprecated).","type":"string","enum":["new","returning"],"required":false},"customer_type":{"description":"Limit result set to orders that have the specified customer_type","type":"string","enum":["new","returning"],"required":false},"refunds":{"description":"Limit result set to specific types of refunds.","type":"string","default":"","enum":["","all","partial","full","none"],"required":false},"attribute_is":{"description":"Limit result set to orders that include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"attribute_is_not":{"description":"Limit result set to orders that don't include products with the specified attributes.","type":"array","items":{"type":"array"},"default":[],"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["product","category","variation","coupon","customer_type"],"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/orders\/stats"}]}},"\/wc-analytics\/reports\/categories":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"category_id","enum":["category_id","items_sold","net_revenue","orders_count","products_count","category"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"status_is":{"description":"Limit result set to items that have the specified order status.","type":"array","items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"status_is_not":{"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"},"required":false},"categories":{"description":"Limit result set to all items that have the specified term assigned in the categories taxonomy.","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"Add additional piece of info about each category to the report.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/categories"}]}},"\/wc-analytics\/reports\/taxes":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"tax_rate_id","enum":["name","tax_rate_id","tax_code","rate","order_tax","total_tax","shipping_tax","orders_count"],"required":false},"taxes":{"description":"Limit result set to items assigned one or more tax rates.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/taxes"}]}},"\/wc-analytics\/reports\/taxes\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","items_sold","total_sales","orders_count","products_count"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"taxes":{"description":"Limit result set to all items that have the specified term assigned in the taxes taxonomy.","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["tax_rate_id"],"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/taxes\/stats"}]}},"\/wc-analytics\/reports\/coupons":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"coupon_id","enum":["coupon_id","code","amount","orders_count"],"required":false},"coupons":{"description":"Limit result set to coupons assigned specific coupon IDs.","type":"array","items":{"type":"integer"},"required":false},"extended_info":{"description":"Add additional piece of info about each coupon to the report.","type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/coupons"}]}},"\/wc-analytics\/reports\/coupons\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","amount","coupons_count","orders_count"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"coupons":{"description":"Limit result set to coupons assigned specific coupon IDs.","type":"array","items":{"type":"integer"},"required":false},"segmentby":{"description":"Segment the response by additional constraint.","type":"string","enum":["product","variation","category","coupon"],"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/coupons\/stats"}]}},"\/wc-analytics\/reports\/stock":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"stock_status","enum":["stock_status","stock_quantity","date","id","include","title","sku"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"type":{"description":"Limit result set to items assigned a stock report type.","type":"string","default":"all","enum":["all","lowstock","instock","outofstock","onbackorder"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/stock"}]}},"\/wc-analytics\/reports\/stock\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/stock\/stats"}]}},"\/wc-analytics\/reports\/downloads":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","product"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.","type":"string","default":"all","enum":["all","any"],"required":false},"product_includes":{"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order_includes":{"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"customer_includes":{"description":"Limit response to objects that have the specified user ids.","type":"array","items":{"type":"integer"},"required":false},"customer_excludes":{"description":"Limit response to objects that don't have the specified user ids.","type":"array","items":{"type":"integer"},"required":false},"ip_address_includes":{"description":"Limit response to objects that have a specified ip address.","type":"array","items":{"type":"string"},"required":false},"ip_address_excludes":{"description":"Limit response to objects that don't have a specified ip address.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/downloads"}]}},"\/wc-analytics\/reports\/downloads\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","download_count"],"required":false},"interval":{"description":"Time interval to use for buckets in the returned data.","type":"string","default":"week","enum":["hour","day","week","month","quarter","year"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"product_includes":{"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"product_excludes":{"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order_includes":{"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"order_excludes":{"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"},"required":false},"customer_includes":{"description":"Limit response to objects that have the specified customer ids.","type":"array","items":{"type":"integer"},"required":false},"customer_excludes":{"description":"Limit response to objects that don't have the specified customer ids.","type":"array","items":{"type":"integer"},"required":false},"ip_address_includes":{"description":"Limit response to objects that have a specified ip address.","type":"array","items":{"type":"string"},"required":false},"ip_address_excludes":{"description":"Limit response to objects that don't have a specified ip address.","type":"array","items":{"type":"string"},"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/downloads\/stats"}]}},"\/wc-analytics\/reports\/customers":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"registered_after":{"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"after":{"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"Limit response to objects with specfic names.","type":"string","required":false},"name_excludes":{"description":"Limit response to objects excluding specfic names.","type":"string","required":false},"username_includes":{"description":"Limit response to objects with specfic usernames.","type":"string","required":false},"username_excludes":{"description":"Limit response to objects excluding specfic usernames.","type":"string","required":false},"email_includes":{"description":"Limit response to objects including emails.","type":"string","required":false},"email_excludes":{"description":"Limit response to objects excluding emails.","type":"string","required":false},"country_includes":{"description":"Limit response to objects with specfic countries.","type":"string","required":false},"country_excludes":{"description":"Limit response to objects excluding specfic countries.","type":"string","required":false},"last_active_before":{"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_after":{"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"registered_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"orders_count_min":{"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer","required":false},"orders_count_max":{"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer","required":false},"orders_count_between":{"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"},"required":false},"total_spend_min":{"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number","required":false},"total_spend_max":{"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number","required":false},"total_spend_between":{"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"avg_order_value_min":{"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number","required":false},"avg_order_value_max":{"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number","required":false},"avg_order_value_between":{"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"last_order_before":{"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_order_after":{"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"customers":{"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/customers"}]}},"\/wc-analytics\/reports\/customers\/stats":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"registered_before":{"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"registered_after":{"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"match":{"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string","default":"all","enum":["all","any"],"required":false},"search":{"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string","required":false},"searchby":{"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string","default":"name","enum":["name","username","email"],"required":false},"name_includes":{"description":"Limit response to objects with specfic names.","type":"string","required":false},"name_excludes":{"description":"Limit response to objects excluding specfic names.","type":"string","required":false},"username_includes":{"description":"Limit response to objects with specfic usernames.","type":"string","required":false},"username_excludes":{"description":"Limit response to objects excluding specfic usernames.","type":"string","required":false},"email_includes":{"description":"Limit response to objects including emails.","type":"string","required":false},"email_excludes":{"description":"Limit response to objects excluding emails.","type":"string","required":false},"country_includes":{"description":"Limit response to objects with specfic countries.","type":"string","required":false},"country_excludes":{"description":"Limit response to objects excluding specfic countries.","type":"string","required":false},"last_active_before":{"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_after":{"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_active_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"registered_between":{"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"},"required":false},"orders_count_min":{"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer","required":false},"orders_count_max":{"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer","required":false},"orders_count_between":{"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"},"required":false},"total_spend_min":{"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number","required":false},"total_spend_max":{"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number","required":false},"total_spend_between":{"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"avg_order_value_min":{"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number","required":false},"avg_order_value_max":{"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number","required":false},"avg_order_value_between":{"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"},"required":false},"last_order_before":{"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"last_order_after":{"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string","format":"date-time","required":false},"customers":{"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"},"required":false},"fields":{"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/customers\/stats"}]}},"\/wc-analytics\/reports\/performance-indicators":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"stats":{"description":"Limit response to specific report stats. Allowed values: .","type":"array","items":{"type":"string","enum":[]},"default":[],"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/performance-indicators"}]}},"\/wc-analytics\/reports\/performance-indicators\/allowed":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"stats":{"description":"Limit response to specific report stats. Allowed values: .","type":"array","items":{"type":"string","enum":[]},"default":[],"required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed"}]}},"\/wp-smush\/v1":{"namespace":"wp-smush\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-smush\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wp-smush\/v1"}]}},"\/wp-smush\/v1\/preset_configs":{"namespace":"wp-smush\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wp-smush\/v1\/preset_configs"}]}},"\/jetpack-boost\/v1":{"namespace":"jetpack-boost\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack-boost\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack-boost\/v1"}]}},"\/jetpack-boost\/v1\/speed-scores":{"namespace":"jetpack-boost\/v1","methods":["POST","PUT","PATCH","POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack-boost\/v1\/speed-scores"}]}},"\/jetpack-boost\/v1\/speed-scores\/refresh":{"namespace":"jetpack-boost\/v1","methods":["POST","PUT","PATCH","POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack-boost\/v1\/speed-scores\/refresh"}]}},"\/jetpack-boost\/v1\/speed-scores-history":{"namespace":"jetpack-boost\/v1","methods":["POST","PUT","PATCH","POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"start":{"type":"number","required":true},"end":{"type":"number","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"start":{"type":"number","required":true},"end":{"type":"number","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack-boost\/v1\/speed-scores-history"}]}},"\/my-jetpack\/v1":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"my-jetpack\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1"}]}},"\/my-jetpack\/v1\/site\/products":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/products"}]}},"\/my-jetpack\/v1\/site\/products\/(?P[a-z\\-]+)":{"namespace":"my-jetpack\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product":{"description":"Product slug","type":"string","enum":["anti-spam","backup","boost","crm","creator","extras","jetpack-ai","scan","search","social","security","protect","videopress","stats","ai"],"required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"product":{"description":"Product slug","type":"string","enum":["anti-spam","backup","boost","crm","creator","extras","jetpack-ai","scan","search","social","security","protect","videopress","stats","ai"],"required":true}}},{"methods":["DELETE"],"args":{"product":{"description":"Product slug","type":"string","enum":["anti-spam","backup","boost","crm","creator","extras","jetpack-ai","scan","search","social","security","protect","videopress","stats","ai"],"required":true}}}]},"\/my-jetpack\/v1\/site\/products\/(?P[a-z\\-]+)\/install-standalone":{"namespace":"my-jetpack\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product":{"description":"Product slug","type":"string","enum":["anti-spam","backup","boost","crm","creator","extras","jetpack-ai","scan","search","social","security","protect","videopress","stats","ai"],"required":true}}}]},"\/my-jetpack\/v1\/site\/purchases":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/purchases"}]}},"\/my-jetpack\/v1\/chat\/availability":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/chat\/availability"}]}},"\/my-jetpack\/v1\/chat\/authentication":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"type":"string","required":false},"test_mode":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/chat\/authentication"}]}},"\/my-jetpack\/v1\/site\/backup\/undo-event":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/backup\/undo-event"}]}},"\/my-jetpack\/v1\/site\/backup\/count-items":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/backup\/count-items"}]}},"\/my-jetpack\/v1\/site\/recommendations\/evaluation":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/recommendations\/evaluation"}]}},"\/my-jetpack\/v1\/site\/recommendations\/evaluation\/result":{"namespace":"my-jetpack\/v1","methods":["POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/recommendations\/evaluation\/result"}]}},"\/my-jetpack\/v1\/site":{"namespace":"my-jetpack\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site"}]}},"\/my-jetpack\/v1\/site\/dismiss-welcome-banner":{"namespace":"my-jetpack\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/my-jetpack\/v1\/site\/dismiss-welcome-banner"}]}},"\/jetpack\/v4\/explat":{"namespace":"jetpack\/v4\/explat","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack\/v4\/explat","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/explat"}]}},"\/jetpack\/v4\/explat\/assignments":{"namespace":"jetpack\/v4\/explat","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"experiment_name":{"type":"string","required":false},"anon_id":{"type":"string","required":false},"as_connected_user":{"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/explat\/assignments"}]}},"\/jetpack\/v4\/blaze-app":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack\/v4\/blaze-app","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app"}]}},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/blaze\/posts(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app\/sites\/179547400\/blaze\/posts(\\?.*)?"}]}},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/sites\/179547400\/blaze\/posts(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/sites\/179547400\/blaze\/posts(\\?.*)?"}]}},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/checkout":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/checkout"}]}},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/credits(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/sites\/179547400\/media(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/sites\/179547400\/media":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/sites\/179547400\/media"}]}},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/wpcom\/media(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/experiments(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/campaigns(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/(?Pv[0-9]+\\.?[0-9]*)\/campaigns(?P[a-zA-Z0-9-_\\\/]*)":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/sites\/179547400\/campaigns(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/search(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/user(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/templates(?P[a-zA-Z0-9-_\\\/:]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/subscriptions(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/subscriptions(?P[a-zA-Z0-9-_\\\/]*)":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/payments(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/payments(?P[a-zA-Z0-9-_\\\/]*)":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/smart(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/smart(?P[a-zA-Z0-9-_\\\/]*)":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/locations(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/woo(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/image(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?":{"namespace":"jetpack\/v4\/blaze-app","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/logs":{"namespace":"jetpack\/v4\/blaze-app","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze-app\/sites\/179547400\/wordads\/dsp\/api\/v1\/logs"}]}},"\/jetpack\/v4\/blaze":{"namespace":"jetpack\/v4\/blaze","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"jetpack\/v4\/blaze","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze"}]}},"\/jetpack\/v4\/blaze\/eligibility":{"namespace":"jetpack\/v4\/blaze","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze\/eligibility"}]}},"\/jetpack\/v4\/blaze\/dashboard":{"namespace":"jetpack\/v4\/blaze","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/blaze\/dashboard"}]}},"\/jetpack\/v4\/hints":{"namespace":"jetpack\/v4","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"hint":{"default":"","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/jetpack\/v4\/hints"}]}},"\/generatepress\/v1":{"namespace":"generatepress\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"generatepress\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress\/v1"}]}},"\/generatepress\/v1\/reset":{"namespace":"generatepress\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/generatepress\/v1\/reset"}]}},"\/newfold-marketplace\/v1":{"namespace":"newfold-marketplace\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"newfold-marketplace\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-marketplace\/v1"}]}},"\/newfold-marketplace\/v1\/marketplace":{"namespace":"newfold-marketplace\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-marketplace\/v1\/marketplace"}]}},"\/newfold-notifications\/v1":{"namespace":"newfold-notifications\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"newfold-notifications\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-notifications\/v1"}]}},"\/newfold-notifications\/v1\/notifications":{"namespace":"newfold-notifications\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":true},"page":{"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-notifications\/v1\/notifications"}]}},"\/newfold-notifications\/v1\/notifications\/events":{"namespace":"newfold-notifications\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"action":{"description":"Event action","type":"string","required":true},"category":{"default":"admin","description":"Event category","type":"string","required":false},"data":{"description":"Event data","type":"object","required":false},"queue":{"default":true,"description":"Whether or not to queue the event","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-notifications\/v1\/notifications\/events"}]}},"\/newfold-notifications\/v1\/notifications\/(?P[a-zA-Z0-9-]+)":{"namespace":"newfold-notifications\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}]},"\/newfold-sso\/v1":{"namespace":"newfold-sso\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"newfold-sso\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-sso\/v1"}]}},"\/newfold-sso\/v1\/sso":{"namespace":"newfold-sso\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/newfold-sso\/v1\/sso"}]}},"\/elementor\/v1\/globals":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/globals"}]}},"\/elementor\/v1\/globals\/colors":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/globals\/colors"}]}},"\/elementor\/v1\/globals\/colors\/(?P[\\w]+)":{"namespace":"elementor\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}},{"methods":["POST"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}}]},"\/elementor\/v1\/globals\/typography":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/globals\/typography"}]}},"\/elementor\/v1\/globals\/typography\/(?P[\\w]+)":{"namespace":"elementor\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}},{"methods":["POST"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}}]},"\/elementor\/v1\/favorites":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/favorites"}]}},"\/elementor\/v1\/favorites\/(?P[\\w]+)":{"namespace":"elementor\/v1","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"Type of favorites.","type":"string","required":true},"favorite":{"description":"The favorite slug to create.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Type of favorites.","type":"string","required":true},"favorite":{"description":"The favorite slug to delete.","type":"string","required":true}}}]},"\/elementor\/v1\/kit-elements-defaults":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/kit-elements-defaults"}]}},"\/elementor\/v1\/kit-elements-defaults\/(?P[\\w\\-\\_]+)":{"namespace":"elementor\/v1","methods":["POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"type":{"type":"string","description":"The type of the element.","required":true},"settings":{"description":"All the default values for the requested type","type":"object","required":true}}},{"methods":["DELETE"],"args":{"type":{"type":"string","description":"The type of the element.","required":true}}}]},"\/elementor\/v1\/site-navigation\/recent-posts":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"posts_per_page":{"description":"Number of posts to return","type":"integer","required":true},"post_type":{"description":"Post types to retrieve","type":"array","default":["page","post","elementor_library"],"required":false},"post__not_in":{"description":"Post id`s to exclude","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-navigation\/recent-posts"}]}},"\/elementor\/v1\/site-navigation\/add-new-post":{"namespace":"elementor\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"post_type":{"description":"Post type to create","type":"string","default":"post","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/site-navigation\/add-new-post"}]}},"\/elementor\/v1\/template-library\/templates":{"namespace":"elementor\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"title":{"type":"string","description":"The title of the document","required":false},"type":{"description":"The document type.","type":"string","enum":["page","section","landing-page","popup","header","footer","single","single-post","single-page","archive","search-results","error-404","product","product-archive","loop-item"],"required":true},"content":{"description":"Elementor data object","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/template-library\/templates"}]}},"\/elementor\/v1\/global-widget\/templates":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/global-widget\/templates"}]}},"\/elementor\/v1\/notes":{"namespace":"elementor\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"route_url":{"type":"string","description":"The URL of the route where the note was created at.","required":false},"status":{"type":"string","description":"The note status (e.g. \"publish\", \"draft\").","enum":["publish","draft"],"default":"publish","required":false},"is_resolved":{"type":"boolean","description":"Whether the note is resolved or not.","required":false},"parent_id":{"type":"integer","description":"The note's parent id (use 0 for top-level).","required":false},"post_id":{"type":"integer","description":"The ID of the post that the note is attached to.","required":false},"only_unread":{"type":"boolean","description":"Show only unread notes (represents an unread thread if one of its replies is unread).","required":false},"only_relevant":{"type":"boolean","description":"Show only notes that are relevant to the current user.","required":false},"order_by":{"type":"string","description":"A column to order the results by.","default":"last_activity_at","enum":["last_activity_at","created_at"],"required":false},"order":{"type":"string","description":"Results order direction.","default":"desc","enum":["asc","desc"],"required":false}}},{"methods":["POST"],"args":{"post_id":{"type":"integer","description":"The id of the post where the note was created at (can be template, post, page, etc.).","required":true},"element_id":{"type":"string","description":"Each note must be attached to an elementor element.","required":true},"content":{"type":"string","description":"The content of the note.","required":true},"position":{"type":"object","properties":{"x":{"required":true,"type":"number"},"y":{"required":true,"type":"number"}},"description":"The position of the note.","required":true},"mentioned_usernames":{"type":"array","description":"List of user names that have been mentioned in the note's content.","default":[],"items":{"type":"string","sanitize_callback":{}},"required":false},"route_post_id":{"description":"The ID of the post that's associated with the route (doesn't always exist, e.g: home page, archive)","required":false},"route_url":{"type":"string","description":"The URL of the route where the note was created at.","required":false},"route_title":{"type":"string","description":"The title of the route where the note was created at.","required":false},"parent_id":{"type":"integer","description":"If the new note is a reply to another note, the parent_id should be the thread's id.","default":0,"required":false},"is_public":{"type":"boolean","description":"Should this note be visible for everyone or just for its author.","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/notes"}]}},"\/elementor\/v1\/notes\/read-status":{"namespace":"elementor\/v1","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":{"ids":{"type":"array","description":"The id's of the notes.","items":{"type":"integer"},"required":true}}},{"methods":["DELETE"],"args":{"ids":{"type":"array","description":"The id's of the notes.","items":{"type":"integer"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/notes\/read-status"}]}},"\/elementor\/v1\/notes\/summary":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"route_url":{"type":"string","description":"The URL of the route where the note was created at.","required":false},"status":{"type":"string","description":"The note status (e.g. \"publish\", \"draft\").","enum":["publish","draft"],"default":"publish","required":false},"is_resolved":{"type":"boolean","description":"Whether the note is resolved or not.","required":false},"parent_id":{"type":"integer","description":"The note's parent id (use 0 for top-level).","required":false},"post_id":{"type":"integer","description":"The ID of the post that the note is attached to.","required":false},"only_unread":{"type":"boolean","description":"Show only unread notes (represents an unread thread if one of its replies is unread).","required":false},"only_relevant":{"type":"boolean","description":"Show only notes that are relevant to the current user.","required":false},"order_by":{"type":"string","description":"A column to order the results by.","default":"last_activity_at","enum":["last_activity_at","created_at"],"required":false},"order":{"type":"string","description":"Results order direction.","default":"desc","enum":["asc","desc"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/notes\/summary"}]}},"\/elementor\/v1\/notes\/users":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"limit":{"type":"integer","description":"Limit the results.","required":false},"order_by":{"type":"string","description":"A column to order the results by.","default":"display_name","enum":["user_nicename","display_name","user_registered"],"required":false},"order":{"type":"string","description":"Results order direction.","default":"asc","enum":["asc","desc"],"required":false},"search":{"type":"string","description":"Filter users by a search term.","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/notes\/users"}]}},"\/elementor\/v1\/notes\/(?P[\\d]+)":{"namespace":"elementor\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"Note ID to find.","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"The id the note.","required":true},"content":{"type":"string","description":"The content of the note.","required":false},"mentioned_usernames":{"type":"array","description":"List of user names that have been mentioned in the note's content.","items":{"type":"string","sanitize_callback":{}},"required":false},"status":{"type":"string","description":"Note status can be draft or publish.","enum":["publish","draft"],"required":false},"is_public":{"type":"boolean","description":"Should this note be visible for everyone or just for its author.","required":false},"is_resolved":{"type":"boolean","description":"Is this note resolved and should be hidden.","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"The id of the note.","required":true},"force":{"type":"boolean","description":"Determine if it should be deleted permanently or change the status to trash.","default":false,"required":false}}}]},"\/elementor-pro\/v1":{"namespace":"elementor-pro\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"elementor-pro\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor-pro\/v1"}]}},"\/elementor-pro\/v1\/posts-widget":{"namespace":"elementor-pro\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor-pro\/v1\/posts-widget"}]}},"\/elementor\/v1\/form-submissions":{"namespace":"elementor\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":50,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","additionalProperties":{"context":"filter"},"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"order_by":{"description":"Sort collection by object attribute.","type":"string","default":"created_at","enum":["created_at","id","main_meta_id"],"required":false},"status":{"description":"Limit result set to submissions assigned one or more statuses.","type":"string","default":"all","enum":["all","unread","read","trash"],"additionalProperties":{"context":"filter"},"required":false},"form":{"description":"Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce","type":"string","additionalProperties":{"context":"filter"},"required":false},"referer":{"description":"Limit result set to submissions assigned to specific referer.","type":"string","additionalProperties":{"context":"filter"},"required":false},"after":{"description":"Limit response to submissions sent after a given ISO8601 compliant date.","type":"string","format":"date","additionalProperties":{"context":"filter"},"required":false},"before":{"description":"Limit response to submissions sent before a given ISO8601 compliant date.","type":"string","format":"date","additionalProperties":{"context":"filter"},"required":false}}},{"methods":["DELETE"],"args":{"ids":{"description":"Unique identifiers for the objects.","type":"array","items":{"type":"integer"},"required":true},"force":{"description":"Delete the object permanently.","type":"boolean","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"ids":{"description":"Unique identifiers for the objects.","type":"array","items":{"type":"integer"},"required":true},"is_read":{"description":"mark whether the submission was read or not","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/form-submissions"}]}},"\/elementor\/v1\/form-submissions\/(?P[\\d]+)":{"namespace":"elementor\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true},"force":{"description":"Delete the object permanently.","type":"boolean","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true},"is_read":{"description":"mark whether the submission was read or not","type":"boolean","required":false},"values":{"description":"Form field values, receive an array, the key should be the form field id and the value should be the value.","type":"object","required":false}}}]},"\/elementor\/v1\/form-submissions\/restore\/(?P[\\d]+)":{"namespace":"elementor\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"string","required":true}}}]},"\/elementor\/v1\/form-submissions\/restore":{"namespace":"elementor\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"ids":{"description":"Unique identifiers for the objects.","type":"array","items":{"type":"integer"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/form-submissions\/restore"}]}},"\/elementor\/v1\/form-submissions\/export":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":10000,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","additionalProperties":{"context":"filter"},"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"order_by":{"description":"Sort collection by object attribute.","type":"string","default":"created_at","enum":["created_at","id","main_meta_id"],"required":false},"status":{"description":"Limit result set to submissions assigned one or more statuses.","type":"string","default":"all","enum":["all","unread","read","trash"],"additionalProperties":{"context":"filter"},"required":false},"form":{"description":"Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce","type":"string","additionalProperties":{"context":"filter"},"required":false},"referer":{"description":"Limit result set to submissions assigned to specific referer.","type":"string","additionalProperties":{"context":"filter"},"required":false},"after":{"description":"Limit response to submissions sent after a given ISO8601 compliant date.","type":"string","format":"date","additionalProperties":{"context":"filter"},"required":false},"before":{"description":"Limit response to submissions sent before a given ISO8601 compliant date.","type":"string","format":"date","additionalProperties":{"context":"filter"},"required":false},"ids":{"description":"Unique identifiers for the objects.","type":"array","items":{"type":"integer"},"additionalProperties":{"context":"filter"},"required":false},"format":{"description":"The format of the export (for now only csv).","enum":["csv"],"default":"csv","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/form-submissions\/export"}]}},"\/elementor\/v1\/form-submissions\/referer":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made, determines fields present in response. (only \"options\" available for now)","type":"string","enum":["options"],"default":"options","required":false},"search":{"description":"Limit results to those matching a string.","type":"string","additionalProperties":{"context":"filter"},"required":false},"value":{"description":"Limit results specific referer.","type":"string","additionalProperties":{"context":"filter"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/form-submissions\/referer"}]}},"\/elementor\/v1\/forms":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made, determines fields present in response. (only \"options\" available for now)","type":"string","enum":["options"],"default":"options","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/elementor\/v1\/forms"}]}},"\/wc\/v1\/connect\/tos":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/tos"}]}},"\/wc\/v1\/connect\/packages":{"namespace":"wc\/v1","methods":["GET","POST","PUT"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]},{"methods":["PUT"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/packages"}]}},"\/wc\/v1\/connect\/account\/settings":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/account\/settings"}]}},"\/wc\/v1\/connect\/services\/(?P[a-z_]+)\\\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}]},"\/wc\/v1\/connect\/self-help":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/self-help"}]}},"\/wc\/v1\/connect\/service-data-refresh":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/service-data-refresh"}]}},"\/wc\/v1\/connect\/label\/(?P\\d+)":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}]},"\/wc\/v1\/connect\/label\/(?P\\d+)\/creation_eligibility":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wc\/v1\/connect\/label\/(?P\\d+)\/(?P(\\d+)(,\\d+)*)":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wc\/v1\/connect\/label\/(?P\\d+)\/(?P\\d+)\/refund":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/wc\/v1\/connect\/label\/preview":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/label\/preview"}]}},"\/wc\/v1\/connect\/label\/print":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/label\/print"}]}},"\/wc\/v1\/connect\/label\/(?P\\d+)\/rates":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/wc\/v1\/connect\/normalize-address":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/normalize-address"}]}},"\/wc\/v1\/connect\/assets":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/assets"}]}},"\/wc\/v1\/connect\/shipping\/carrier":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/shipping\/carrier"}]}},"\/wc\/v1\/connect\/shipping\/carriers":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/shipping\/carriers"}]}},"\/wc\/v1\/connect\/subscriptions":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/subscriptions"}]}},"\/wc\/v1\/connect\/subscription\/(?P.+)\/activate":{"namespace":"wc\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/wc\/v1\/connect\/shipping\/carrier\/(?P.+)":{"namespace":"wc\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}]},"\/wc\/v1\/connect\/shipping\/carrier-types":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/connect\/shipping\/carrier-types"}]}},"\/omapp\/v1":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"omapp\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1"}]}},"\/omapp\/v1\/info":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/info"}]}},"\/omapp\/v1\/support":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/support"}]}},"\/omapp\/v1\/support\/debug\/enable":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/support\/debug\/enable"}]}},"\/omapp\/v1\/support\/debug\/disable":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/support\/debug\/disable"}]}},"\/omapp\/v1\/me":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/me"}]}},"\/omapp\/v1\/campaigns\/refresh":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/campaigns\/refresh"}]}},"\/omapp\/v1\/campaigns\/(?P\\w+)":{"namespace":"omapp\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}]},"\/omapp\/v1\/campaigns\/(?P[\\w-]+)\/sync":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/omapp\/v1\/resources":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/resources"}]}},"\/omapp\/v1\/notifications":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/notifications"}]}},"\/omapp\/v1\/notifications\/dismiss":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/notifications\/dismiss"}]}},"\/omapp\/v1\/notifications\/create":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/notifications\/create"}]}},"\/omapp\/v1\/plugins":{"namespace":"omapp\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/plugins"}]}},"\/omapp\/v1\/woocommerce\/autogenerate":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/woocommerce\/autogenerate"}]}},"\/omapp\/v1\/woocommerce\/save":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/woocommerce\/save"}]}},"\/omapp\/v1\/woocommerce\/disconnect":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/woocommerce\/disconnect"}]}},"\/omapp\/v1\/woocommerce\/key":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/woocommerce\/key"}]}},"\/omapp\/v1\/api":{"namespace":"omapp\/v1","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":[]},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/api"}]}},"\/omapp\/v1\/settings":{"namespace":"omapp\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/settings"}]}},"\/omapp\/v1\/review\/dismiss":{"namespace":"omapp\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/review\/dismiss"}]}},"\/omapp\/v1\/omu\/courses":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/omu\/courses"}]}},"\/omapp\/v1\/omu\/guides":{"namespace":"omapp\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/omapp\/v1\/omu\/guides"}]}},"\/regenerate-thumbnails\/v1":{"namespace":"regenerate-thumbnails\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"regenerate-thumbnails\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/regenerate-thumbnails\/v1"}]}},"\/regenerate-thumbnails\/v1\/regenerate\/(?P[\\d]+)":{"namespace":"regenerate-thumbnails\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET","POST","PUT","PATCH","DELETE"],"args":{"only_regenerate_missing_thumbnails":{"description":"Whether to only regenerate missing thumbnails. It's faster with this enabled.","type":"boolean","default":true,"required":false},"delete_unregistered_thumbnail_files":{"description":"Whether to delete any old, now unregistered thumbnail files.","type":"boolean","default":false,"required":false},"update_usages_in_posts":{"description":"Whether to update the image tags in any posts that make use of this attachment.","type":"boolean","default":true,"required":false},"update_usages_in_posts_post_type":{"description":"The types of posts to update. Defaults to all public post types.","type":"array","default":[],"required":false},"update_usages_in_posts_post_ids":{"description":"Specific post IDs to update rather than any posts that use this attachment.","type":"array","default":[],"required":false},"update_usages_in_posts_posts_per_loop":{"description":"Posts to process per loop. This is to control memory usage and you likely don't need to adjust this.","type":"integer","default":10,"required":false}}}]},"\/regenerate-thumbnails\/v1\/attachmentinfo\/(?P[\\d]+)":{"namespace":"regenerate-thumbnails\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/regenerate-thumbnails\/v1\/featuredimages":{"namespace":"regenerate-thumbnails\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/regenerate-thumbnails\/v1\/featuredimages"}]}},"\/wc\/v1\/coupons":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false},"code":{"description":"Limit result set to resources with a specific code.","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"description":{"description":"Coupon description.","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"expiry_date":{"description":"UTC DateTime when the coupon expires.","type":["null","string"],"required":false},"individual_use":{"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/coupons"}]}},"\/wc\/v1\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"description":{"description":"Coupon description.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"expiry_date":{"description":"UTC DateTime when the coupon expires.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v1\/coupons\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"description":{"description":"Coupon description.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"expiry_date":{"description":"UTC DateTime when the coupon expires.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"exclude_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/coupons\/batch"}]}},"\/wc\/v1\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v1\/customers":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"Sort collection by object attribute.","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"Limit result set to resources with a specific email.","type":"string","format":"email","required":false},"role":{"description":"Limit result set to resources with a specific role.","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"New user email address.","required":true},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"New user username.","type":"string","required":false},"password":{"description":"New user password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/customers"}]}},"\/wc\/v1\/customers\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false},"reassign":{"default":0,"type":"integer","description":"ID to reassign posts to.","required":false}}}]},"\/wc\/v1\/customers\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/customers\/batch"}]}},"\/wc\/v1\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"note":{"type":"string","description":"Order note content.","required":true},"customer_note":{"default":false,"description":"Shows\/define if the note is only for reference or for the customer (the user will be notified).","type":"boolean","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false},"status":{"default":"any","description":"Limit result set to orders assigned a specific status.","type":"string","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"amount":{"description":"Refund amount.","type":"string","required":false},"reason":{"description":"Reason for refund.","type":"string","required":false}}}]},"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/orders":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false},"status":{"default":"any","description":"Limit result set to orders assigned a specific status.","type":"string","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"default":"pending","description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"CAD","description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"set_paid":{"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/orders"}]}},"\/wc\/v1\/orders\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v1\/orders\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1.","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2.","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/orders\/batch"}]}},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v1\/products\/attributes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Name for the resource.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"default":"select","description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/attributes"}]}},"\/wc\/v1\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/products\/attributes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/attributes\/batch"}]}},"\/wc\/v1\/products\/categories":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"default":"default","description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/categories"}]}},"\/wc\/v1\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/products\/categories\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/categories\/batch"}]}},"\/wc\/v1\/products\/(?P[\\d]+)\/reviews":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"review":{"type":"string","description":"Review content.","required":true},"date_created":{"description":"The date the review was created, in the site's timezone.","type":["null","string"],"required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false},"name":{"type":"string","description":"Name of the reviewer.","required":true},"email":{"type":"string","description":"Email of the reviewer.","required":true}}}]},"\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"date_created":{"description":"The date the review was created, in the site's timezone.","type":["null","string"],"required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false},"name":{"description":"Reviewer name.","type":"string","required":false},"email":{"description":"Reviewer email.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v1\/products\/shipping_classes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/shipping_classes"}]}},"\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/products\/shipping_classes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/shipping_classes\/batch"}]}},"\/wc\/v1\/products\/tags":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/tags"}]}},"\/wc\/v1\/products\/tags\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/products\/tags\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/tags\/batch"}]}},"\/wc\/v1\/products":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"sku":{"description":"Limit result set to products with a specific SKU.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"default":"simple","description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","required":false},"date_on_sale_to":{"description":"End date of sale price.","type":"string","required":false},"virtual":{"default":false,"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"download_type":{"default":"standard","description":"Download type, this controls the schema on the front-end.","type":"string","enum":["standard"],"required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"default":true,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"default":true,"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products"}]}},"\/wc\/v1\/products\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","required":false},"date_on_sale_to":{"description":"End date of sale price.","type":"string","required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"download_type":{"description":"Download type, this controls the schema on the front-end.","type":"string","enum":["standard"],"required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean","required":false}}}]},"\/wc\/v1\/products\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","required":false},"date_on_sale_to":{"description":"End date of sale price.","type":"string","required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"download_type":{"description":"Download type, this controls the schema on the front-end.","type":"string","enum":["standard"],"required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"variations":{"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (kg).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/products\/batch"}]}},"\/wc\/v1\/reports\/sales":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/reports\/sales"}]}},"\/wc\/v1\/reports\/top_sellers":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/reports\/top_sellers"}]}},"\/wc\/v1\/reports":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/reports"}]}},"\/wc\/v1\/taxes\/classes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Tax class name.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/taxes\/classes"}]}},"\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"description":"Unique slug for the resource.","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/taxes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"Sort collection by object attribute.","enum":["id","order","priority"],"type":"string","required":false},"class":{"description":"Sort by tax class.","enum":["standard","reduced-rate","zero-rate"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"default":1,"description":"Tax priority.","type":"integer","required":false},"compound":{"default":false,"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"default":"standard","description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/taxes"}]}},"\/wc\/v1\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/taxes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/taxes\/batch"}]}},"\/wc\/v1\/webhooks":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"Limit result set to webhooks assigned a specific status.","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"default":"active","description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook topic.","required":true},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false},"delivery_url":{"type":"string","description":"Webhook delivery URL.","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/webhooks"}]}},"\/wc\/v1\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v1\/webhooks\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v1\/webhooks\/batch"}]}},"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"Unique identifier for the webhook.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"Unique identifier for the webhook.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v2","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2"}]}},"\/wc\/v2\/coupons":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"code":{"description":"Limit result set to resources with a specific code.","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/coupons"}]}},"\/wc\/v2\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/coupons\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/coupons\/batch"}]}},"\/wc\/v2\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v2\/customers":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"Sort collection by object attribute.","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"Limit result set to resources with a specific email.","type":"string","format":"email","required":false},"role":{"description":"Limit result set to resources with a specific role.","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"New user email address.","required":true},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"New user username.","type":"string","required":false},"password":{"description":"New user password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/customers"}]}},"\/wc\/v2\/customers\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false},"reassign":{"default":0,"type":"integer","description":"ID to reassign posts to.","required":false}}}]},"\/wc\/v2\/customers\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/customers\/batch"}]}},"\/wc\/v2\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"type":{"default":"any","description":"Limit result to customers or internal notes.","type":"string","enum":["any","customer","internal"],"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"note":{"type":"string","description":"Order note content.","required":true},"customer_note":{"default":false,"description":"If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.","type":"boolean","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"amount":{"description":"Refund amount.","type":"string","required":false},"reason":{"description":"Reason for refund.","type":"string","required":false},"refunded_by":{"description":"User ID of user who created the refund.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"api_refund":{"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean","required":false}}}]},"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/orders":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":"any","description":"Limit result set to orders assigned a specific status.","type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"default":"pending","description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"CAD","description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/orders"}]}},"\/wc\/v2\/orders\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/orders\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/orders\/batch"}]}},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v2\/products\/attributes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Name for the resource.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"default":"select","description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/attributes"}]}},"\/wc\/v2\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/products\/attributes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/attributes\/batch"}]}},"\/wc\/v2\/products\/categories":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"default":"default","description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/categories"}]}},"\/wc\/v2\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/products\/categories\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"title":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/categories\/batch"}]}},"\/wc\/v2\/products\/(?P[\\d]+)\/reviews":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"review":{"type":"string","description":"Review content.","required":true},"date_created":{"description":"The date the review was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the review was created, as GMT.","type":["null","string"],"required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false},"name":{"type":"string","description":"Name of the reviewer.","required":true},"email":{"type":"string","description":"Email of the reviewer.","required":true}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"date_created":{"description":"The date the review was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the review was created, as GMT.","type":["null","string"],"required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false},"name":{"description":"Reviewer name.","type":"string","required":false},"email":{"description":"Reviewer email.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"date_created":{"description":"The date the review was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the review was created, as GMT.","type":["null","string"],"required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false},"name":{"description":"Reviewer name.","type":"string","required":false},"email":{"description":"Reviewer email.","type":"string","required":false}}}]},"\/wc\/v2\/products\/shipping_classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/shipping_classes"}]}},"\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/products\/shipping_classes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"}]}},"\/wc\/v2\/products\/tags":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/tags"}]}},"\/wc\/v2\/products\/tags\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/products\/tags\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/tags\/batch"}]}},"\/wc\/v2\/products":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"in_stock":{"description":"Limit result set to products in stock or out of stock.","type":"boolean","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"default":"simple","description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"virtual":{"default":false,"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"default":true,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"default":true,"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"List of grouped products ID.","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products"}]}},"\/wc\/v2\/products\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"List of grouped products ID.","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean","required":false}}}]},"\/wc\/v2\/products\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"grouped_products":{"description":"List of grouped products ID.","type":"array","items":{"type":"integer"},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/products\/batch"}]}},"\/wc\/v2\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"in_stock":{"description":"Limit result set to products in stock or out of stock.","type":"boolean","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"visible":{"default":true,"description":"Define if the variation is visible on the product's page.","type":"boolean","required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"],"required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"default":true,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"visible":{"description":"Define if the variation is visible on the product's page.","type":"boolean","required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"],"required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, as GMT.","type":["null","string"],"required":false},"visible":{"description":"Define if the variation is visible on the product's page.","type":"boolean","required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"],"required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}]},"\/wc\/v2\/reports\/sales":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/reports\/sales"}]}},"\/wc\/v2\/reports\/top_sellers":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/reports\/top_sellers"}]}},"\/wc\/v2\/reports":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/reports"}]}},"\/wc\/v2\/settings":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/settings"}]}},"\/wc\/v2\/settings\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false}}}]},"\/wc\/v2\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v2\/shipping\/zones":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"type":"string","description":"Shipping zone name.","required":true},"order":{"description":"Shipping zone order.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/shipping\/zones"}]}},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"name":{"description":"Shipping zone name.","type":"string","required":false},"order":{"description":"Shipping zone order.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"code":{"description":"Shipping zone location code.","type":"string","required":false},"type":{"description":"Shipping zone location type.","type":"string","enum":["postcode","state","country","continent"],"required":false}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false}}},{"methods":["POST"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false},"method_id":{"description":"Shipping method ID.","required":true}}}]},"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false}}},{"methods":["DELETE"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v2\/taxes\/classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Tax class name.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/taxes\/classes"}]}},"\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"Unique slug for the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"slug":{"description":"Unique slug for the resource.","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/taxes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"Sort collection by object attribute.","enum":["id","order","priority"],"type":"string","required":false},"class":{"description":"Sort by tax class.","enum":["standard","reduced-rate","zero-rate"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"default":1,"description":"Tax priority.","type":"integer","required":false},"compound":{"default":false,"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"default":"standard","description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/taxes"}]}},"\/wc\/v2\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/taxes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode \/ ZIP.","type":"string","required":false},"city":{"description":"City name.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/taxes\/batch"}]}},"\/wc\/v2\/webhooks":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"Limit result set to webhooks assigned a specific status.","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"default":"active","description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook topic.","required":true},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false},"delivery_url":{"type":"string","description":"Webhook delivery URL.","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/webhooks"}]}},"\/wc\/v2\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v2\/webhooks\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/webhooks\/batch"}]}},"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"Unique identifier for the webhook.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"description":"Unique identifier for the webhook.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}]},"\/wc\/v2\/system_status":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/system_status"}]}},"\/wc\/v2\/system_status\/tools":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/system_status\/tools"}]}},"\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"A unique identifier for the tool.","type":"string","required":false},"name":{"description":"Tool name.","type":"string","required":false},"action":{"description":"What running the tool will do.","type":"string","required":false},"description":{"description":"Tool description.","type":"string","required":false},"success":{"description":"Did the tool run successfully?","type":"boolean","required":false},"message":{"description":"Tool return message.","type":"string","required":false}}}]},"\/wc\/v2\/shipping_methods":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/shipping_methods"}]}},"\/wc\/v2\/shipping_methods\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v2\/payment_gateways":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v2\/payment_gateways"}]}},"\/wc\/v2\/payment_gateways\/(?P[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"title":{"description":"Payment gateway title on checkout.","type":"string","required":false},"description":{"description":"Payment gateway description on checkout.","type":"string","required":false},"order":{"description":"Payment gateway sort order.","type":"integer","required":false},"enabled":{"description":"Payment gateway enabled status.","type":"boolean","required":false},"settings":{"description":"Payment gateway settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false}}}]},"\/wc\/v3\/coupons":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"code":{"description":"Limit result set to resources with a specific code.","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/coupons"}]}},"\/wc\/v3\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/coupons\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/coupons\/batch"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v3\/customers":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"Sort collection by object attribute.","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"Limit result set to resources with a specific email.","type":"string","format":"email","required":false},"role":{"description":"Limit result set to resources with a specific role.","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"New user email address.","required":true},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"New user username.","type":"string","required":false},"password":{"description":"New user password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/customers"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false},"reassign":{"default":0,"type":"integer","description":"ID to reassign posts to.","required":false}}}]},"\/wc\/v3\/customers\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/customers\/batch"}]}},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"type":{"default":"any","description":"Limit result to customers or internal notes.","type":"string","enum":["any","customer","internal"],"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"note":{"type":"string","description":"Order note content.","required":true},"customer_note":{"default":false,"description":"If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.","type":"boolean","required":false},"added_by_user":{"default":false,"description":"If true, this note will be attributed to the current user. If false, the note will be attributed to the system.","type":"boolean","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"amount":{"description":"Refund amount.","type":"string","required":false},"reason":{"description":"Reason for refund.","type":"string","required":false},"refunded_by":{"description":"User ID of user who created the refund.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"api_refund":{"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean","required":false},"api_restock":{"default":true,"description":"When true, refunded items are restocked.","type":"boolean","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/orders":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":"any","description":"Limit result set to orders which have specific statuses.","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]},"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"default":"pending","description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"default":"CAD","description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/orders"}]}},"\/wc\/v3\/orders\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/orders\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"line_items":{"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"shipping_lines":{"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"fee_lines":{"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"coupon_lines":{"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/orders\/batch"}]}},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Name for the resource.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"default":"select","description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/attributes"}]}},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/attributes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/attributes\/batch"}]}},"\/wc\/v3\/products\/categories":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"default":"default","description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/categories"}]}},"\/wc\/v3\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/categories\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/categories\/batch"}]}},"\/wc\/v3\/products\/reviews":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to reviews published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","product"],"required":false},"reviewer":{"description":"Limit result set to reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_exclude":{"description":"Ensure result set excludes reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_email":{"default":null,"description":"Limit result set to that from a specific author email.","format":"email","type":"string","required":false},"product":{"default":[],"description":"Limit result set to reviews assigned to specific product IDs.","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approved","description":"Limit result set to reviews assigned a specific status.","type":"string","enum":["all","hold","approved","spam","trash"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the product.","type":"integer","required":true},"status":{"default":"approved","description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"type":"string","description":"Name of the reviewer.","required":true},"reviewer_email":{"type":"string","description":"Email of the reviewer.","required":true},"review":{"type":"string","description":"Review content.","required":true},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/reviews"}]}},"\/wc\/v3\/products\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/products\/reviews\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/reviews\/batch"}]}},"\/wc\/v3\/products\/shipping_classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/shipping_classes"}]}},"\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/shipping_classes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/shipping_classes\/batch"}]}},"\/wc\/v3\/products\/tags":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/tags"}]}},"\/wc\/v3\/products\/tags\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/tags\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/tags\/batch"}]}},"\/wc\/v3\/products":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order","price","popularity","rating"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"default":"simple","description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"default":false,"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"default":false,"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"default":true,"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products"}]}},"\/wc\/v3\/products\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean","required":false}}}]},"\/wc\/v3\/products\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"tags":{"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}},"required":false},"images":{"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}},"required":false},"default_attributes":{"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false},"jetpack_sharing_enabled":{"description":"Are sharing buttons enabled?","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/products\/batch"}]}},"\/wc\/v3\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"default":"publish","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}},"required":false},"attributes":{"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}},"required":false}}}]},"\/wc\/v3\/reports\/sales":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/sales"}]}},"\/wc\/v3\/reports\/top_sellers":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/top_sellers"}]}},"\/wc\/v3\/reports\/orders\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/orders\/totals"}]}},"\/wc\/v3\/reports\/products\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/products\/totals"}]}},"\/wc\/v3\/reports\/customers\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/customers\/totals"}]}},"\/wc\/v3\/reports\/coupons\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/coupons\/totals"}]}},"\/wc\/v3\/reports\/reviews\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports\/reviews\/totals"}]}},"\/wc\/v3\/reports":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/reports"}]}},"\/wc\/v3\/settings":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/settings"}]}},"\/wc\/v3\/settings\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/settings\/batch"}]}},"\/wc\/v3\/settings\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v3\/shipping\/zones":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"type":"string","description":"Shipping zone name.","required":true},"order":{"description":"Shipping zone order.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/shipping\/zones"}]}},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"name":{"description":"Shipping zone name.","type":"string","required":false},"order":{"description":"Shipping zone order.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"code":{"description":"Shipping zone location code.","type":"string","required":false},"type":{"description":"Shipping zone location type.","type":"string","enum":["postcode","state","country","continent"],"required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false}}},{"methods":["POST"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox","class","order"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false},"method_id":{"description":"Shipping method ID.","required":true}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox","class","order"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false}}},{"methods":["DELETE"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/taxes\/classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Tax class name.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/yaohanoptical.com\/index.php\/wp-json\/wc\/v3\/taxes\/classes"}]}},"\/wc\/v3\/taxes\/classes\/(?P