diff --git a/source/includes/wp-api-v3/_index.md b/source/includes/wp-api-v3/_index.md index 76a6583..a3171ac 100644 --- a/source/includes/wp-api-v3/_index.md +++ b/source/includes/wp-api-v3/_index.md @@ -6070,7 +6070,10 @@ woocommerce.get("").parsed_response "id", "include", "title", - "slug" + "slug", + "price", + "popularity", + "rating" ], "description": "Sort collection by object attribute.", "type": "string" diff --git a/source/includes/wp-api-v3/_products.md b/source/includes/wp-api-v3/_products.md index 604295c..fb9aad7 100644 --- a/source/includes/wp-api-v3/_products.md +++ b/source/includes/wp-api-v3/_products.md @@ -1473,7 +1473,7 @@ woocommerce.get("products").parsed_response | `include` | array | Limit result set to specific ids. | | `offset` | integer | Offset the result set by a specific number of items. | | `order` | string | Order sort attribute ascending or descending. Options: `asc` and `desc`. Default is `desc`. | -| `orderby` | string | Sort collection by object attribute. Options: `date`, `id`, `include`, `title` and `slug`. Default is `date`. | +| `orderby` | string | Sort collection by object attribute. Options: `date`, `id`, `include`, `title`, `slug`, `price`, `popularity` and `rating`. Default is `date`. | | `parent` | array | Limit result set to those of particular parent IDs. | | `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. |