Product List

Product List

POST https://sandbox.mnasati.com/v1/products

This endpoint allows you to get a list of all availabe products in your store.

Headers

Name
Type
Description

Content-Type

string

Application/JSON

Access Token

string

Authentication token (JWT).

{
   "status":true,
   "total":737,
   "products":[
      {
         "product_id":"2274",
         "title":"product 5",
         "title_ar":"المنتج 5",
         "description":"this is the description\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n",
         "description_ar":"هذا هو الوصف\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n",
         "sort_order":"0",
         "image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647672.jpg",
         "current_stock":"0",
         "sale_price":22,
         "category":"304",
         "sub_category":"0",
         "discount":"0.00",
         "special_price_discount":"1",
         "main_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647672_thumb.jpg",
         "thumb_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647672_thumb.jpg",
         "special_price":{
            "1":12,
            "10":4,
            "11":22
         }
      },
      {
         "product_id":"2276",
         "title":"product 26",
         "title_ar":"المنتج 26",
         "description":"this is the description\r\n\r\n\r\n\r\n\n",
         "description_ar":"هذا هو الوصف\r\n\r\n\r\n\r\n\n",
         "sort_order":"0",
         "image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647654.jpg",
         "current_stock":"13",
         "sale_price":34,
         "category":"304",
         "sub_category":"0",
         "discount":"0.00",
         "special_price_discount":"1",
         "main_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647654_thumb.jpg",
         "thumb_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/product_01608647654_thumb.jpg",
         "special_price":{
            "1":23,
            "10":23,
            "11":34
         }
      }
   ]
}

Examples

import http.client

conn = http.client.HTTPSConnection("sandbox.mnasati.com")

headers = {
    'Content-Type': "",
    'Authorization-Jwt': ""
    }

conn.request("POST", "/v1/products", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))

Last updated

Was this helpful?