Product Endpoint
Prouducts API access is read-only
Last updated
{
"page": 1,
"per_page": 100,
"pos": true
}curl -X POST https://my.simplespa.com/api/v1/services.php \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"per_page": 100
}'{
"success": true,
"products": [
{
"product_id": "a4f3e0c0c56d...",
"name": "Shampoo 250ml",
"sku": "SHAMP-250",
"stock": 24,
"price": 15.0,
"special_price": 12.0,
"tax": 24.0,
"unlimited": false,
"label": "Hair Care",
"label_id": "9c13f2...",
"image_url": "/uploads/products/123.png"
}
],
"page": 1,
"per_page": 100,
"total_results": 245
}