Skip to documentation
Browse documentation

List Categories

List Zepto category and subcategory IDs for a store or latitude/longitude.

Capability ID zepto.categories
Cost 1 credit per request
Maximum runtime 180 seconds
View raw Get an API key

POST /execute Shared execution endpoint

Input parameters

FieldTypeRequiredDescription
latitude number Optional Latitude for location-based store resolution.
longitude number Optional Longitude for location-based store resolution.
store_id string Optional Zepto store ID. Defaults to the public Bangalore sample store.

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
count integer 226
location_eta_in_minutes integer 4
location_eta_serviceable boolean true
location_latitude number 12.96902
location_longitude number 77.75395
location_secondary_store_ids array 1 items
location_secondary_store_ids array 1 items
location_serviceable boolean true
location_source_url string https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.96902&lon…
location_store_id string b4dc8d65-ed2e-4142-81b6-373982b13500
location_store_ids array 2 items
location_store_ids array 2 items
results array 3 items
results array 3 items
source_url string https://bff-gateway.zepto.com/product-assortment-service/api/v2/categor…

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.

Resources