You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/wp-api-v1/_orders.md
+16-5
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ The orders API allows you to create, view, update, and delete individual, or a b
10
10
|`parent_id`| integer | Parent order ID. |
11
11
|`status`| string | Order status. Default is `pending`. Options (plugins may include new status): `pending`, `processing`, `on-hold`, `completed`, `cancelled`, `refunded` and `failed`. |
12
12
|`order_key`| string | Order key. <iclass="label label-info">read-only</i> |
13
+
|`number`| string | Order number. <iclass="label label-info">read-only</i> |
13
14
|`currency`| string | Currency the order was created with, in ISO format, e.g `USD`. Default is the current store currency. |
14
15
|`version`| string | Version of WooCommerce when the order was made. <iclass="label label-info">read-only</i> |
15
16
|`prices_include_tax`| boolean | Shows if the prices included tax during checkout. <iclass="label label-info">read-only</i> |
@@ -36,11 +37,11 @@ The orders API allows you to create, view, update, and delete individual, or a b
36
37
|`date_completed`| date-time | The date the order was completed, in the site's timezone. <iclass="label label-info">read-only</i> |
37
38
|`date_paid`| date-time | The date the order has been paid, in the site's timezone. <iclass="label label-info">read-only</i> |
38
39
|`cart_hash`| string | MD5 hash of cart items to ensure orders are not modified. <iclass="label label-info">read-only</i> |
39
-
|`line_items`| array | Line items data. See [Line Items properties](#line-item-properties). |
0 commit comments