API Documentation

Version: v1

home_page

GET /api/v1/home_page
Fetch all settings for the home page
جلب جميع الإعدادات للصفحة الرئيسية
Example Response:
    {
        "success": true,
        "message": "Success",
        "data": [
            {
                "id": 13,
                "group": "home_page",
                "key": "homepage_image",
                "value": null,
                "is_translatable": 0,
                "deleted_at": null,
                "type": "image",
                "created_at": "2024-12-31T06:26:50.000000Z",
                "updated_at": "2025-01-02T21:11:38.000000Z"
            },
            {
                "id": 20,
                "group": "home_page",
                "key": "button1_text",
                "value": "مشاريعنا",
                "is_translatable": 1,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 21,
                "group": "home_page",
                "key": "button2_text",
                "value": "تواصل معنا",
                "is_translatable": 1,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 22,
                "group": "home_page",
                "key": "homepage_title",
                "value": "زين التنموية",
                "is_translatable": 1,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 23,
                "group": "home_page",
                "key": "homepage_subtitle",
                "value": "نبني رؤية الغد اليوم",
                "is_translatable": 1,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 24,
                "group": "home_page",
                "key": "homepage_description",
                "value": "شركة رائدة في مجال المقاولات والتطوير في الأحساء، نقدم التميز في خدمات المقاولات والصيانة والخدمات المتخصصة",
                "is_translatable": 1,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 25,
                "group": "home_page",
                "key": "button1_link",
                "value": "https://www.example.com/projects",
                "is_translatable": 0,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 26,
                "group": "home_page",
                "key": "button1_status",
                "value": "1",
                "is_translatable": 0,
                "deleted_at": null,
                "type": "checkbox",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-02T21:17:11.000000Z"
            },
            {
                "id": 27,
                "group": "home_page",
                "key": "button2_link",
                "value": "https://www.example.com/contact",
                "is_translatable": 0,
                "deleted_at": null,
                "type": "text",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-01T21:00:00.000000Z"
            },
            {
                "id": 28,
                "group": "home_page",
                "key": "button2_status",
                "value": "1",
                "is_translatable": 0,
                "deleted_at": null,
                "type": "checkbox",
                "created_at": "2025-01-01T21:00:00.000000Z",
                "updated_at": "2025-01-02T21:11:38.000000Z"
            }
        ],
        "timestamp": "2025-01-07T03:00:30+03:00"
    }

services

GET /api/v1/services
Get all services
جلب جميع الخدمات
Example Response:
{
        "success": true,
        "message": "Success",
        "data": [
            {
                "id": 1,
                "image": "images/general-contracting.jpg",
                "logo": "logos/general-contracting-logo.jpg",
                "status": 1,
                "deleted_at": null,
                "created_at": "2025-01-03T07:37:57.000000Z",
                "updated_at": "2025-01-03T10:47:13.000000Z",
                "name": "المقاولات العامة",
                "short": "خدمات المقاولات العامة",
                "infologo": "http://127.0.0.1:8000/logos/general-contracting-logo.jpg",
                "description": "نقدم خدمات شاملة في مجال المقاولات العامة، مع التركيز على الاستدامة وكفاءة الطاقة في كل مراحل البناء."
            },
            {
                "id": 2,
                "image": "images/ac-systems.jpg",
                "logo": "logos/ac-systems-logo.jpg",
                "status": 1,
                "deleted_at": null,
                "created_at": "2025-01-03T07:37:57.000000Z",
                "updated_at": "2025-01-03T07:37:57.000000Z",
                "name": "التكييف",
                "short": "خدمات التكييف المتكاملة",
                "infologo": "http://127.0.0.1:8000/logos/ac-systems-logo.jpg",
                "description": "نوفر حلولاً متكاملة لأنظمة التكييف، تشمل التصميم والتركيب والصيانة لضمان جودة الهواء الداخلي."
            },
            {}
            
           
           
        ],
        "timestamp": "2025-01-07T03:05:28+03:00"
    }

services

