Brands List

Brand List

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

This endpoint allows you to get free cakes.

Headers

NameTypeDescription

Content-Type

string

Application/JSON

Access Token

string

Authentication token to track down who is emptying our stocks.

{
   "status":true,
   "total":"4",
   "data":[
      {
         "brand_id":"28",
         "brand_name":"APRVD",
         "brand_name_ar":"APRVD",
         "brand_logo":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_logo/43/brand_28_1612859416.png",
         "banner_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_banner/43/brand_28_1612859417.png",
         "sort":"2",
         "date_added":null
      },
      {
         "brand_id":"27",
         "brand_name":"BEAUTY WAY JBL",
         "brand_name_ar":"BEAUTY WAY JBL",
         "brand_logo":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_logo/43/brand_27_1612859367.png",
         "banner_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_banner/43/brand_27_1612859367.png",
         "sort":"1",
         "date_added":null
      },
      {
         "brand_id":"26",
         "brand_name":"JUST BEAUTIFUL",
         "brand_name_ar":"JUST BEAUTIFUL",
         "brand_logo":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_logo/43/brand_26_1612859350.png",
         "banner_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_banner/43/brand_26_1612859350.png",
         "sort":"4",
         "date_added":null
      },
      {
         "brand_id":"25",
         "brand_name":"JBL",
         "brand_name_ar":"JBL",
         "brand_logo":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_logo/43/brand_25_1612859297.png",
         "banner_image":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/brand_banner/43/brand_25_1612859297.png",
         "sort":"3",
         "date_added":null
      }
   ]
}

Examples

import http.client

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

headers = {
    'Content-Type': "Application/JSON",
    'Authorization-Jwt':"Jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZW5kb3JfaWQiOiI0MyIsInVzZXJfaWQiOiI0MCIsInVzZXJfdHlwZSI6InZlbmRvciIsImVtYWlsIjoiemF6YUB1aWd0Yy5jb20iLCJpYXQiOjE2MjExNjkwNjAsImV4cCI6MTYyNjM1MzA2MH0.txMUChjPsKvD9NJrIh_0sFJDKrdRi7GlgLQv0wOdE6E"
    }

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

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

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

Last updated