{
    "info": {
        "name": "Rumh Public API",
        "description": "Postman collection for Rumh tenant storefront, checkout, customer, content, and webhook APIs.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "variable": [
        {
            "key": "tenant_base_url",
            "value": "https://rumh.net/api/tenant/v1"
        },
        {
            "key": "central_base_url",
            "value": "https://rumh.net/api/v1"
        },
        {
            "key": "access_token",
            "value": ""
        },
        {
            "key": "x_api_key",
            "value": ""
        }
    ],
    "item": [
        {
            "name": "Authentication",
            "item": [
                {
                    "name": "Register customer",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/register",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "register"
                            ]
                        },
                        "description": "إنشاء حساب عميل جديد وإرجاع Sanctum token.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"full_name\": \"Ahmed Zakaria\",\n    \"email\": \"customer@example.com\",\n    \"username\": \"ahmed_store\",\n    \"password\": \"secret123\",\n    \"country_id\": 1,\n    \"state_id\": 10,\n    \"city_id\": 24,\n    \"terms_conditions\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Login customer",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/login",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "login"
                            ]
                        },
                        "description": "تسجيل دخول بالبريد أو اسم المستخدم وإرجاع token.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"username\": \"customer@example.com\",\n    \"password\": \"secret123\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Social login",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/social/login",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "social",
                                "login"
                            ]
                        },
                        "description": "تسجيل/دخول اجتماعي باستخدام بيانات Google/Facebook.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"customer@example.com\",\n    \"displayName\": \"Ahmed Zakaria\",\n    \"isGoogle\": 1,\n    \"id\": \"google-user-id\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Send email OTP",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/send-otp-in-mail",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "send-otp-in-mail"
                            ]
                        },
                        "description": "إرسال كود تحقق لبريد عميل موجود.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"customer@example.com\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Verify OTP status",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/otp-success",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "otp-success"
                            ]
                        },
                        "description": "تحديث حالة تحقق البريد.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"user_id\": 15,\n    \"email_verified\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Reset password",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/reset-password",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "reset-password"
                            ]
                        },
                        "description": "تعيين كلمة مرور جديدة بالبريد.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"customer@example.com\",\n    \"password\": \"newSecret123\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Catalog & Storefront",
            "item": [
                {
                    "name": "List/search products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/product",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "product"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "hoodie",
                                    "description": "كلمة البحث.",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "3",
                                    "description": "تصنيف المنتج حسب دعم الثيم/الخدمة.",
                                    "disabled": true
                                },
                                {
                                    "key": "pr_min",
                                    "value": "10",
                                    "description": "أقل سعر.",
                                    "disabled": true
                                },
                                {
                                    "key": "pr_max",
                                    "value": "500",
                                    "description": "أعلى سعر.",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "latest",
                                    "description": "ترتيب النتائج إن كان مدعومًا.",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "قائمة منتجات المتجر مع فلاتر البحث والفرز."
                    },
                    "response": []
                },
                {
                    "name": "Product details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/product/{id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "product",
                                "{id}"
                            ]
                        },
                        "description": "تفاصيل منتج واحد مع الصور، التقييمات، المخزون، الخصائص، والمنتجات المشابهة."
                    },
                    "response": []
                },
                {
                    "name": "Product price range",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/product/price-range",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "product",
                                "price-range"
                            ]
                        },
                        "description": "إرجاع أقل وأعلى سعر في المتجر."
                    },
                    "response": []
                },
                {
                    "name": "Quick search",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/quick-search",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "quick-search"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "shirt",
                                    "description": "نص البحث.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "10",
                                    "description": "عدد النتائج.",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "بحث سريع للـ autocomplete."
                    },
                    "response": []
                },
                {
                    "name": "Categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/category",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "category"
                            ]
                        },
                        "description": "كل التصنيفات المنشورة التي تحتوي منتجات."
                    },
                    "response": []
                },
                {
                    "name": "Category details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/category/{id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "category",
                                "{id}"
                            ]
                        },
                        "description": "بيانات تصنيف واحد."
                    },
                    "response": []
                },
                {
                    "name": "Subcategories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/subcategory/{category_id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "subcategory",
                                "{category_id}"
                            ]
                        },
                        "description": "التصنيفات الفرعية التابعة لتصنيف."
                    },
                    "response": []
                },
                {
                    "name": "Child categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/child-category/{sub_category}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "child-category",
                                "{sub_category}"
                            ]
                        },
                        "description": "التصنيفات الداخلية التابعة لتصنيف فرعي."
                    },
                    "response": []
                },
                {
                    "name": "Categories with products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/categories-with-products",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "categories-with-products"
                            ]
                        },
                        "description": "تصنيفات ومعها منتجاتها للواجهات السريعة."
                    },
                    "response": []
                },
                {
                    "name": "Featured products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/featured/product/{limit?}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "featured",
                                "product",
                                "{limit?}"
                            ]
                        },
                        "description": "منتجات مميزة بعدد اختياري."
                    },
                    "response": []
                },
                {
                    "name": "Recent products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/recent/product/{limit?}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "recent",
                                "product",
                                "{limit?}"
                            ]
                        },
                        "description": "أحدث المنتجات."
                    },
                    "response": []
                },
                {
                    "name": "Campaigns",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/campaign",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "campaign"
                            ]
                        },
                        "description": "الحملات النشطة."
                    },
                    "response": []
                },
                {
                    "name": "Campaign products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/campaign/product/{id?}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "campaign",
                                "product",
                                "{id?}"
                            ]
                        },
                        "description": "منتجات حملة محددة أو كل الحملات."
                    },
                    "response": []
                },
                {
                    "name": "Deals products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/deals/product/{limit?}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "deals",
                                "product",
                                "{limit?}"
                            ]
                        },
                        "description": "عروض اليوم."
                    },
                    "response": []
                },
                {
                    "name": "Create product review",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/product-review",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "product-review"
                            ]
                        },
                        "description": "إضافة تقييم على منتج بواسطة عميل مسجل.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 101,\n    \"rating\": 5,\n    \"comment\": \"Great product\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Checkout, Payments & Shipping",
            "item": [
                {
                    "name": "Payment gateways",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "x-api-key",
                                "value": "{{x_api_key}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/payment-gateway-list",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "payment-gateway-list"
                            ]
                        },
                        "description": "قائمة طرق الدفع المفعلة داخل المتجر."
                    },
                    "response": []
                },
                {
                    "name": "Apply coupon",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/coupon",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "coupon"
                            ]
                        },
                        "description": "حساب قيمة الخصم لكوبون على سلة معينة.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"coupon\": \"WELCOME10\",\n    \"total_amount\": 250,\n    \"ids\": \"[101,102]\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Calculate shipping charge",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/shipping-charge",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "shipping-charge"
                            ]
                        },
                        "description": "حساب خيارات الشحن والضريبة حسب عنوان العميل ومنتجات السلة.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"country\": 1,\n    \"state\": 10,\n    \"city\": 24,\n    \"product_ids\": \"[101,102]\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Create checkout order",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/checkout",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "checkout"
                            ]
                        },
                        "description": "إنشاء طلب من cart JSON مع بيانات العميل وطريقة الدفع.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"cart\": \"[{\\\"id\\\":101,\\\"qty\\\":1}]\",\n    \"name\": \"Ahmed Zakaria\",\n    \"phone\": \"+201000000000\",\n    \"email\": \"customer@example.com\",\n    \"country\": 1,\n    \"state\": 10,\n    \"city\": 24,\n    \"address\": \"Riyadh, Olaya\",\n    \"payment_gateway\": \"manual_payment\",\n    \"manual_trasaction_id\": \"TXN-10001\",\n    \"cash_on_delivery\": \"on\",\n    \"shipping_method\": 3,\n    \"used_coupon\": \"WELCOME10\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Update payment status",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/update-payment",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "update-payment"
                            ]
                        },
                        "description": "تحديث حالة الدفع لطلب pending.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"order_id\": 1001,\n    \"status\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "EdfaPay webhook",
                    "request": {
                        "method": "POST|GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{central_base_url}}/payments/edfapay/webhook/{order_id?}",
                            "host": [
                                "{{central_base_url}}"
                            ],
                            "path": [
                                "payments",
                                "edfapay",
                                "webhook",
                                "{order_id?}"
                            ]
                        },
                        "description": "Webhook استقبال ردود EdfaPay من خارج session."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Customer Account",
            "item": [
                {
                    "name": "Customer profile",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/profile",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "profile"
                            ]
                        },
                        "description": "بيانات العميل الحالي وعناوينه."
                    },
                    "response": []
                },
                {
                    "name": "Update customer profile",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/update-profile",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "update-profile"
                            ]
                        },
                        "description": "تحديث بيانات العميل وصورة الحساب.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"full_name\": \"Ahmed Zakaria\",\n    \"email\": \"customer@example.com\",\n    \"country_id\": 1,\n    \"state_id\": 10,\n    \"city_id\": 24,\n    \"mobile\": \"1000000000\",\n    \"file\": \"\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Change password",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/change-password",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "change-password"
                            ]
                        },
                        "description": "تغيير كلمة مرور العميل الحالي.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"current_password\": \"secret123\",\n    \"new_password\": \"newSecret123\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Shipping addresses",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/all-shipping-address",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "all-shipping-address"
                            ]
                        },
                        "description": "كل عناوين شحن العميل."
                    },
                    "response": []
                },
                {
                    "name": "Create shipping address",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/add-shipping-address",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "add-shipping-address"
                            ]
                        },
                        "description": "إضافة عنوان شحن جديد.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"shipping_address_name\": \"Home\",\n    \"full_name\": \"Ahmed Zakaria\",\n    \"address\": \"Olaya Street\",\n    \"country_id\": 1,\n    \"state_id\": 10,\n    \"city_id\": 24,\n    \"postal_code\": \"12345\",\n    \"phone\": \"+201000000000\",\n    \"email\": \"customer@example.com\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Customer orders",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/order",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "order"
                            ]
                        },
                        "description": "قائمة طلبات العميل."
                    },
                    "response": []
                },
                {
                    "name": "Order details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/order/{order_id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "order",
                                "{order_id}"
                            ]
                        },
                        "description": "تفاصيل طلب عميل."
                    },
                    "response": []
                },
                {
                    "name": "Cancel order",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/order/cancel",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "order",
                                "cancel"
                            ]
                        },
                        "description": "إلغاء طلب العميل حسب قواعد المتجر.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"order_id\": 1001\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Wishlist list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/wishlist",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "wishlist"
                            ]
                        },
                        "description": "عرض المفضلة."
                    },
                    "response": []
                },
                {
                    "name": "Toggle wishlist item",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/wishlist/toggle",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "wishlist",
                                "toggle"
                            ]
                        },
                        "description": "إضافة/إزالة منتج من المفضلة.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"product_id\": 101\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Cart list",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/cart",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "cart"
                            ]
                        },
                        "description": "عرض السلة."
                    },
                    "response": []
                },
                {
                    "name": "Add cart item",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/cart/add",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "cart",
                                "add"
                            ]
                        },
                        "description": "إضافة منتج للسلة.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"product_id\": 101,\n    \"quantity\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Support tickets",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/ticket",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "ticket"
                            ]
                        },
                        "description": "تذاكر دعم العميل."
                    },
                    "response": []
                },
                {
                    "name": "Create support ticket",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{access_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/user/ticket/create",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "user",
                                "ticket",
                                "create"
                            ]
                        },
                        "description": "فتح تذكرة دعم.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"title\": \"Payment issue\",\n    \"subject\": \"Checkout\",\n    \"priority\": \"high\",\n    \"description\": \"I need help with my order\",\n    \"departments\": \"support\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Localization, Content & Settings",
            "item": [
                {
                    "name": "Countries",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/country",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "country"
                            ]
                        },
                        "description": "قائمة الدول المتاحة."
                    },
                    "response": []
                },
                {
                    "name": "States by country",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/state/{country_id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "state",
                                "{country_id}"
                            ]
                        },
                        "description": "المناطق/المحافظات حسب الدولة."
                    },
                    "response": []
                },
                {
                    "name": "Cities by state",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/city/{state_id}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "city",
                                "{state_id}"
                            ]
                        },
                        "description": "المدن حسب المنطقة."
                    },
                    "response": []
                },
                {
                    "name": "Languages",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/languages",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "languages"
                            ]
                        },
                        "description": "اللغات المفعلة."
                    },
                    "response": []
                },
                {
                    "name": "Translations",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/translations/{lang?}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "translations",
                                "{lang?}"
                            ]
                        },
                        "description": "قاموس ترجمة لغة معينة."
                    },
                    "response": []
                },
                {
                    "name": "Translate string",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/translate-string",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "translate-string"
                            ]
                        },
                        "description": "ترجمة نص من قاموس النظام.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"string\": \"Cart\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Blog posts",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/blog",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "blog"
                            ]
                        },
                        "description": "مقالات المدونة."
                    },
                    "response": []
                },
                {
                    "name": "Blog categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/blog/categories",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "blog",
                                "categories"
                            ]
                        },
                        "description": "تصنيفات المدونة."
                    },
                    "response": []
                },
                {
                    "name": "Blog detail",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/blog/{id_or_slug}",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "blog",
                                "{id_or_slug}"
                            ]
                        },
                        "description": "تفاصيل مقال بالمعرف أو slug."
                    },
                    "response": []
                },
                {
                    "name": "Create blog comment",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/blog/comment",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "blog",
                                "comment"
                            ]
                        },
                        "description": "إضافة تعليق على مقال.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"blog_id\": 4,\n    \"comment\": \"Great article\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                },
                {
                    "name": "Mobile slider",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/mobile-slider",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "mobile-slider"
                            ]
                        },
                        "description": "صور السلايدر للواجهات والموبايل."
                    },
                    "response": []
                },
                {
                    "name": "Terms page",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/terms-and-condition-page",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "terms-and-condition-page"
                            ]
                        },
                        "description": "صفحة الشروط والأحكام."
                    },
                    "response": []
                },
                {
                    "name": "Privacy page",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/privacy-policy-page",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "privacy-policy-page"
                            ]
                        },
                        "description": "صفحة سياسة الخصوصية."
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "External Integrations",
            "item": [
                {
                    "name": "Odoo invoices",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{central_base_url}}/odoo/invoices",
                            "host": [
                                "{{central_base_url}}"
                            ],
                            "path": [
                                "odoo",
                                "invoices"
                            ]
                        },
                        "description": "قراءة فواتير Odoo من التكامل الخلفي."
                    },
                    "response": []
                },
                {
                    "name": "WooCommerce order sync",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{tenant_base_url}}/api/nazmart-woocommerce/orders",
                            "host": [
                                "{{tenant_base_url}}"
                            ],
                            "path": [
                                "api",
                                "nazmart-woocommerce",
                                "orders"
                            ]
                        },
                        "description": "استقبال/مزامنة طلب من WooCommerce integration module.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"order\": {\n        \"id\": 123\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": []
                }
            ]
        }
    ]
}