Store
API endpoints for the marketplace store — listings, categories, reviews, orders, and pricing.
Store
| Method | Endpoint | Description |
|---|---|---|
| POST | /stores | Create store |
| GET | /stores | List stores |
| GET | /stores/{storeId} | Get store |
| PUT | /stores/{storeId} | Update store |
| DELETE | /stores/{storeId} | Delete store |
Categories
| Method | Endpoint | Description |
|---|---|---|
| POST | /stores/{storeId}/categories | Create category |
| GET | /stores/{storeId}/categories | List categories |
| GET | /stores/{storeId}/categories/{categoryId} | Get category |
| PUT | /stores/{storeId}/categories/{categoryId} | Update category |
| DELETE | /stores/{storeId}/categories/{categoryId} | Delete category |
Reviews
| Method | Endpoint | Description |
|---|---|---|
| POST | /stores/{storeId}/reviews | Create review |
| GET | /stores/{storeId}/reviews | List reviews |
| GET | /stores/{storeId}/reviews/{reviewId} | Get review |
| PUT | /stores/{storeId}/reviews/{reviewId} | Update review |
| DELETE | /stores/{storeId}/reviews/{reviewId} | Delete review |
Pricing Plans
| Method | Endpoint | Description |
|---|---|---|
| POST | /pricing-plans | Create pricing plan |
| GET | /pricing-plans | List pricing plans |
| GET | /pricing-plans/{planId} | Get pricing plan |
| PUT | /pricing-plans/{planId} | Update pricing plan |
| DELETE | /pricing-plans/{planId} | Delete pricing plan |
Orders
| Method | Endpoint | Description |
|---|---|---|
| POST | /orders | Create order |
| GET | /orders | List orders |
| GET | /orders/{orderId} | Get order |
| GET | /orders/number/{orderNumber} | Get order by number |
| PUT | /orders/{orderId} | Update order |
| POST | /orders/{orderId}/process | Process order |
| POST | /orders/{orderId}/cancel | Cancel order |