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

Fix endpoint path in _product-reviews.md #184

Merged
merged 1 commit into from Feb 8, 2021
Merged

Fix endpoint path in _product-reviews.md #184

merged 1 commit into from Feb 8, 2021

Conversation

heyallan
Copy link
Contributor

@heyallan heyallan commented Nov 5, 2020

Endpoint for "Delete a product review" should be products/reviews (plural) instead of products/review (singular).

References:

Endpoint path for action "Delete a product review" should be `products/reviews/id` (plural) instead of `products/review/id` (singular).

References:

- [API Docs](https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#delete-a-product-review)
- [Product reviews controller](https://github.com/woocommerce/woocommerce/blob/29b8b0d60d77c632c87bf52a638936112bf6f6f5/includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php#L5)
@heyallan heyallan changed the title Fix endpoint path Fix endpoint path in _product-reviews.md Nov 5, 2020
Copy link
Contributor

@claudiosanches claudiosanches left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

@claudiosanches claudiosanches merged commit 4777a87 into woocommerce:master Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants