• Resolved bytecareporty

    (@bytecareporty)


    Hello, I am trying to GET data from Woocommerce API. I have succesfully got Orders, Product and Coupon data. But when I try to get Customers data I get empty response even though in woocommerce I can see there are over 3k customers in database.

    How do I fix that to get correct output from the API? Somewhere on the forum I saw that the problem might be with how the server is set up. But I don’t know anything about fixing that.

    Another bad feeling I have is that in Orders there is only about 10 unique IDs in reference to Customers.

    Here is the status info:


    ### WordPress Environment ###

    WordPress address (URL): https://talentkompas.cz
    Site address (URL): https://talentkompas.cz
    WC Version: 8.9.3
    REST API Version: ? 8.9.3
    Action Scheduler Version: ? 3.8.0
    Log Directory Writable: ?
    WP Version: 6.5.5
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: cs_CZ
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 8.1.28
    PHP Post Max Size: 512 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    cURL Version: 7.81.0
    OpenSSL/3.0.2

    SUHOSIN Installed: –
    MySQL Version: 10.5.9-MariaDB-1:10.5.9+maria~focal-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 8.9.3
    WC Database Prefix: khaqli_
    Celková velikost databáze: 425.68MB
    Velikost dat databáze: 399.30MB
    Velikost indexu databáze: 26.38MB
    khaqli_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    khaqli_woocommerce_order_items: Data: 0.33MB + Index: 0.14MB + Engine InnoDB
    khaqli_woocommerce_order_itemmeta: Data: 5.52MB + Index: 3.03MB + Engine InnoDB
    khaqli_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    khaqli_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    khaqli_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_actionscheduler_actions: Data: 0.33MB + Index: 0.36MB + Engine InnoDB
    khaqli_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_actionscheduler_logs: Data: 0.23MB + Index: 0.17MB + Engine InnoDB
    khaqli_aryo_activity_log: Data: 2.02MB + Index: 2.67MB + Engine InnoDB
    khaqli_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_cky_banners: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    khaqli_cky_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_cky_cookie_categories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    khaqli_comgate_log: Data: 0.09MB + Index: 0.01MB + Engine MyISAM
    khaqli_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_comments: Data: 1.52MB + Index: 0.83MB + Engine InnoDB
    khaqli_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    khaqli_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    khaqli_e_submissions: Data: 0.08MB + Index: 0.27MB + Engine InnoDB
    khaqli_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    khaqli_e_submissions_values: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    khaqli_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_mergado_news: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    khaqli_options: Data: 8.05MB + Index: 1.09MB + Engine InnoDB
    khaqli_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    khaqli_pmxe_posts: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    khaqli_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_postmeta: Data: 176.38MB + Index: 12.03MB + Engine InnoDB
    khaqli_posts: Data: 172.39MB + Index: 2.52MB + Engine InnoDB
    khaqli_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    khaqli_rank_math_analytics_objects: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    khaqli_rank_math_internal_links: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    khaqli_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_toret_ppl_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_tppl_package_numbers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_usermeta: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    khaqli_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    khaqli_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    khaqli_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wc_customer_lookup: Data: 0.19MB + Index: 0.22MB + Engine InnoDB
    khaqli_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    khaqli_wc_order_addresses: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wc_order_coupon_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    khaqli_wc_order_operational_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wc_order_product_lookup: Data: 0.31MB + Index: 0.39MB + Engine InnoDB
    khaqli_wc_order_stats: Data: 0.30MB + Index: 0.30MB + Engine InnoDB
    khaqli_wc_order_tax_lookup: Data: 0.16MB + Index: 0.16MB + Engine InnoDB
    khaqli_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    khaqli_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    khaqli_wfconfig: Data: 1.44MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wffilemods: Data: 16.55MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfhits: Data: 1.02MB + Index: 0.09MB + Engine InnoDB
    khaqli_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    khaqli_wfknownfilelist: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    khaqli_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wflogins: Data: 0.16MB + Index: 0.06MB + Engine InnoDB
    khaqli_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    khaqli_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    khaqli_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    khaqli_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfsecurityevents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    khaqli_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    khaqli_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wfwaffailures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wpify_woo_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wpr_above_the_fold: Data: 0.14MB + Index: 0.06MB + Engine InnoDB
    khaqli_wpr_rocket_cache: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    khaqli_wpr_rucss_used_css: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    khaqli_wt_iew_action_history: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    khaqli_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    khaqli_wt_sc_coupon_lookup: Data: 0.09MB + Index: 0.05MB + Engine MyISAM

    ### Post Type Counts ###

    acf-field: 16
    acf-field-group: 4
    attachment: 579
    br_labels: 1
    custom_css: 1
    customize_changeset: 1
    elementor_font: 2
    elementor_library: 33
    nav_menu_item: 14
    oembed_cache: 3
    page: 24
    post: 32
    product: 14
    product_variation: 4
    pruvodce: 7
    revision: 4037
    seedprod: 2
    shop_coupon: 1564
    shop_order: 3825
    shop_order_refund: 1
    terminy_vycviku: 2
    wp_global_styles: 1
    wpcode: 2

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (33) ###

    Add coupon by link / URL coupons for Woocommerce: Autor: PI Websolution – 1.1.31
    Advanced Custom Fields PRO: Autor: WP Engine – 6.3.1
    WooCommerce Advanced Product Labels: Autor: BeRocket – 1.2.5.3
    Protokol změn: Autor: Activity Log Team – 2.10.1
    CookieYes | GDPR Cookie Consent: Autor: CookieYes – 3.2.4
    WooCommerce Generátor kupón?: Autor: Jeroen Sormani – 1.2.0
    Custom Post Type UI: Autor: WebDevStudios – 1.16.0
    Yoast Duplicate Post (Zkopírovat p?íspěvek): Autor: Enrico Battocchi & Team Yoast – 4.5
    Easy Product Bundles for WooCommerce: Autor: Product Bundles Team – 4.8.0
    Integrate Ecomail and Elementor Forms: Autor: Adam Kotala – 1.3.0
    Ecomail: Autor: ECOMAIL.CZ – 2.1.6
    Elementor Pro: Autor: Elementor.com – 3.21.3
    Elementor: Autor: Elementor.com – 3.21.8
    eSoul Pruvodci: Autor: Tomá? Vojík – 1.0
    ISIC: Autor: Tomá? Vojík – 1.0
    Loco Translate: Autor: Tim Whitlock – 2.6.9
    Popup Trigger URL for Elementor Pro: Autor: Suki WordPress Theme – 1.0.5
    Po?adí typ? p?íspěvku: Autor: Nsp Code – 2.2.3
    Rank Math SEO with AI Best SEO Tools: Autor: Rank Math – 1.0.220
    The Plus Addons for Elementor: Autor: POSIMYTH – 5.5.6
    The Plus Addons for Elementor - Pro: Autor: POSIMYTH – 5.3.5
    Toret Custom Price: Autor: Vladislav Musílek – 1.2
    VueTalent: Autor: Webwings s.r.o. – 1.0.0
    Converter for Media: Autor: matt plugins – 5.12.5
    Webwings Affiliate: Autor: Martin Bargl – 1.0
    Toret Comgate: Autor: toret.cz – 3.1.18
    Advanced Order Export For WooCommerce: Autor: AlgolPlus – 3.5.3
    WooCommerce Stripe Gateway: Autor: WooCommerce – 8.3.1
    Google Analytics for WooCommerce: Autor: WooCommerce – 2.1.0
    WooCommerce: Autor: Automattic – 8.9.3 (aktualizace na verzi 9.0.2 je dostupná)
    WP Mail SMTP: Autor: WP Mail SMTP – 4.0.1
    WP Rocket: Autor: WP Media – 3.16
    Smart Coupons For WooCommerce Coupons: Autor: WebToffee – 1.7.1

    ### Inactive Plugins (0) ###


    ### Dropin Plugins () ###

    advanced-cache.php: advanced-cache.php

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: CZK (K?)
    Currency Position: right_space
    Thousand Separator:
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: easy_product_bundle (easy_product_bundle)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    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: –
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –

    ### Logging ###

    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 dn?
    Level threshold: –
    Log directory size: 181 KB

    ### WC Pages ###

    Obchod: #14 - /eshop/
    Ko?ík: #15 - /kosik/
    Pokladna: #16 - /pokladna/
    M?j ú?et: ? Stránka neobsahuje [woocommerce_my_account] shortcode.
    Obchodní podmínky: #36 - /obchodni-podminky/

    ### Theme ###

    Name: Hello Elementor Child
    Version: 2.6.1.1665316295
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: ?
    Parent Theme Name: Hello Elementor
    Parent Theme Version: 3.0.2 – 3.1.0 je k dispozici
    Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    WooCommerce Support: ?

    ### Templates ###

    Overrides: hello-elementor-child/woocommerce/archive-product.php verze 3.4.0 je neaktuální. Verze jádra je 8.6.0
    hello-elementor-child/woocommerce/cart/cart-totals.php
    hello-elementor-child/woocommerce/cart/cart.php verze 3.8.0 je neaktuální. Verze jádra je 7.9.0
    hello-elementor-child/woocommerce/cart/proceed-to-checkout-button.php verze 2.4.0 je neaktuální. Verze jádra je 7.0.1
    hello-elementor-child/woocommerce/checkout/form-billing.php
    hello-elementor-child/woocommerce/checkout/form-checkout.php
    hello-elementor-child/woocommerce/checkout/form-pay.php verze 5.2.0 je neaktuální. Verze jádra je 8.2.0
    hello-elementor-child/woocommerce/checkout/form-shipping.php
    hello-elementor-child/woocommerce/checkout/payment-method.php
    hello-elementor-child/woocommerce/checkout/payment.php verze 3.5.3 je neaktuální. Verze jádra je 8.1.0
    hello-elementor-child/woocommerce/checkout/review-order.php
    hello-elementor-child/woocommerce/checkout/terms.php
    hello-elementor-child/woocommerce/checkout/thankyou.php verze 3.7.0 je neaktuální. Verze jádra je 8.1.0
    hello-elementor-child/woocommerce/content-product.php
    hello-elementor-child/woocommerce/emails/admin-cancelled-order.php
    hello-elementor-child/woocommerce/emails/admin-failed-order.php
    hello-elementor-child/woocommerce/emails/admin-new-order.php
    hello-elementor-child/woocommerce/emails/customer-completed-order.php
    hello-elementor-child/woocommerce/emails/customer-invoice.php
    hello-elementor-child/woocommerce/emails/customer-on-hold-order.php verze 3.7.0 je neaktuální. Verze jádra je 7.3.0
    hello-elementor-child/woocommerce/emails/customer-processing-order.php
    hello-elementor-child/woocommerce/emails/email-footer.php verze 3.7.0 je neaktuální. Verze jádra je 7.4.0
    hello-elementor-child/woocommerce/emails/email-header.php verze 4.0.0 je neaktuální. Verze jádra je 7.4.0
    hello-elementor-child/woocommerce/emails/email-order-details.php
    hello-elementor-child/woocommerce/emails/email-styles.php verze 4.0.0 je neaktuální. Verze jádra je 8.6.0
    hello-elementor-child/woocommerce/global/quantity-input.php verze 4.0.0 je neaktuální. Verze jádra je 7.8.0
    hello-elementor-child/woocommerce/loop/orderby.php
    hello-elementor-child/woocommerce/loop/pagination.php
    hello-elementor-child/woocommerce/loop/sale-flash.php
    hello-elementor-child/woocommerce/myaccount/form-login.php verze 6.0.0 je neaktuální. Verze jádra je 7.0.1
    hello-elementor-child/woocommerce/myaccount/my-account.php

    Outdated Templates: ?


    Zjistěte
    jak aktualizovat


    ### Admin ###

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    product-linked
    product-pre-publish-modal
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page

    Disabled Features: minified-js
    new-product-management-experience
    settings
    async-product-editor-category-field
    launch-your-store

    Daily Cron: ? Next scheduled: 2024-07-03 12:05:58 +02:00
    Options: ?
    Notes: 43
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 734
    Oldest: 2024-06-02 12:31:27 +0200
    Newest: 2024-07-03 08:36:34 +0200

    Failed: 17
    Oldest: 2022-11-30 11:40:34 +0100
    Newest: 2023-12-17 09:40:10 +0100

    Pending: 5
    Oldest: 2024-07-03 10:01:15 +0200
    Newest: 2024-07-08 21:03:43 +0200


    ### Status report information ###

    Generated at: 2024-07-03 09:42:21 +02:00
    `

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @bytecareporty

    I tried replicating the issue on my end but couldn’t. Everything seems to be working fine. I followed the REST API docs that you shared here: https://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-a-customer

    However, an empty response usually suggests that the API request isn’t being authenticated properly. Please ensure that your API keys have the correct read permissions for customer data. If unsure, you can create a new set of API keys with read permissions and try again.

    Also, the WooCommerce API only returns data for customers who have made an order. So, if you have only 10 unique customer IDs, it means that only those 10 customers have made an order.

    If you are still having problems, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @bytecareporty

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks!

    Hi,

    Did youy find a solution ?

    I have exactly the same problem, after update to WP 6.6.2 when i try to get user data by id i get no error but a table with empty value

    customer_data={‘create_date’:1728896737,’last_update’:’2024-10-14 09:05:37′,’remote_id’:null,’name_alias’:null,’email_key’:null,’client’:1,’vatnumber’:null,’note_private’:’Site: ‘VEXI’ – ID: ‘,’address’:”,’zip’:null,’town’:null,’country_id’:”,’phone’:null,’default_lang’:’auto’,’remote_datas’:{‘meta_data’:[{‘id’:315800,’key’:’_yoast_wpseo_profile_updated’,’value’:’1728833346′},{‘id’:315817,’key’:’shipping_method’,’value’:[‘877’]},{‘id’:315818,’key’:’billing_phone2′,’value’:”},{‘id’:315819,’key’:’shipping_phone1′,’value’:”},{‘id’:315820,’key’:’shipping_phone2′,’value’:”},{‘id’:315821,’key’:’wc_last_active’,’value’:’1728777600′}],’_links’:{‘self’:[{‘href’:’https:\/\/www.test.fr\/wp-json\/wc\/v3\/customers\/8606′}],’collection’:[{‘href’:’https:\/\/www.test.fr\/wp-json\/wc\/v3\/customers’}]}},’extrafields’:{‘ecommerceng_wc_role_1_1′:’Client’},’type’:’user’,’name’:’Pas de nom\/pr\u00e9nom renseign\u00e9′,’email’:null}

    Version de WooCommerce:3.7.3

    Package WooCommerce REST API:?1.0.2?

    Version de WordPress?:6.6.2

    Thread Starter bytecareporty

    (@bytecareporty)

    Hello,

    I had to solve it through data from orders. In orders there are customer details that I extracted.

    Hello,

    I finnaly found the solution, when i updated to WP 6.6.1 the file V3\class-wc-rest-customers-controller.php was updated to a new version and it doesn’t return the customer data array as before.

    I didn’t know why and what is the solution so meanwhile i replace this file with the previous version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.