Skip to content

imranertaza/amarbanglaAPI

Repository files navigation

Details document of the API with example

API URL for getting shop details

https://api.amarbangla.com.bd/api/get_shop_details/{shopID}/

Example:
https://api.amarbangla.com.bd/api/get_shop_details/8




API for getting the youtube video URL of any shop

https://api.amarbangla.com.bd/api/get_shop_youtube_url/{shopID}/

Example:
https://api.amarbangla.com.bd/api/get_shop_youtube_url/8




API for getting general Setting information of any shop

https://api.amarbangla.com.bd/api/get_shop_youtube_url/{shopID}/ https://api.amarbangla.com.bd/api/get_shop_settings_info/{shopID}/{label}/

Example:
https://api.amarbangla.com.bd/api/get_shop_youtube_url/8/ https://api.amarbangla.com.bd/api/get_shop_settings_info/8/customer_panel_video




API for Local shops list

https://api.amarbangla.com.bd/api/get_all_local_shop_list/{limit?}/{orderBy?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_all_local_shop_list/3/shopID/desc




https://api.amarbangla.com.bd/api/get_local_shop_list_by_category/{shop_category}/{limit?}/{orderBy?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_local_shop_list_by_category/5/3/shopID/desc




https://api.amarbangla.com.bd/api/get_local_shops_list/{global_address_id?}/{limit?}/{orderBy?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_local_shops_list/1/3/shopID/desc




https://api.amarbangla.com.bd/api/get_local_shop_detail/{shopID}

Example:
https://api.amarbangla.com.bd/api/get_local_shop_detail/2/




API for Regular shops list

https://api.amarbangla.com.bd/api/get_regular_shop_list/{limit?}/{orderBy?}/{orderType?} https://api.amarbangla.com.bd/api/get_regular_shop_list_by_category/{shop_category}/{limit?}/{orderBy?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_regular_shop_list/5/sch_id/DESC https://api.amarbangla.com.bd/api/get_regular_shop_list_by_category/3/3/ShopID/DESC




For slider banners

https://api.amarbangla.com.bd/api/get_sliders




For home banner

https://api.amarbangla.com.bd/api/get_website_settings/home_banner https://api.amarbangla.com.bd/api/get_website_settings/home_banner_2 https://api.amarbangla.com.bd/api/get_website_settings/home_banner_3




For popular product

https://api.amarbangla.com.bd/api/get_popular_products https://api.amarbangla.com.bd/api/get_popular_products/{offset?}/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_popular_products/0/3/ASC




For hot product

https://api.amarbangla.com.bd/api/get_hot_products https://api.amarbangla.com.bd/api/get_hot_products/{offset?}/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_hot_products/0/3/DESC




For featured product

https://api.amarbangla.com.bd/api/get_featured_products https://api.amarbangla.com.bd/api/get_featured_products/{offset?}/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_featured_products/0/3/ASC




Get Product Image

https://api.amarbangla.com.bd/api/get_products_image/{productID}/

Example:
https://api.amarbangla.com.bd/api/get_products_image/9/




Search API (POST REQUEST)

https://api.amarbangla.com.bd/api/search/ https://api.amarbangla.com.bd/api/search/{limit?} https://api.amarbangla.com.bd/api/search/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/search/

post with the search key: search_item Normally search_item = any product name

Note: if search_item == #4, it's means it will search shop which shop ID is 4




Product details API

https://api.amarbangla.com.bd/api/get_products_details/{productID}/{shopID}

Example:
https://api.amarbangla.com.bd/api/get_products_details/80/25 https://api.amarbangla.com.bd/api/get_products_details/759/50




Product Color Option API

https://api.amarbangla.com.bd/api/get_products_color_option/{productID}/{shopID}

Example:
https://api.amarbangla.com.bd/api/get_products_color_option/80/25 https://api.amarbangla.com.bd/api/get_products_color_option/87/25




Product Size Option API

https://api.amarbangla.com.bd/api/get_products_size_option/{productID}/{shopID}

Example:
https://api.amarbangla.com.bd/api/get_products_size_option/80/25 https://api.amarbangla.com.bd/api/get_products_size_option/87/25




Get Featured Shop Category list

https://api.amarbangla.com.bd/api/get_featured_shop_category/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_featured_shop_category/2/DESC




Get All Shop Category list

https://api.amarbangla.com.bd/api/get_all_shop_category/{limit?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_all_shop_category/2/DESC




Registration

Method POST URL: https://api.amarbangla.com.bd/api/customer_register

Fields keys: [ 'mobile' 'password' 'customer_name' 'father_name' 'mother_name' 'age' 'pass' 'pic' 'nid' 'cus_type_id' 'balance' 'mac_address' 'address' 'global_address_id' 'createdBy' 'updatedBy' 'deleted' 'deletedRole' ]

Example:
https://api.amarbangla.com.bd/api/customer_register




Login

Method POST URL: https://api.amarbangla.com.bd/api/customer_login

Fields keys: [ 'mobile' 'password' ]

Example:
https://api.amarbangla.com.bd/api/customer_login




Global Address

Get all divisions list
Method GET URL: https://api.amarbangla.com.bd/api/get_all_divisions/

Example:
https://api.amarbangla.com.bd/api/get_all_divisions/



Get all district list by Division ID
Method GET URL: https://api.amarbangla.com.bd/api/get_districts_list_by_division/{division}

Example:
https://api.amarbangla.com.bd/api/get_districts_list_by_division/2/




Method GET URL: https://api.amarbangla.com.bd/get_sub_districts_list_by_district/{districtID}

Example:
https://api.amarbangla.com.bd/api/get_sub_districts_list_by_district/2/




Method GET URL: https://api.amarbangla.com.bd/api/get_pourashava_or_union/

Example:
https://api.amarbangla.com.bd/api/get_pourashava_or_union/




Method GET URL: https://api.amarbangla.com.bd/api/get_ward/

Example:
https://api.amarbangla.com.bd/api/get_ward/




Get all district list by Division ID
Method GET URL: https://api.amarbangla.com.bd/api/get_districts_by_division/{division}/{limit?}/{orderBy?}/{orderType?}

Example:
https://api.amarbangla.com.bd/api/get_districts_by_division/2/5/global_address_id/DESC/




About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published