To check if a one-time-use coupon code has been used in Magento 2, you can follow these steps:
1. Admin Panel:
Go to Cart Price Rules in the Magento Admin panel.
2. Find the Rule:
Locate the rule associated with your coupon code and click on it to view the details.
3.Check Usage Reports:
In the rule settings, look for the "Uses per Coupon" or "Uses per Customer" section to see if the code has been applied.
4. Orders Section:
Alternatively, you can go to Sales > Orders and search for orders where the coupon code was used.