[Backport to release/11.0] Store API: enforce coupon global usage limit when paying for an existing order - #67549
Conversation
…ing order (#67543) Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
Testing GuidelinesHi @senadir @LiamSarsfield , Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed. Reminder: PR reviewers are required to document testing performed. This includes:
|
Test using WordPress PlaygroundThe changes in this pull request can be previewed and tested using a WordPress Playground instance. Test this pull request with WordPress Playground. Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a commit that changes plugin code. |
|
Hi @woocommercebot! Your PR contains REST API changes. Please consider updating the REST API documentation if your changes affect the public API. Changed API files: |
This PR is a cherry-pick of #67543 to
release/11.0.Original PR Description
See 450-gh-Automattic/woocommerce.