Commit Graph

8 Commits

Author SHA1 Message Date
0e2ffc1c74 feat(catalog): add product variant controller, requests and resources 2026-06-24 15:29:01 -03:00
1907178e52 refactor(catalog): nest catalog routes under tenant
Move Catalog endpoints under /api/tenants/{tenant:codigo} and derive tenant
context from the route instead of request payload fields.

- scope marcas, categorias, productos, and product-attributes by tenant
- enforce tenant ownership in catalog controllers
- remove tenant_codigo and tenant_code from Catalog request validation
- update product attribute tests to use tenant-scoped routes
2026-06-24 15:16:38 -03:00
c6e5177df1 feat(catalog): add tenant-scoped product attributes and variant definitions 2026-06-24 15:08:13 -03:00
75129b7552 remove props 2026-06-24 14:43:10 -03:00
696010a70e Remove unused 'props' unset operation in store and update methods across Brand, Category, Product, and Tenant controllers 2026-06-24 11:13:18 -03:00
8e5814e333 Refactor Brand, Category, and Product controllers to use createWithProps and updateWithProps methods for improved property synchronization 2026-06-24 10:28:46 -03:00
6a0080b475 Add Brand and Category management features with controllers, requests, resources, and API routes 2026-06-24 10:20:13 -03:00
8feaa0051d Implement Product management features with controller, requests, resource, and routes 2026-06-24 10:05:26 -03:00