Appearance
Marketplace
As an Admin, you can view marketplace products via the API.
List Marketplace Products
GET/marketplace-products Bearer Token
Retrieve a paginated list of marketplace products.
| Parameter | Type | Required | Description |
|---|---|---|---|
per_page | number | No | Results per page |
Response
Success (200):
json
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "Wireless Earbuds",
"sku": "WE-BLK-001",
"price": 199,
"status": "active"
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 50,
"total": 30,
"pages": 1
}
}
}Show Marketplace Product
GET/marketplace-products/{id}/show Bearer Token
Retrieve a single marketplace product by ID.
Response
Success (200):
json
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "Wireless Earbuds",
"description": "High-quality wireless earbuds with noise cancellation",
"sku": "WE-BLK-001",
"price": 199,
"status": "active",
"created_at": "2025-01-10T08:00:00Z",
"updated_at": "2025-01-10T08:00:00Z"
},
"meta": {}
}Not found (404):
json
{
"error": {
"code": "HTTP_ERROR",
"message": "Resource not found."
}
}