Title: api sends wrong order number
Last modified: September 9, 2022

---

# api sends wrong order number

 *  Resolved [atakan1](https://wordpress.org/support/users/atakan1/)
 * (@atakan1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/api-sends-wrong-order-number/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-sends-wrong-order-number%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [seank123](https://wordpress.org/support/users/seank123/)
 * (@seank123)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/api-sends-wrong-order-number/#post-15994329)
 * The ‘ID’ and ‘number’ field have the same value on mine.
 * But I don’t have an ‘_order_number’ entry in the meta_data.
 * Are you using a plugin to change the default order number behaviour – give you
   custom or sequential numbers for example?
 *  Thread Starter [atakan1](https://wordpress.org/support/users/atakan1/)
 * (@atakan1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/api-sends-wrong-order-number/#post-15994396)
 * [@seank123](https://wordpress.org/support/users/seank123/)
    yes i have a multisite
   and there is the option through the plugin woomultistore “Use sequential order
   numbers across the multisite environment”.
 *  Thread Starter [atakan1](https://wordpress.org/support/users/atakan1/)
 * (@atakan1)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/api-sends-wrong-order-number/#post-15995107)
 * [@seank123](https://wordpress.org/support/users/seank123/) thanks it was because
   of the plugin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘api sends wrong order number’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [order](https://wordpress.org/support/topic-tag/order/)

 * 3 replies
 * 2 participants
 * Last reply from: [atakan1](https://wordpress.org/support/users/atakan1/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/api-sends-wrong-order-number/#post-15995107)
 * Status: resolved