GET /api/v1/services/{id}
Show a specific service by ID
عرض خدمة معينة بواسطة المعرف
Example Response:
  
    {
        "success": true,
        "message": "Success",
        "data": {
            "id": 4,
            "image": "images/renovations.jpg",
            "logo": "logos/renovations-logo.jpg",
            "status": 1,
            "deleted_at": null,
            "created_at": "2025-01-03T07:37:57.000000Z",
            "updated_at": "2025-01-03T07:37:57.000000Z",
            "name": "التجديدات",
            "short": "خدمات التجديد الشاملة",
            "infologo": "http://127.0.0.1:8000/logos/renovations-logo.jpg",
            "description": "نتخصص في تجديد المساحات الداخلية والخارجية، مقدمين تصاميم حديثة وجذابة.",
            "translations": [
                {
                    "id": 7,
                    "services_id": 4,
                    "locale": "ar",
                    "name": "التجديدات",
                    "short": "خدمات التجديد الشاملة",
                    "description": "نتخصص في تجديد المساحات الداخلية والخارجية، مقدمين تصاميم حديثة وجذابة.",
                    "seo_title": null,
                    "seo_keywords": null,
                    "seo_description": null,
                    "deleted_at": null,
                    "created_at": "2025-01-03T07:37:57.000000Z",
                    "updated_at": "2025-01-03T07:37:57.000000Z"
                },
                {
                    "id": 8,
                    "services_id": 4,
                    "locale": "en",
                    "name": "Renovations",
                    "short": "Comprehensive Renovation Services",
                    "description": "We specialize in renovating interior and exterior spaces, providing modern and attractive designs.",
                    "seo_title": null,
                    "seo_keywords": null,
                    "seo_description": null,
                    "deleted_at": null,
                    "created_at": "2025-01-03T07:37:57.000000Z",
                    "updated_at": "2025-01-03T07:37:57.000000Z"
                }
            ]
        },
        "timestamp": "2025-01-07T03:11:44+03:00"
    }

    

services_products

GET /api/v1/services-products/{services_id?}
Get products related to a service
جلب المنتجات المرتبطة بخدمة
Example Response:
 {
        "success": true,
        "message": "Success",
        "data": [
            {
                "id": 2,
                "services_id": 1,
                "logo": null,
                "status": 1,
                "stock": 2,
                "original_price": "15000.00",
                "price": "15000.00",
                "discount": null,
                "deleted_at": null,
                "created_at": "2025-01-03T13:24:31.000000Z",
                "updated_at": "2025-01-03T13:24:31.000000Z",
                "name": "صيانة وقائية",
                "short": "برامج صيانة دورية لأنظمة التكييف",
                "description": "صيانة دورية لضمان كفاءة التشغيل وإطالة عمر أنظمة التكييف.",
                "infologo": "http://127.0.0.1:8000/",
                "translations": [
                    {
                        "id": 13,
                        "services_products_id": 2,
                        "locale": "ar",
                        "name": "صيانة وقائية",
                        "short": "برامج صيانة دورية لأنظمة التكييف",
                        "description": "صيانة دورية لضمان كفاءة التشغيل وإطالة عمر أنظمة التكييف.",
                        "seo_title": "صيانة وقائية لأنظمة التكييف",
                        "seo_keywords": "صيانة دورية, تكييف, نظام",
                        "seo_description": "نظام صيانة وقائية لزيادة عمر الأنظمة وتقليل الأعطال.",
                        "deleted_at": null,
                        "created_at": "2025-01-03T13:27:12.000000Z",
                        "updated_at": "2025-01-03T13:27:12.000000Z"
                    }
                ]
            }
        ],
        "timestamp": "2025-01-07T03:12:51+03:00"
    }

services_products

GET /api/v1/services-products/details/{id}
Show details of a service product
عرض تفاصيل منتج الخدمة
Example Response:
  
    {
        "success": true,
        "message": "Success",
        "data": {
            "id": 2,
            "services_id": 1,
            "logo": null,
            "status": 1,
            "stock": 2,
            "original_price": "15000.00",
            "price": null,
            "discount": null,
            "deleted_at": null,
            "created_at": "2025-01-03T13:24:31.000000Z",
            "updated_at": "2025-01-03T13:24:31.000000Z",
            "name": "صيانة وقائية",
            "short": "برامج صيانة دورية لأنظمة التكييف",
            "description": "صيانة دورية لضمان كفاءة التشغيل وإطالة عمر أنظمة التكييف.",
            "infologo": "http://127.0.0.1:8000/"
        },
        "timestamp": "2025-01-07T03:19:32+03:00"
    }

Projects

GET /api/v1/projects
List all projects
جلب جميع المشاريع
Example Response:
{
    "success": true,
    "message": "Projects fetched successfully",
    "data": [
        {
            "id": 1,
            "logo": "logos/22fd965b-3da5-471b-861b-f7c2c41845cc_favicon.jpeg",
            "completion_year": "2021",
            "project_type": "test a",
            "category": null,
            "name": "testsa",
            "short": "test atr test atr",
            "description": "wasd",
            "infologo": "http://127.0.0.1:8000/logos/22fd965b-3da5-471b-861b-f7c2c41845cc_favicon.jpeg",
            "client": null,
            "location": null,
            "seo_title": "sad",
            "seo_keywords": "asd",
            "seo_description": null
        }
    ],
    "timestamp": "2025-01-07T03:20:41+03:00"
}

