curl -X GET "https://staging-api.loyalty.lt/en/shop/xml-import/stats" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
{
"success": true,
"code": 200,
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"total_products": 1250,
"total_offers": 1450,
"products_with_images": 1100,
"products_with_discount": 320,
"products_in_stock": 980,
"categories_used": 45,
"last_import": "2024-12-08T10:15:00Z"
}
}
Get XML import statistics and product counts
curl -X GET "https://staging-api.loyalty.lt/en/shop/xml-import/stats" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
{
"success": true,
"code": 200,
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"total_products": 1250,
"total_offers": 1450,
"products_with_images": 1100,
"products_with_discount": 320,
"products_in_stock": 980,
"categories_used": 45,
"last_import": "2024-12-08T10:15:00Z"
}
}
GET /{locale}/shop/xml-import/stats
Show import statistics
curl -X GET "https://staging-api.loyalty.lt/en/shop/xml-import/stats" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
{
"success": true,
"code": 200,
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"total_products": 1250,
"total_offers": 1450,
"products_with_images": 1100,
"products_with_discount": 320,
"products_in_stock": 980,
"categories_used": 45,
"last_import": "2024-12-08T10:15:00Z"
}
}