Appearance
Products
As a Seller, you can view your assigned products via the API.
List Products
GET/products Bearer Token
Retrieve a paginated list of your products.
| Parameter | Type | Required | Description |
|---|---|---|---|
per_page | number | No | Results per page |
search | string | No | Search by name or SKU |
Response
Success (200):
json
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "T-Shirt Red M",
"sku": "TSHIRT-RED-M",
"price": 120,
"status": "active",
"created_at": "2025-01-10T08:00:00Z"
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 50,
"total": 85,
"pages": 2
}
}
}Show Product
GET/products/{id}/show Bearer Token
Retrieve a single product by ID.
Response
Success (200):
json
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "T-Shirt Red M",
"description": "Comfortable red t-shirt, size M",
"sku": "TSHIRT-RED-M",
"price": 120,
"status": "active",
"has_discount": false,
"free_shipping": true,
"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."
}
}