Belta Shop API
  1. Staff Endpoints
Belta Shop API
  • Auth
    • register
      POST
    • login
      POST
    • refresh-token
      POST
    • send otp
      POST
    • send guest otp
      POST
    • verify otp
      POST
    • verify guest otp
      POST
    • reset password
      POST
  • Upload
    • Upload Single FIle
      POST
    • Upload Multiple Files
      POST
  • Products
    • Public Endpoints
      • Get All Products
      • Get Single Product
    • Staff Endpoints
      • Get All Products (Staff)
        GET
      • Get Single Product (Staff)
        GET
      • Create Product
        POST
      • Update Product
        PATCH
      • Delete Product
        DELETE
      • Link to SubCategory
        POST
      • Unlink from SubCategory
        POST
      • Link to Brand
        POST
      • Unlink from Brand
        POST
      • Link to Brand
        POST
      • Unlink from Brand
        POST
  • Brands
    • Public Endpoints
      • Get All Brands
      • Get Single Brand
    • Staff Endpoints
      • Get All Brands (Staff)
      • Get Single Brand (Staff)
      • Create Brand
      • Update Brand
      • Delete Brand
  • Categories
    • Public Endpoints
      • Get All Categories
      • Get Single Category
    • Staff Endpoints
      • Get All Categories (Staff)
      • Get Single Category (Staff)
      • Create Category
      • Update Category
      • Delete Category
  • Subcategories
    • Public Endpoints
      • Get All Subcategories
      • Get Single Subcategory
    • Staff Endpoints
      • Get All Subcategories (Staff)
      • Get Single Subcategory (Staff)
      • Create Subcategory
      • Update Subcategory
      • Delete Subcategory
      • Link to Category
      • Unlink from Category
      • Link to Category
      • Unlink from Category
  • Offers
    • Get All Offers
    • Get Single Offer
    • Create Offer
    • Update Offer
    • Delete Offer
  • Labels
    • Public Endpoints
      • Get All Labels
      • Get Single Label
    • Staff Endpoints
      • Get All Labels (Staff)
      • Get Single Label (Staff)
      • Create Label
      • Update Label
      • Delete Label
      • Link to Product
      • Unlink from Product
      • Unlink from Product
  • Tags
    • Public Endpoints
      • Get All Tags
      • Get Single Tag
    • Staff Endpoints
      • Get All Tags (Staff)
      • Get Single Tag (Staff)
      • Create Tag
      • Update Tag
      • Delete Tag
      • Link to Product
      • Unlink from Product
      • Link to Product
      • Unlink from Product
  • Welcome
    GET
  1. Staff Endpoints

Get All Products (Staff)

GET
https://shop-api.imbeltagy.tech/products/staff
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://shop-api.imbeltagy.tech/products/staff?page&limit&search&disabled&brand&tag&subcategory&offer&employeeReadOnly' \
--header 'Authorization: Bearer {{token}}'
Response Response Example
{
    "metadata": {
        "total": 1,
        "page": 1,
        "limit": 10
    },
    "data": [
        {
            "_id": "6853acbb2030cfaed7fde0a1",
            "nameAr": "اسم المنتج",
            "nameEn": "Product Name",
            "descriptionAr": "وصف المنتج",
            "descriptionEn": "Product Description",
            "coverList": [
                "image_url_1",
                "image_url_2"
            ],
            "rating": 0,
            "reviews": 0,
            "brand": {
                "_id": "684a7c108e5528aa69bf3e5c",
                "nameAr": "اسم الماركة",
                "nameEn": "Brand Name",
                "cover": "cover_image_url",
                "disabled": false,
                "products": [],
                "employeeReadOnly": false,
                "__v": 0
            },
            "subcategory": {
                "_id": "684a7b7f8e5528aa69bf3e53",
                "nameAr": "اسم الفئة الفرعية",
                "nameEn": "Subcategory Name",
                "cover": "cover_image_url",
                "disabled": false,
                "employeeReadOnly": false,
                "products": [],
                "__v": 0
            },
            "labels": [
                "684a7bbb8e5528aa69bf3e56"
            ],
            "tags": [
                {
                    "_id": "684a7bd98e5528aa69bf3e59",
                    "nameAr": "اسم الوسم",
                    "nameEn": "Tag Name",
                    "products": [],
                    "employeeReadOnly": false,
                    "disabled": false,
                    "__v": 2
                }
            ],
            "quantity": 100,
            "disabled": false,
            "price": 100,
            "finalPrice": 90,
            "offer": {
                "_id": "68562e9a44c4905aeaaa2f8f",
                "nameAr": "اسم العرض",
                "nameEn": "Offer Name",
                "product": "6853acbb2030cfaed7fde0a1",
                "offerQuantity": 5000,
                "maxPerClient": 20,
                "quantityPurchased": 0,
                "disabled": false,
                "type": "percent",
                "value": 0.1,
                "employeeReadOnly": false,
                "createdAt": "2025-06-21T04:01:30.763Z",
                "updatedAt": "2025-06-21T04:01:30.763Z",
                "__v": 0
            }
        }
    ]
}

Request

Query Params
page
number 
optional
limit
number 
optional
search
string 
optional
search for (nameAr or nameEn)
disabled
boolean 
optional
brand
string 
optional
brand id
tag
string 
optional
tag id
subcategory
string 
optional
subcategory id
offer
string 
optional
offer id
employeeReadOnly
boolean 
optional
Header Params
Authorization
string 
required
Example:
Bearer {{token}}

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-06-21 06:01:06
Previous
Get Single Product
Next
Get Single Product (Staff)
Built with