Skip to content

Commit 4c9449b

Browse files
committed
Add note about precedence
1 parent 6039647 commit 4c9449b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -1481,11 +1481,11 @@ 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. 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. 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`, `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`.|
14861486
| `type` | string | Limit result set to products assigned a specific type. Options: `simple`, `grouped`, `external` and `variable`. |
1487-
| `include_types` | string | Limit result set to products with any of the types. Multiple statuses can be provided as a comma-separated list. Options: `simple`, `grouped`, `external` and `variable`. |
1488-
| `exclude_types` | string | Exclude products from result set with any of the specified types. Multiple statuses can be provided as a comma-separated list. Options: `simple`, `grouped`, `external` and `variable`. |
1487+
| `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`. |
1488+
| `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`. |
14891489
| `sku` | string | Limit result set to products with a specific SKU. |
14901490
| `featured` | boolean | Limit result set to featured products. |
14911491
| `category` | string | Limit result set to products assigned a specific category ID. |

0 commit comments

Comments
 (0)