marketplace refactoring

This commit is contained in:
2025-10-04 13:38:10 +02:00
parent 32be301d83
commit c971674ec2
68 changed files with 1102 additions and 1128 deletions

View File

@@ -37,8 +37,8 @@ All API endpoints are versioned using URL path versioning:
- Configuration management
### Products (`/products/`)
- Product CRUD operations
- Product search and filtering
- MarketplaceProduct CRUD operations
- MarketplaceProduct search and filtering
- Bulk operations
### Shops (`/shops/`)
@@ -98,7 +98,7 @@ Content-Type: application/json
Most list endpoints support pagination:
```bash
GET /api/v1/product?skip=0&limit=20
GET /api/v1/marketplace/product?skip=0&limit=20
```
Response includes pagination metadata:
@@ -116,14 +116,14 @@ Response includes pagination metadata:
Many endpoints support filtering and search:
```bash
GET /api/v1/product?search=laptop&category=electronics&min_price=100
GET /api/v1/marketplace/product?search=laptop&category=electronics&min_price=100
```
### Sorting
Use the `sort` parameter with field names:
```bash
GET /api/v1/product?sort=name&order=desc
GET /api/v1/marketplace/product?sort=name&order=desc
```
## Status Codes