Projects

GET /api/v1/project-types
Get all project types
جلب جميع أنواع المشاريع
Example Response:
{
    "success": true,
    "message": "Project types fetched successfully",
    "data": [
        {
            "id": 3,
            "logo": "logos/149a81e4-bb29-45c3-8b05-e27d056c3c95_favicon.jpeg",
            "status": 1,
            "deleted_at": null,
            "created_at": "2025-01-04T20:45:32.000000Z",
            "updated_at": "2025-01-04T20:45:32.000000Z",
            "name": "test a",
            "infologo": "http://127.0.0.1:8000/logos/149a81e4-bb29-45c3-8b05-e27d056c3c95_favicon.jpeg"
        }
    ],
    "timestamp": "2025-01-07T03:22:27+03:00"
}

Projects

GET /api/v1/project-types/{id}
Fetch a single project type with associated projects
جلب نوع مشروع معين بجميع المشاريع المرتبطة به
Example Response:
{
    "success": true,
    "message": "Project Type and associated projects fetched successfully",
    "data": {
        "project_type": {
            "id": 3,
            "name": "test a",
            "infologo": "http://127.0.0.1:8000/logos/149a81e4-bb29-45c3-8b05-e27d056c3c95_favicon.jpeg"
        },
        "projects": [
            {
                "id": 1,
                "logo": "logos/22fd965b-3da5-471b-861b-f7c2c41845cc_favicon.jpeg",
                "completion_year": "2021",
                "project_type": "test a",
                "category": null,
                "name": "testsa",
                "short": "test atr test atr",
                "description": "wasd",
                "infologo": "http://127.0.0.1:8000/logos/22fd965b-3da5-471b-861b-f7c2c41845cc_favicon.jpeg",
                "client": null,
                "location": null,
                "seo_title": "sad",
                "seo_keywords": "asd",
                "seo_description": null
            }
        ]
    },
    "timestamp": "2025-01-07T03:23:10+03:00"
}

Categories

GET /api/v1/categories
Fetch all categories
جلب جميع الفئات
Example Response:
{
    "success": true,
    "message": "Categories fetched successfully",
    "data": [
        {
            "id": 1,
            "logo": "logos/816e3933-b2d9-49a3-8836-0f01f98679e4_Screenshot 2024-12-28 at 10.38.55.png",
            "status": 1,
            "deleted_at": null,
            "created_at": "2024-12-28T15:05:58.000000Z",
            "updated_at": "2024-12-31T19:13:08.000000Z",
            "name": "test ar",
            "short": "test ar test ar",
            "description": "test ar test ar test ar test ar test ar test ar",
            "infologo": "http://127.0.0.1:8000/logos/816e3933-b2d9-49a3-8836-0f01f98679e4_Screenshot 2024-12-28 at 10.38.55.png"
        },
        {
            "id": 3,
            "logo": "logos/6843f31c-ae55-407c-b1a5-43d7545446f1_smart-est.jpeg",
            "status": 1,
            "deleted_at": null,
            "created_at": "2024-12-28T16:53:53.000000Z",
            "updated_at": "2025-01-06T19:53:20.000000Z",
            "name": "test AA",
            "short": "ij A",
            "description": "wqeqweqwe",
            "infologo": "http://127.0.0.1:8000/logos/6843f31c-ae55-407c-b1a5-43d7545446f1_smart-est.jpeg"
        }
    ],
    "timestamp": "2025-01-07T03:24:51+03:00"
}

Stores

GET /api/v1/stores
Get all stores
الحصول على جميع المتاجر
Example Response:
{
    "status": true,
    "message": "Stores retrieved successfully",
    "data": [
        {
            "id": 4,
            "name": "test Ar",
            "short": "test As",
            "description": "dsfsdf asad",
            "logo": "http://127.0.0.1:8000/logos/34398e63-bbe3-462a-adf8-84e3ae61f195_annoumes.jpg",
            "location": "test",
            "telephone": "test",
            "mobile": "test",
            "email": "test",
            "website": "test",
            "status": "test",
            "created_at": "2024-12-30T09:43:43.000000Z",
            "updated_at": "2024-12-30T09:43:43.000000Z"
        }
    ],
    "timestamp": "2025-01-07T03:25:45+03:00"
}

Stores API

