curl --location --request GET 'https://api.stateset.com/v1/products?limit=10&status=active&category=Electronics' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"object": "list",
"data": [
{
"id": "prod_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"object": "product",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:22:00Z",
"name": "Wireless Bluetooth Headphones",
"sku": "WBH-001",
"description": "Premium noise-cancelling wireless headphones with 30-hour battery life",
"category": "Electronics",
"brand": "AudioTech",
"status": "active",
"price": {
"amount": 14999,
"currency": "USD",
"compare_at": 19999
},
"inventory_summary": {
"total_quantity": 150,
"available_quantity": 145,
"reserved_quantity": 5
},
"tags": ["electronics", "audio", "wireless", "bluetooth"]
},
{
"id": "prod_1234567890abcdef",
"object": "product",
"created_at": "2024-01-14T09:15:00Z",
"updated_at": "2024-01-14T09:15:00Z",
"name": "USB-C Charging Cable",
"sku": "USB-C-001",
"description": "Fast charging USB-C cable, 6ft length",
"category": "Electronics",
"brand": "TechConnect",
"status": "active",
"price": {
"amount": 1299,
"currency": "USD",
"compare_at": null
},
"inventory_summary": {
"total_quantity": 500,
"available_quantity": 487,
"reserved_quantity": 13
},
"tags": ["electronics", "cables", "charging"]
}
],
"has_more": true,
"total_count": 42,
"next_cursor": "eyJpZCI6InByb2RfMTIzNDU2Nzg5MGFiY2RlZiJ9"
}
Retrieve a paginated list of products with filtering and search capabilities
curl --location --request GET 'https://api.stateset.com/v1/products?limit=10&status=active&category=Electronics' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"object": "list",
"data": [
{
"id": "prod_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"object": "product",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:22:00Z",
"name": "Wireless Bluetooth Headphones",
"sku": "WBH-001",
"description": "Premium noise-cancelling wireless headphones with 30-hour battery life",
"category": "Electronics",
"brand": "AudioTech",
"status": "active",
"price": {
"amount": 14999,
"currency": "USD",
"compare_at": 19999
},
"inventory_summary": {
"total_quantity": 150,
"available_quantity": 145,
"reserved_quantity": 5
},
"tags": ["electronics", "audio", "wireless", "bluetooth"]
},
{
"id": "prod_1234567890abcdef",
"object": "product",
"created_at": "2024-01-14T09:15:00Z",
"updated_at": "2024-01-14T09:15:00Z",
"name": "USB-C Charging Cable",
"sku": "USB-C-001",
"description": "Fast charging USB-C cable, 6ft length",
"category": "Electronics",
"brand": "TechConnect",
"status": "active",
"price": {
"amount": 1299,
"currency": "USD",
"compare_at": null
},
"inventory_summary": {
"total_quantity": 500,
"available_quantity": 487,
"reserved_quantity": 13
},
"tags": ["electronics", "cables", "charging"]
}
],
"has_more": true,
"total_count": 42,
"next_cursor": "eyJpZCI6InByb2RfMTIzNDU2Nzg5MGFiY2RlZiJ9"
}
curl --location --request GET 'https://api.stateset.com/v1/products?limit=10&status=active&category=Electronics' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"object": "list",
"data": [
{
"id": "prod_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"object": "product",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:22:00Z",
"name": "Wireless Bluetooth Headphones",
"sku": "WBH-001",
"description": "Premium noise-cancelling wireless headphones with 30-hour battery life",
"category": "Electronics",
"brand": "AudioTech",
"status": "active",
"price": {
"amount": 14999,
"currency": "USD",
"compare_at": 19999
},
"inventory_summary": {
"total_quantity": 150,
"available_quantity": 145,
"reserved_quantity": 5
},
"tags": ["electronics", "audio", "wireless", "bluetooth"]
},
{
"id": "prod_1234567890abcdef",
"object": "product",
"created_at": "2024-01-14T09:15:00Z",
"updated_at": "2024-01-14T09:15:00Z",
"name": "USB-C Charging Cable",
"sku": "USB-C-001",
"description": "Fast charging USB-C cable, 6ft length",
"category": "Electronics",
"brand": "TechConnect",
"status": "active",
"price": {
"amount": 1299,
"currency": "USD",
"compare_at": null
},
"inventory_summary": {
"total_quantity": 500,
"available_quantity": 487,
"reserved_quantity": 13
},
"tags": ["electronics", "cables", "charging"]
}
],
"has_more": true,
"total_count": 42,
"next_cursor": "eyJpZCI6InByb2RfMTIzNDU2Nzg5MGFiY2RlZiJ9"
}