Skip to content

Commit 9afb2bb

Browse files
committedJan 13, 2025
Add future option to status params
1 parent 4c9449b commit 9afb2bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎source/includes/wp-api-v3/_products.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1481,8 +1481,8 @@ woocommerce.get("products").parsed_response
14811481
| `parent_exclude` | array | Limit result set to all items except those of a particular parent ID. |
14821482
| `slug` | string | Limit result set to products with a specific slug. |
14831483
| `status` | string | Limit result set to products assigned a specific status. Options: `any`, `draft`, `pending`, `private` and `publish`. Default is `any`. |
1484-
| `include_status` | string | Limit result set to products with any of the specified statuses. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `status` parameter. Options: `any`, `trash`, `draft`, `pending`, `private`, and `publish`.|
1485-
| `exclude_status` | string | Exclude products from result set with any of the specified statuses. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `include_status` parameter. Options: `trash`, `draft`, `pending`, `private`, and `publish`.|
1484+
| `include_status` | string | Limit result set to products with any of the specified statuses. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `status` parameter. Options: `any`, `future`, `trash`, `draft`, `pending`, `private`, and `publish`.|
1485+
| `exclude_status` | string | Exclude products from result set with any of the specified statuses. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `include_status` parameter. Options: `future`, `trash`, `draft`, `pending`, `private`, and `publish`.|
14861486
| `type` | string | Limit result set to products assigned a specific type. Options: `simple`, `grouped`, `external` and `variable`. |
14871487
| `include_types` | string | Limit result set to products with any of the types. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `type` parameter. Options: `simple`, `grouped`, `external` and `variable`. |
14881488
| `exclude_types` | string | Exclude products from result set with any of the specified types. Multiple statuses can be provided as a comma-separated list. Takes precedence over the `include_types` parameter. Options: `simple`, `grouped`, `external` and `variable`. |

0 commit comments

Comments
 (0)