Overview
Sellers can create, update, and delete their own product listings. All product management endpoints require Seller authentication.For detailed product API documentation including creation, updates, and general product operations, see the Products API section.
Get Seller Products by Category (Seller)
Retrieves paginated products for a specific seller and category.Path Parameters
Seller identifier (must match authenticated seller)
Category identifier
Page number (starts at 1)
Query Parameters
Number of products per page
Response
Array of product objects
Total products in this category
Current page number
Total number of pages
Response Codes
200 OK- Products retrieved404 Not Found- Seller or category not found
Example
cURL
Success Response
Create Product (Seller)
See Products API - Create Product for detailed documentation. Quick Reference:cURL
Update Product General Info (Seller)
See Products API - Update General Info.Request Body
Updated product name
Updated product description
Updated stock quantity
Example
cURL
Update Product Price (Seller)
See Products API - Update Price.Example
cURL
Add Product Discount (Seller)
See Discounts API - Add Discount.Example
cURL
Change Product Main Photo (Seller)
Changes the main display photo for a product.Path Parameters
Product identifier
ID of the media item to set as main photo (must be an existing product photo)
Response Codes
204 No Content- Main photo updated400 Bad Request- Invalid photo ID or photo doesn’t belong to product404 Not Found- Product or photo not found
Example
cURL
Add Product Media (Seller)
Adds additional images or videos to a product.Request Body (multipart/form-data)
Product identifier
Media files to add (images or videos)
Response Codes
204 No Content- Media added400 Bad Request- Invalid file format or size404 Not Found- Product not found
Example
cURL
Delete Product Media (Seller)
Removes a media file from a product.Path Parameters
Product identifier
Media item identifier to delete
Response Codes
204 No Content- Media deleted400 Bad Request- Cannot delete main photo or invalid media404 Not Found- Product or media not found
Example
cURL
Delete Product (Seller)
See Products API - Delete Product.Example
cURL
Product Management Tips
Product Creation Checklist
Get Category Attributes
Fetch required attributes for the category using
/api/categories/child/{childId}/attributesImage Guidelines
Recommended Image Specifications:
- Format: JPEG or PNG
- Resolution: 1200x1200px or higher
- Aspect Ratio: Square (1:1) preferred
- File Size: Under 2MB per image
- Background: Clean white or neutral background
Inventory Management
Pricing Strategies
Competitive Pricing: Research similar products to price competitively
Seasonal Discounts: Use discount features for seasonal promotions
Bundle Pricing: Consider creating product bundles for better value