Skip to content

Update orders api to add the created_via filter and make it not read-only for POST endpoint #266

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

albarin
Copy link
Contributor

@albarin albarin commented Apr 16, 2025

Adds documentation for the changes on the orders endpoint introduced in:
woocommerce/woocommerce#56977
woocommerce/woocommerce#56670

Testing steps

  • Run the build script found in the root of this repo: ./build.sh
  • Find the build directory created by the script, and the index.html file within. Load that file in your web browser.
  • Click on the Orders > List all orders item in the left-side menu and make sure the created_via filter is documented.
  • Click on the Orders > Order properties item in the left-side menu and make sure the created_via attribute does not have the read-only label anymore.

⚠️ We should not merge this until 9.9.0 is released ⚠️

@albarin albarin requested review from malinajirka, a team and kalessil and removed request for a team April 16, 2025 13:56
Copy link

@malinajirka malinajirka left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

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.

2 participants