add new api

This commit is contained in:
behruz-dev
2025-08-25 15:56:09 +05:00
parent 74ecc581ae
commit 30e0e3462f
15 changed files with 108 additions and 61 deletions

View File

@@ -1,6 +1,7 @@
from django.urls import path, include
from core.apps.wherehouse.views import wherehouse as wherehouse_views
from core.apps.wherehouse.views import inventory as inventory_views
urlpatterns = [
@@ -13,4 +14,9 @@ urlpatterns = [
path('<uuid:id>/update/', wherehouse_views.WhereHouseUpdateApiView.as_view()),
]
)),
]
path('inventory/', include(
[
path('<uuid:wherehouse_id>/list/', inventory_views.InventoryListApiView.as_view()),
]
)),
]