Categories List
toyou.categories.list
List ToYou categories for a merchant.
Request
curl -X POST https://data.upscrape.com/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"lat":24.713,"lng":46.675,"merchant_id":"96e2e119-90a6-412a-a506-0c31d733d893","operation_area":"SA_Riyadh"},"capability":"toyou.categories.list"}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
lat
| number | required | Latitude coordinate |
lng
| number | required | Longitude coordinate |
merchant_id
| string | required | Merchant identifier |
operation_area
| string | required | Operation area identifier (e.g., SA_Riyadh) |
Output
| Field | Type | Required | Description |
|---|---|---|---|
categories
| — | optional |