Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for product variations list endpoint new parameters #257

Merged
merged 2 commits into from
Feb 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/includes/wp-api-v3/_product-variations.md
Original file line number Diff line number Diff line change
Expand Up @@ -624,12 +624,16 @@ woocommerce.get("products/22/variations").parsed_response
| `parent_exclude` | array | Limit result set to all items except those of a particular parent ID. |
| `slug` | string | Limit result set to products with a specific slug. |
| `status` | string | Limit result set to products assigned a specific status. Options: `any`, `draft`, `pending`, `private` and `publish`. Default is `any`. |
| `include_status` | string | Limit result set to product variations 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`.|
| `exclude_status` | string | Exclude product variations 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`.|
| `sku` | string | Limit result set to products with a specific SKU. |
| `tax_class` | string | Limit result set to products with a specific tax class. Default options: `standard`, `reduced-rate` and `zero-rate`. |
| `on_sale` | boolean | Limit result set to products on sale. |
| `min_price` | string | Limit result set to products based on a minimum price. |
| `max_price` | string | Limit result set to products based on a maximum price. |
| `stock_status` | string | Limit result set to products with specified stock status. Options: `instock`, `outofstock` and `onbackorder`. |
| `virtual` | boolean | Limit result set to virtual product variations |
| `downloadable` | boolean | Limit result set to downloadable product variations. |

## Update a product variation ##

Expand Down