api sends wrong order number

[ad_1]

Hello,
I noticed that the value ID is not the order number. With the value in ID I find nothing in WooCommerce.

It seems that the ID is stored somewhere else.
It is stored in “number” and in “meta_data” under “value”.

Order number is 26283

"data": {
        "id": 1023238,
        "parent_id": 0,
        "status": "completed",
        "currency": "EUR",
        "version": "6.8.2",

        "billing": {
            
        },
        "shipping": {
            
        },
        "payment_method": "mollie_wc_gateway_paypal",
        "payment_method_title": "PayPal",
        "transaction_id": "*****",
        "customer_ip_address": "*****",
        "customer_user_agent": "*****",
        "created_via": "checkout",
        "customer_note": "",
        "date_completed": "2022-09-05T11:54:53",
        "date_paid": "2022-09-05T09:06:35",
        "cart_hash": "",
        "number": "26283",
        "meta_data": [
            {
                "id": 33464097,
                "key": "_order_number",
                "value": "26283"
            },
            {

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer