...
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/api-concepts.html
Write the API to get all catalog rule with anonymous resource
Write API to create invoice by order id with anonymous resourceTạo database sinh viên, field tùy chọn
Sử dụng service contract, viết repository getList, delete, deleteById,, getById, save
Tạo rest api , resource anonymous thực hiện các hàm trên