There are two things you may be looking for here
- The WooCommerce order number
- The order ID (which is actually just the post ID)
They can both be the same number, but sometimes they may also differ.
The order ID is used to get the order object and manage the order data, whereas the order number is just the order number.
We will show you how to access both.