GET /api/v1/stores/category/{categoryId}
Get stores by category
الحصول على المتاجر حسب الفئة
Example Response:
{
        "success": true,
        "message": "Category and associated stores fetched successfully",
        "data": {
            "category": {
                "id": 3,
                "name": "test AA",
                "logo": "logos/6843f31c-ae55-407c-b1a5-43d7545446f1_smart-est.jpeg"
            },
            "stores": [
                {
                    "id": 4,
                    "category": "test AA",
                    "name": "test Ar",
                    "short": "test As",
                    "description": "dsfsdf asad",
                    "logo": "logos/34398e63-bbe3-462a-adf8-84e3ae61f195_annoumes.jpg",
                    "reviews": "5",
                    "product_code": "qw213",
                    "views": "0",
                    "original_price": "324.00",
                    "price": "223.56",
                    "discount": "31.00",
                    "stock": 20,
                    "seo_title": "sadasd",
                    "seo_keywords": "asdasd",
                    "seo_description": "asddas",
                    "tags": [
                        {"id": 11, "name": "أجهزة ذكية"},
                        {"id": 12, "name": "تصميم متميز"},
                        {"id": 10, "name": "مكيفات عصرية"},
                        {"id": 13, "name": "جودة عالية"}
                    ]
                }
            ]
        },
        "timestamp": "2025-01-07T04:00:16+03:00"
    }

Stores API

GET /api/v1/stores/tag/{tagId}
Get stores by tag
الحصول على المتاجر حسب الوسم
Example Response:
{
        "status": true,
        "message": "Stores by tag retrieved successfully",
        "data": [
            {
                "id": 4,
                "name": "test Ar",
                "short": "test As",
                "description": "dsfsdf asad",
                "logo": "http://127.0.0.1:8000/logos/34398e63-bbe3-462a-adf8-84e3ae61f195_annoumes.jpg",
                "original_price": "324.00",
                "discount": "31.00",
                "price": "223.56",
                "category": {
                    "id": 3,
                    "name": "test AA"
                },
                "tags": [
                    {
                        "id": 11,
                        "name": "أجهزة ذكية"
                    },
                    {
                        "id": 12,
                        "name": "تصميم متميز"
                    },
                    {
                        "id": 10,
                        "name": "مكيفات عصرية"
                    },
                    {
                        "id": 13,
                        "name": "جودة عالية"
                    }
                ],
                "created_at": "2025-01-07 02:12:58",
                "updated_at": "2025-01-07 02:14:37"
            }
        ],
        "meta": {
            "total": 1,
            "current_page": 1,
            "last_page": 1,
            "per_page": 10
        }
    }

Stores API

GET /api/v1/categories/stores
Get all categories with their stores
الحصول على جميع الفئات مع المتاجر الخاصة بها
Example Response:
{
        "status": true,
        "message": "All categories and stores retrieved successfully",
        "data": [
            {
                "category": {
                    "id": 1,
                    "name": "test ar",
                    "description": "test ar test ar test ar test ar test ar test ar",
                    "image": null,
                    "created_at": "2024-12-28 18:05:58",
                    "updated_at": "2024-12-31 22:13:08"
                },
                "stores": {
                    "items": [],
                    "pagination": {
                        "total": 0,
                        "current_page": 1,
                        "last_page": 1,
                        "per_page": 10
                    }
                }
            },
            {
                "category": {
                    "id": 3,
                    "name": "test AA",
                    "description": "wqeqweqwe",
                    "image": null,
                    "created_at": "2024-12-28 19:53:53",
                    "updated_at": "2025-01-06 22:53:20"
                },
                "stores": {
                    "items": [
                        {
                            "id": 4,
                            "name": "test Ar",
                            "short": "test As",
                            "description": "dsfsdf asad",
                            "logo": "http://127.0.0.1:8000/logos/34398e63-bbe3-462a-adf8-84e3ae61f195_annoumes.jpg",
                            "original_price": "324.00",
                            "discount": "31.00",
                            "price": "223.56",
                            "tags": [
                                {
                                    "id": 11,
                                    "name": "أجهزة ذكية"
                                },
                                {
                                    "id": 12,
                                    "name": "تصميم متميز"
                                },
                                {
                                    "id": 10,
                                    "name": "مكيفات عصرية"
                                },
                                {
                                    "id": 13,
                                    "name": "جودة عالية"
                                }
                            ],
                            "created_at": "2025-01-07 02:12:58",
                            "updated_at": "2025-01-07 02:14:37"
                        }
                    ],
                    "pagination": {
                        "total": 1,
                        "current_page": 1,
                        "last_page": 1,
                        "per_page": 10
                    }
                }
            }
        ]
    }

Stores API

