Grocery categories
market_categoriesRetrieve SnappMarket product categories and subcategories with IDs for market_store_products, filtered by delivery coordinates. Includes virtual kalabarg category (ID 99999999).
Instructions
List SnappMarket product categories and sub-categories with their ids.
The ids work as category_id / subcategory_id in market_store_products. The first entry (id 99999999) is the virtual kalabarg (government e-coupon eligible) category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the delivery point (Iran: ~25 to ~40). | |
| long | Yes | Longitude of the delivery point (Iran: ~44 to ~63). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||