Skip to main content

List All Products

Query Parameters

page
integer
default:"1"
Page number

Example

curl https://your-domain.com/api/v2/products?page=1

Get Product Details

Path Parameters

id
integer
required
Product ID

Example

curl https://your-domain.com/api/v2/products/123

Search Products

Query Parameters

name
string
Product name or keywords to search
categories
string
Comma-separated category IDs (e.g., “1,2,3”)
brands
string
Comma-separated brand IDs (e.g., “1,5,10”)
min
number
Minimum price
max
number
Maximum price
sort_key
string
Sort order: price_low_to_high, price_high_to_low, new_arrival, popularity, top_rated

Example

curl "https://your-domain.com/api/v2/products/search?name=laptop&min=500&max=2000&sort_key=price_low_to_high"

Get Variant Price

Request

id
integer
required
Product ID
quantity
integer
default:"1"
Quantity
color
string
Color code (without #)
variants
string
Comma-separated variant options

Response

result
boolean
Success status
data
object

Products by Category

Path Parameters

id
integer
required
Category ID
name
string
Filter by product name

Products by Sub-Category

Products by Sub-Sub-Category

Products by Brand

Path Parameters

id
integer
required
Brand ID

Products by Seller

Path Parameters

id
integer
required
Shop ID

Best Sellers

Today’s Deals

In-House Products

Digital Products

Path Parameters

id
integer
required
Product ID

Top Products from Seller

Path Parameters

id
integer
required
Product ID

Path Parameters

id
integer
required
Seller ID

Product Reviews

Get Reviews

Submit Review

product_id
integer
required
Product ID
rating
integer
required
Rating (1-5)
comment
string
required
Review comment

Classified Products

Get All Classified Products

Get Classified Product Details

Get Own Classified Products

Delete Classified Product

Change Classified Product Status

Build docs developers (and LLMs) love