GET /api/v1/categories/{categoryId}/stores
Get specific category with its stores
الحصول على فئة معينة مع المتاجر الخاصة بها
Example Response:
{
        "status": true,
        "message": "Category and stores retrieved successfully",
        "data": {
            "category": {
                "id": 3,
                "name": "test AA",
                "description": "wqeqweqwe",
                "image": null,
                "created_at": "2024-12-28 19:53:53",
                "updated_at": "2025-01-06 22:53:20"
            },
            "stores": {
                "items": [
                    {
                        "id": 4,
                        "name": "test Ar",
                        "short": "test As",
                        "description": "dsfsdf asad",
                        "logo": "http://127.0.0.1:8000/logos/34398e63-bbe3-462a-adf8-84e3ae61f195_annoumes.jpg",
                        "original_price": "324.00",
                        "discount": "31.00",
                        "price": "223.56",
                        "tags": [
                            {
                                "id": 11,
                                "name": "أجهزة ذكية"
                            },
                            {
                                "id": 12,
                                "name": "تصميم متميز"
                            },
                            {
                                "id": 10,
                                "name": "مكيفات عصرية"
                            },
                            {
                                "id": 13,
                                "name": "جودة عالية"
                            }
                        ],
                        "created_at": "2025-01-07 02:12:58",
                        "updated_at": "2025-01-07 02:14:37"
                    }
                ],
                "pagination": {
                    "total": 1,
                    "current_page": 1,
                    "last_page": 1,
                    "per_page": 10
                }
            }
        }
    }

Application Settings

GET /api/v1/application-settings
Get all application section info
احصل على كافة معلومات قسم التطبيق
Example Response:
{
        "status": "success",
        "data": [
            {
                "id": 29,
                "title": null,
                "key": "titel",
                "value": "اكتشف تطبيق زين لك",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 30,
                "title": null,
                "key": "sub_title",
                "value": "تنفيذ خدمات الصيانة بسهولة ودقة عالية",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 31,
                "title": null,
                "key": "short",
                "value": "احصل على خدماتنا بسهولة وسرعة من خلال تطبيقنا الجديد. قم بإدارة مشاريعك ومتابعة التقدم في أي وقت وأي مكان.",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 32,
                "title": null,
                "key": "description",
                "value": "تطبيق ZAIN هو منصة إلكترونية لتقديم خدمات الصيانة المنزلية، وهو يربط مالك المنزل (طالب الخدمة) بالفنيين من مختلف التخصصات عبر الإنترنت، عندما يرغب مالك المنزل في طلب خدمة صيانة منزلية، حيث يوفر التطبيق فرصة للبحث عن الفنيين المتخصصين. ZAIN هو الحل الصحيح والأسرع لك للحصول على أفضل الفنيين المتخصصين الأقرب إلى منزلك.",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 34,
                "title": null,
                "key": "stars",
                "value": null,
                "type": "text",
                "is_translatable": 0,
                "created_at": null,
                "updated_at": "2025-01-09T21:11:05.000000Z"
            },
            {
                "id": 35,
                "title": null,
                "key": "android_link",
                "value": null,
                "type": "text",
                "is_translatable": 0,
                "created_at": null,
                "updated_at": "2025-01-09T21:19:44.000000Z"
            },
            {
                "id": 36,
                "title": null,
                "key": "iphone_link",
                "value": null,
                "type": "text",
                "is_translatable": 0,
                "created_at": null,
                "updated_at": "2025-01-09T21:19:44.000000Z"
            },
            {
                "id": 37,
                "title": null,
                "key": "image",
                "value": null,
                "type": "image",
                "is_translatable": 0,
                "created_at": null,
                "updated_at": "2025-01-09T21:19:44.000000Z"
            },
            {
                "id": 38,
                "title": null,
                "key": "iphone_text",
                "value": "تحميل للآيفون",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 39,
                "title": null,
                "key": "android_link",
                "value": "تحميل للأندرويد",
                "type": "text",
                "is_translatable": 1,
                "created_at": null,
                "updated_at": null
            }
        ]
    }

contact

GET /api/v1/Contact_section_footer
Get all application section info
احصل على كافة معلومات قسم التطبيق
Example Response:
{
    "status": "success",
    "data": [
        {"id": 29, "key": "titel", "value": "اكتشف تطبيق زين لك", "type": "text", "is_translatable": 1},
        {"id": 30, "key": "sub_title", "value": "تنفيذ خدمات الصيانة بسهولة ودقة عالية", "type": "text", "is_translatable": 1},
        {"id": 31, "key": "short", "value": "احصل على خدماتنا بسهولة وسرعة من خلال تطبيقنا الجديد.", "type": "text", "is_translatable": 1},
        {"id": 32, "key": "description", "value": "تطبيق ZAIN هو منصة إلكترونية لتقديم خدمات الصيانة المنزلية.", "type": "text", "is_translatable": 1},
        {"id": 34, "key": "stars", "value": null, "type": "text", "is_translatable": 0}
    ]
}

