{
    "name": "Stowe Living API",
    "version": "1.0.0",
    "status": "running",
    "endpoints": {
        "health": "GET \/health",
        "vendors": {
            "list": "GET \/vendors",
            "create": "POST \/vendors",
            "get": "GET \/vendors\/{id}",
            "update": "PUT \/vendors\/{id}",
            "delete": "DELETE \/vendors\/{id}"
        },
        "mappings": {
            "list": "GET \/vendors\/{id}\/mappings",
            "create": "POST \/vendors\/{id}\/mappings",
            "update": "PUT \/mappings\/{id}",
            "delete": "DELETE \/mappings\/{id}"
        },
        "sync": {
            "upload": "POST \/vendors\/{id}\/upload",
            "inventory_config": "GET\/PUT \/vendors\/{id}\/inventory-config",
            "inventory_preview": "POST \/vendors\/{id}\/inventory-preview (file: columns + sample rows)",
            "inventory_upload": "POST \/vendors\/{id}\/inventory-upload",
            "history": "GET \/vendors\/{id}\/sync-history",
            "details": "GET \/sync\/{id}"
        },
        "products": {
            "list": "GET \/vendors\/{id}\/products",
            "get": "GET \/products\/{id}"
        },
        "utility": {
            "vendor_files_list": "GET \/vendors\/{id}\/files",
            "vendor_download": "POST \/vendors\/{id}\/download (body: url?, set_as_inventory_path?)",
            "file_columns": "POST \/vendors\/{id}\/file-columns",
            "shopify_products": "GET \/shopify\/products?vendor={vendor_name}",
            "shopify_fields": "GET \/shopify\/fields?category={category}",
            "shopify_locations": "GET \/shopify\/locations",
            "suggest_mappings": "POST \/vendors\/{id}\/suggest-mappings",
            "auto_create_mappings": "POST \/vendors\/{id}\/auto-create-mappings"
        },
        "value_mappings": {
            "list": "GET \/vendors\/{id}\/value-mappings",
            "create": "POST \/vendors\/{id}\/value-mappings",
            "update": "PUT \/value-mappings\/{id}",
            "delete": "DELETE \/value-mappings\/{id}"
        },
        "shopify_data": {
            "product_types": "GET \/shopify\/product-types",
            "tags": "GET \/shopify\/tags",
            "collections": "GET \/shopify\/collections"
        }
    }
}