Skip to documentation
Browse documentation

Categories List

Fetch the Carrefour KSA category tree from the storefront menu, flattened into parent-linked rows with leaf flags; leaf ids feed carrefourksa.category.products.list.

Capability ID carrefourksa.categories.list
Cost 1 credit per request
Maximum runtime 120 seconds
View raw Get an API key

POST /execute Shared execution endpoint

Input parameters

FieldTypeRequiredDescription
latitude string Optional Store catchment latitude. Defaults to 24.7136 (Riyadh).
longitude string Optional Store catchment longitude. Defaults to 46.6753 (Riyadh).

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
categories array 3 items
categories array 3 items

Execution behavior

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

Resources