Overview
The Products API allows store owners to manage their product catalog with full create, read, update, and delete operations. All products are associated with a specific store and category.Create Product
Product name (1-100 characters)
Product description (up to 1000 characters)
Category ID for the product
Product price in USD
Product cost for profit calculations
Available stock quantity
Stock alert threshold
Preparation time
Time unit:
minutes, hours, or daysProduct availability status
Primary product image storage ID
Additional product images
Update Product
Update an existing product. Only provide the fields you want to change.Product ID to update
Updated product name
Updated product description
Updated product price
Updated stock quantity
Updated availability status
Get Products for Store
Retrieve all products for the authenticated store owner.Get Product by ID
Retrieve a specific product by its ID.Product ID to retrieve
Delete Product
Delete a product owned by the authenticated store owner.Product ID to delete
Error Handling
Product not found
Product not found
Status Code:
404Validation errors
Validation errors
Status Code:
400Best Practices
Image Optimization
Upload images in WebP format for better performance. Use multiple sizes for responsive design.
Stock Management
Set appropriate stock alerts to avoid overselling. Update stock levels in real-time.
SEO Optimization
Use descriptive names and detailed descriptions for better search visibility.
Performance
Batch operations when possible. Use pagination for large product catalogs.
Products are automatically indexed for search functionality. Changes to product information are reflected in search results within seconds.