contact

GET /api/v1/Contact_section_footer/{id}
Get application section info by ID
احصل على كافة معلومات قسم التطبيق حسب المعرف
Example Response:
{
    "status": "success",
    "data": {"id": 25, "key": "button1_link", "value": null, "type": "text", "is_translatable": 0}
}

why-choose

GET /api/v1/why-choose
Get all why-choose section info
احصل على كافة معلومات لماذا تختار خدماتنا؟
Example Response:
{
    "success": true,
    "message": "Success",
    "data": [
        {"id": 1, "name": "خبرة واسعة", "short": "نحن نقدم أفضل الخدمات بفضل خبرة واسعة لدينا"},
        {"id": 2, "name": "فريق متخصص", "short": "نحن نقدم أفضل الخدمات بفضل فريق متخصص لدينا"}
    ]
}

partners

GET /api/v1/success-partners
Get all success partners section info
احصل على كافة معلومات شركاؤنا في النجاح
Example Response:
{
    "success": true,
    "message": "Success",
    "data": [
        {"id": 9, "name": "aramc", "logo": "logos/6fbeaf78-901f-4858-85fd-cd2f80741361_aramco.png"},
        {"id": 10, "name": "mad", "logo": "logos/b961d6a6-6d3f-45ad-b88a-c3a4c362b6a0_maaden.png"}
    ]
}

settings

GET /api/v1/application-settings
Get all application settings info
احصل على كافة معلومات إعدادات التطبيق
Example Response:

            

descrip

