Skip to main content
GET
/
{locale}
/
shop
/
xml-import
/
stats
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"
  }
}

Import Statistics

Get statistics about imported products and offers from XML feeds.

Endpoint

GET /{locale}/shop/xml-import/stats

Authentication

X-API-Key
string
required
API key
X-API-Secret
string
required
API secret

Response

data
object
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"
  }
}

Use Cases

Dashboard Display

Show import statistics on partner dashboard

Import Monitoring

Monitor import health and completeness