from django.urls import path
from .views import CategoryListAPIView, SegmentListAPIView, SizeListAPIView, SeasonListAPIView, ColorListAPIView, ProductListAPIView

urlpatterns = [
    path('categories/', CategoryListAPIView.as_view(), name='categories'),
    path('segments/', SegmentListAPIView.as_view(), name='segments'),
    path('sizes/', SizeListAPIView.as_view(), name='sizes'),
    path('season/', SeasonListAPIView.as_view(), name='seasons'),
    path('colors/', ColorListAPIView.as_view(), name='colors'),
    path('products/', ProductListAPIView.as_view(), name='products'),
    #     path('products/<pk>', ProductRetrieve.as_view(), name='product'),
]