GET /api/v1/privacies
Privacy Policy Description
سياسة الخصوصية
Example Response:
{"success": true, "message": "Success", "data": [{"id": 1, "status": 1, "privacy_type_id": 1, "deleted_at": null, "created_at": "2025-01-13T20:30:29.000000Z", "updated_at": "2025-01-13T20:30:29.000000Z", "name": "سياسة الخصوصية", "description": "نشكركم لزيارتكم موقعنا على الانترنت zaindev.com. نحن هنا في مؤسسة زين التنموية التجارية نسعى جاهدين لبذل كل ما في وسعنا لكسب ثقة العملاء عند شرائهم لمنتجاتنا المتعددة التي تحمل علامتنا التجارية ، ونحن هنا نؤكد على التزامنا بأن خصوصيتك كعميل لدينا ليست لها حدود, علاوة على ذلك فنحن أيضاً ملتزمون بحماية خصوصية المستهلك على الإنترنت والمحافظة عليها خاصة بالنسبة للأطفال، ويسعدنا نحن مؤسسة زين التنموية التجارية توفير المعلومات لجميع العملاء حول سياسة الخصوصية على شبكة الإنترنت، وهنا نؤكد عملائنا بأن مؤسسة زين التنموية التجارية تبذل قصارى جهدها لحماية خصوصية الزوار لهذا الموقع. أنوع المعلومات التي نجمعها وكيفية استخدامها: يقوم zaindev.com بجمع المعلومات الشخصية، مثل: الاسم الأول والأخير (العائلي)، والعنوان البريدي، وعناوين البريد الإلكتروني (الإيميل) ، وبالتأكيد يتم تقديم هذه المعلومات من قبل العميل طوعاً وباختيارك. على سبيل المثال: نقوم بتجميع المعلومات الشخصية منك من أجل الحصول على تعليقاتك على المواقع على شبكة الإنترنت وإبداء آرائك عن منتجاتنا، أو في حالة دخولك في إحدى مسابقاتنا أو السحوبات التي نقوم بها. مشاركة المعلومات الشخصية: قد يشارك zaindev.com المعلومات الشخصية الخاصة بك فقط ضمن مجموعة زين التنموية، وتضم أسرة مجموعة مؤسسة زين التنموية التجارية المؤسسات التابعة لها، وبطبيعة الحال فإن أي استخدام لهذه المعلومات من قبل مجموعة زين التنموية سوف يتوافق مع هذه السياسة، أحيانا وبعد الحصول على إذنكم سوف نرسل لكم المعلومات التسويقية، مثل كوبونات الخصم، ومعلومات عن عروض المنتجات الجديدة …. الخ. وإذا لم يتم اختيارك لتلقي مثل هذه المعلومات، يمكن لمؤسسة زين التنموية التجارية ممثلة في zaindev.com تكليف بعض الشركات للقيام بمجموعة متنوعة من الوظائف مثل: تنفيذ أوامر العمل ، والمساعدة في أعمال الترويج ، وتوفير الخدمات الفنية للمواقع على شبكة الانترنت … الخ. ويمكن لهذه الشركات الوصول إلى المعلومات الشخصية الخاصة بالعميل إذا لزم الأمر لأداء مثل هذه المهام، وبالتالي فإن مثل هذه الشركات تلتزم بسياسة الخصوصية عند استخدام مثل هذه المعلومات الشخصية لغرض أداء تلك الوظيفة المكلف بها الشركة وبالتالي لا يمكن استخدام هذه المعلومات الشخصية لأي غرض آخر. تلتزم مؤسسة زين التنموية التجارية ممثلة في zaindev.com بعدم بيع أو نقل أو الكشف عن المعلومات الشخصية الخاصة بالعميل لأي أطراف ثالثة خارج أسرة مجموعة مؤسسة زين التنموية التجارية، ومع ذلك وبعد الحصول على إذن من العميل، نقوم في بعض الأحيان بإرسال المعلومات التسويقية بالنيابة عن أحد شركائنا في العمل حول المنتجات أو الخدمات التي نقدمها والتي قد تكون ذات فائدة للعميل. وهنا قد يطلب منك إذا كنت ترغب في تلقي المواد التسويقية من شركاء مؤسسة زين التنموية التجارية أم لا. وإذا اخترت استلام تلك المواد التسويقية ، فإن مؤسسة زين التنموية التجارية في هذه الحالة لن تشارك معلوماتك الشخصية مع هؤلاء الشركاء ، بل سترسل هذه المواد التسويقية بالبريد العادي أو عبر البريد الإلكتروني بالنيابة عن الشركاء، تحتفظ مؤسسة زين التنموية التجارية بالحق في استخدام أو الكشف عن أي معلومات حسب الحاجة لتلبية متطلبات وتعليمات أي قانون أو نظام أو دعوى قضائية ، أو لحماية سلامة الموقع، أو لتلبية الطلبات الخاصة بك ، أو للتعاون مع السلطات المختصة في تحقيق وإنفاذ القوانين المعمول بها أو التحقيق في مسألة من مسائل السلامة العامة. التغييرات: إذا قمنا بتغيير سياسة الخصوصية سنقوم بتحديث التغييرات على هذه الصفحة، وسنقوم بوضع ملاحظات على صفحات أخرى من الموقع بحيث يمكنك في أي وقت التحقق من سياستنا الحالية، أما إذا أردنا إجراء أي تغييرات قد تؤثر تأثيرا كبيرا على الطريقة التي نتعامل بها مع المعلومات الخاصة بك، فإننا سوف نقوم بإعلامكم أيضاً بالتغييرات التي تمت، لذلك قد تكون لديك التفاصيل الخاصة بك إزالتها من سجلاتنا إذا كنت لا تتفق مع هذه التغييرات. كيفية الاتصال بزين التنموية: نحن نرحب بوجهات نظركم حول موقعنا وسياسة الخصوصية، إذا كنت ترغب في الاتصال بنا أو كان لديك أي استفسارات أو تعليقات الرجاء إرسال بريد إلكتروني إلى "}]}

Privacies

GET /api/v1/privacies/{id}
Retrieve privacy details based on the given privacy ID.
استرجاع تفاصيل الخصوصية بناءً على المعرف المعطى.
Example Response:
{"success":true,"message":"Success","data":{"id":1,"status":1,"privacy_type_id":1,"deleted_at":null,"created_at":"2025-01-13T20:30:29.000000Z","updated_at":"2025-01-13T20:30:29.000000Z","name":"سياسة الخصوصية","description":"نشكركم لزيارتكم موقعنا على الانترنت zaindev.com..."}}

Privacy

GET /api/v1/privacy-types
Get all privacy-types
الحصول على جميع أنواع الخصوصية
Example Response:
{"success":true,"message":"Success","data":[{"id":1,"deleted_at":null,"status":1,"created_at":null,"updated_at":null,"name":"سياسة الخصوصية"},{"id":2,"deleted_at":null,"status":1,"created_at":null,"updated_at":null,"name":"شروط الخدمة"},{"id":3,"deleted_at":null,"status":1,"created_at":null,"updated_at":null,"name":"سياسة الاسترجاع"},{"id":4,"deleted_at":null,"status":1,"created_at":null,"updated_at":null,"name":"سياسة الشحن"},{"id":5,"deleted_at":null,"status":1,"created_at":null,"updated_at":null,"name":"اتفاقية المستخدم"}],"timestamp":"2025-01-14T09:41:32+03:00"}

