Authorization

This method is used for authorizing the vendor and validating API access.

Authorization

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

This endpoint authorizes the vendor and returns all settings and information related to the vendor store.

Path Parameters

NameTypeDescription

e-Mail

string

e-mail address of the vendor account

Password

string

Password of the vendor account.

Headers

NameTypeDescription

Content-Type

string

The Authentication token is to track down who is emptying our stocks

{
   "status":true,
   "message":"Vendor autorization successfully.",
   "access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZW5kb3JfaWQiOiI0MyIsInVzZXJfaWQiOiI0MCIsInVzZXJfdHlwZSI6InZlbmRvciIsImVtYWlsIjoiemF6YUB1aWd0Yy5jb20iLCJpYXQiOjE2MjExNTc4NjcsImV4cCI6MTYyNjM0MTg2N30.H48knQdwQugrYDOCQW_flHmUZzRVNceiFM9OK8yWKq4",
   "expires_in":1626341867,
   "user_info":{
      "vendor_id":"43",
      "email":"zaza@uigtc.com",
      "address1":"vhyvuvuvu\r\n\r\n\r\n\r\n\r\nhvvuvujv\r\nchcgcghvhv\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nتىعةعةعةعةعةعةهةهةهةهةهةهىهىهىهىهىهىهى\r\n",
      "web_page_title":"Zaza Restaurant",
      "details":"<p><span class=\"text-tiny\">test</span></p><h2><span class=\"text-tiny\">test</span></h2>\n",
      "phone":"96555329989",
      "country":"11",
      "country_name":"Qatar",
      "store_name":"Zaza Restaurant",
      "store_name_ar":"مطعم 5",
      "about_us":"<p><span class=\"text-tiny\">test</span></p><h2><span class=\"text-tiny\">test</span></h2>\n",
      "about_us_ar":"<p><span class=\"text-tiny\">test </span></p><p><span class=\"text-tiny\">test </span></p>\n",
      "address1_ar":"Test 33 45555\nعربي\n",
      "address2":null,
      "address2_ar":null,
      "currency_title":"QAR",
      "currency_title_ar":"ر.ق",
      "multi_country_delivery":"1",
      "delivery_countries":"1,10",
      "store_type":"selling",
      "time_zone":"Asia/Qatar",
      "schedule_interval":"45",
      "default_preparation_time":"180",
      "payment_methods":"11,6,5",
      "external_country_cash":"",
      "store_domain":"https://template2.gallarias.com",
      "has_fundnumber":"1",
      "conversion_rate":"12.0500",
      "country_tax":"7.00",
      "sms_status_update_customer":"1",
      "logo":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/vendor_logo_image/43/logo_43_1619105062.png",
      "brand_limit":"50",
      "category_limit":"500",
      "catering_service":"1",
      "celebrity_module":"1",
      "change_all_delivery_status":"1",
      "default_image":"uploads/product_image/43/default_43_1608764420.jpg",
      "digital_products":"1",
      "dinein_booking":"1",
      "dinein_booking_limit":"2",
      "dinein_deposit_amount":"20",
      "driver_module":"1",
      "extras_inventory":"1",
      "free_delivery_amount":"",
      "fundnumber_label":"Fund Numer  2222",
      "fundnumber_label_ar":" 22222 رقم الصندوق",
      "fundnumber_mandatory":"0",
      "has_pos":"1",
      "has_tax":"0",
      "invoice_link_on":"1",
      "mashkor_auth_key":"s4DAzNvhimi9jG4XJ0bm0I0jk0jGAabT2Pp",
      "mashkor_secret_key":"PPS3966F952C9719",
      "mashkor_status":"1",
      "my_fatoorah_api_key":"",
      "products_inventory":"1",
      "product_comment_label":"test",
      "product_comment_label_ar":"test",
      "product_limit":"250",
      "product_preparation_time":"1",
      "product_weight":"1",
      "special_price_per_country":"1",
      "sub_category":"1",
      "suppliers_module":"1",
      "tax_number":"100",
      "template":"2",
      "vendorapp_product_management":"1",
      "default_image_url":"https://mnasatistorage.fra1.digitaloceanspaces.com/manastitesting/uploads/product_image/43/default_43_1608764420.jpg",
      "sub_user":0
   }
}

Body

{
  "email":"qa1@uigtc.com",
  "password":"Ni3@solanki"
}

Examples

curl --location --request POST 'https://sandbox.mnasati.com/v1/authorization' \
--data-raw '{
  "email":"dania@mnasati.com",
  "password":"1234567Aa"
}'

Last updated