• Resolved mrbcarrion

    (@mrbcarrion)


    I’m trying to access to subscriptions API through https://{myurl}/wp-json/wc/v3/subscriptions like the docs says, but the only thing I get is an error 404 with this message “No route was found matching the URL and request method.”. Why can’t I access?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @mrbcarrion!

    To further check into this and point you in the right direction, kindly provide us your System Status; you can find it via WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, paste in here your response.

    Thanks!

    Thread Starter mrbcarrion

    (@mrbcarrion)

    Hi, here is the report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://aroma.initgrammers.com
    Site address (URL): https://aroma.initgrammers.com
    WC Version: 6.1.0
    REST API Version: ? 6.1.0
    WC Blocks Version: ? 6.5.1
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.0.3
    Log Directory Writable: ?
    WP Version: 5.9.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 8.0.14
    PHP Post Max Size: 64 MB
    PHP Time Limit: 360
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.22-MariaDB-1:10.4.22+maria~focal-log
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.1.0
    WC Database Prefix: wp_
    Total Database Size: 41.13MB
    Database Data Size: 33.71MB
    Database Index Size: 7.42MB
    wp_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.20MB + Index: 0.23MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.31MB + Index: 0.36MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.22MB + Index: 0.17MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
    wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_submissions: Data: 0.03MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_scheduled_tasks: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_section_storage: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_smartslider3_slides: Data: 0.14MB + Index: 0.11MB + Engine InnoDB
    wp_options: Data: 6.05MB + Index: 0.36MB + Engine InnoDB
    wp_postmeta: Data: 17.45MB + Index: 2.98MB + Engine InnoDB
    wp_posts: Data: 4.48MB + Index: 0.25MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 87
    custom_css: 1
    customize_changeset: 2
    elementor_font: 1
    elementor_library: 4
    mailpoet_page: 1
    nav_menu_item: 5
    page: 15
    post: 2
    product: 72
    product_variation: 23
    revision: 894
    shop_order: 94
    shop_subscription: 45
    wcb2b_group: 3
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (15) ###
    
    All-in-One WP Migration: by ServMask – 7.53
    Duplicator: by Snap Creek – 1.4.3
    Elementor Pro: by Elementor.com – 3.5.2
    Elementor: by Elementor.com – 3.5.3
    Essential Addons for Elementor: by WPDeveloper – 5.0.1
    Google Listings and Ads: by WooCommerce – 1.9.0
    Jetpack: by Automattic – 10.5
    LiteSpeed Cache: by LiteSpeed Technologies – 4.5.0.1
    MailPoet 3 (New): by MailPoet – 3.76.0
    Smart Slider 3: by Nextend – 3.5.1.2
    WooCommerce B2B: by Code4Life – 3.0.8
    WooCommerce Payments: by Automattic – 3.5.0 (update to version 3.8.2 is available)
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.20 (update to version 1.25.23 is available)
    WooCommerce: by Automattic – 6.1.0 (update to version 6.3.0 is available)
    WP File Manager: by mndpsingh287 – 7.1.4
    
    ### Inactive Plugins (4) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.1
    DoLogin Security: by WPDO – 3.1
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.3.0
    Hello Dolly: by Matt Mullenweg – 1.7.2
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: object-cache.php
    
    ### Must Use Plugins (1) ###
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: ? Page ID is set
    but the page does not exist
    
    Cart: #96 - /cart/
    Checkout: #97 - /checkout/
    My account: #98 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.4.2 (update to version 2.5.0 is available)
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://aroma.initgrammers.com
    Subscription Statuses: wc-active: 29
    wc-expired: 16
    
    WooCommerce Account Connected: ? No
    
    ### Store Setup ###
    
    Country / State: United States (US) — New York
    
    ### Subscriptions by Payment Gateway ###
    
    WooCommerce Payments: wc-active: 29
    wc-expired: 16
    
    ### Payment Gateway Support ###
    
    WooCommerce Payments: products
    refunds
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    tokenization
    add_payment_method
    
    Quotation request: products
    
    ### WooCommerce Payments ###
    
    Version: 3.5.0
    Connected to WPCOM: Yes
    Blog ID: 201719746
    Account ID: acct_1KLqtp2HTqg8WYVN
    
    ### Action Scheduler ###
    
    Complete: 782
    Oldest: 2022-02-08 21:55:59 +0000
    Newest: 2022-03-10 20:47:24 +0000
    
    Pending: 49
    Oldest: 2022-03-10 21:22:43 +0000
    Newest: 2023-02-22 18:37:42 +0000
    
    ### Status report information ###
    
    Generated at: 2022-03-10 21:18:52 +00:00
    

    Hi @mrbcarrion,

    I didn’t see WooCommerce Subscriptions listed in the system report. Are you wanting to use the subscriptions REST API with WooCommerce Payments Subscriptions?

    If that’s the case, this won’t work. The Subscriptions REST API is part of the main WooCommerce Subscriptions extension and not the WooCommerce Payments one.

    If you need to use the REST API, you’ll want to upgrade to the full Subscriptions extension.

    https://woocommerce.com/products/woocommerce-subscriptions/

    Let us know if you have any questions.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved.

    I hope the above information from 3 Sons Development is helpful to you.

    Feel free to start a new thread if you have any more questions.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t access to subscriptions API’ is closed to new replies.