privacy-types

GET /api/v1/privacy-types/2
Get privacy-type details by ID.
احصل على تفاصيل نوع الخصوصية بواسطة المعرف.
Example Response:
{
        "success": true,
        "message": "Success",
        "data": {
            "id": 2,
            "deleted_at": null,
            "status": 1,
            "created_at": null,
            "updated_at": null,
            "name": "شروط الخدمة",
            "privacies": [
                {
                    "id": 3,
                    "status": 1,
                    "privacy_type_id": 2,
                    "deleted_at": null,
                    "created_at": "2025-01-13T20:36:11.000000Z",
                    "updated_at": "2025-01-13T20:36:11.000000Z",
                    "name": "الشروط والأحكام",
                    "description": "عقدنا: تطبق هذه الشروط والأحكام على استخداماتكم لنطاق zaindev.com على شبكة الإنترنت (الموقع)..."
                }
            ]
        }
    }

payment-methods

GET /api/v1/payment-methods
Get all payment methods
جلب جميع طرق الدفع
Example Response:
{
        "success": true,
        "message": "Success",
        "data": [
            {
                "id": 1,
                "name": "Visa",
                "name_ar": "فيزا",
                "type": "card",
                "description": "Credit/Debit Card",
                "description_ar": "بطاقة ائتمان/خصم",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": "2025-01-14T07:32:06.000000Z"
            },
            {
                "id": 2,
                "name": "PayPal",
                "name_ar": "باي بال",
                "type": "e-wallet",
                "description": "Digital Wallet",
                "description_ar": "محفظة رقمية",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 3,
                "name": "ACH Transfer",
                "name_ar": "تحويل ACH",
                "type": "bank",
                "description": "Automated Clearing House Transfer in the USA",
                "description_ar": "تحويل غرفة المقاصة الآلية في الولايات المتحدة",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 4,
                "name": "Klarna",
                "name_ar": "كلارنا",
                "type": "bnpl",
                "description": "Buy Now, Pay Later Service",
                "description_ar": "خدمة الشراء الآن والدفع لاحقاً",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 5,
                "name": "Bitcoin",
                "name_ar": "بيتكوين",
                "type": "crypto",
                "description": "Cryptocurrency",
                "description_ar": "عملة مشفرة",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 6,
                "name": "M-Pesa",
                "name_ar": "إم بيزا",
                "type": "mobile",
                "description": "Mobile Money in Africa",
                "description_ar": "نقود متنقلة في إفريقيا",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": 7,
                "name": "Cash on Delivery",
                "name_ar": "الدفع عند الاستلام",
                "type": "other",
                "description": "Pay with Cash upon Delivery",
                "description_ar": "الدفع نقداً عند التسليم",
                "status": 1,
                "logo": null,
                "deleted_at": null,
                "created_at": null,
                "updated_at": null
            }
        ],
        "timestamp": "2025-01-14T10:57:42+03:00"
     }

cart

GET /api/v1/cart
Retrieve all items in the user's shopping cart. Returns both authenticated user's items and session-based cart items.
استرجاع جميع العناصر في سلة تسوق المستخدم. يعرض العناصر للمستخدمين المسجلين وغير المسجلين.
Example Response:
{"status":"success","data":[{"id":1,"store_id":1,"quantity":2,"price":99.99,"store":{"id":1,"product_code":"PROD-001","price":99.99,"stock":10}}]}

cart

POST /api/v1/stores/{store}/cart
Add a product to the shopping cart. Requires store ID and quantity. Creates or updates existing cart item.
إضافة منتج إلى سلة التسوق. يتطلب معرف المتجر والكمية. ينشئ أو يحدث عنصر السلة الموجود.
Example Response:
{"status":"success","message":"Item added to cart","data":{"id":1,"store_id":1,"quantity":1,"price":99.99}}

cart

PUT /api/v1/cart/{cart}
Update the quantity of an item in the cart. Validates ownership and stock availability.
تحديث كمية العنصر في السلة. يتحقق من ملكية العنصر وتوفر المخزون.
Example Response:
{"status":"success","message":"Cart updated successfully","data":{"id":1,"quantity":3,"price":99.99}}

cart

DELETE /api/v1/cart/{cart}
Remove an item from the cart. Validates cart ownership before deletion.
إزالة عنصر من السلة. يتحقق من ملكية السلة قبل الحذف.
Example Response:
{"status":"success","message":"Item removed from cart"}