Skip to documentation
Browse documentation
For AI agents

Connect your agent to live platform data.

Open in

Collection products list

List products from a JioMart collection slug with optional PIN context, sorting and continuation.

Capability ID jiomart.collection.products.list
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

Provide a nonblank collection slug. pincode or location may provide request context; conflicting top-level and nested PINs are rejected.

page starts at 1. page_size accepts 1 to 100. Use page_id returned by the response to resume unreturned rows from the same native page.

Keep collection slug, PIN, sort_on and page_size unchanged when following page_id.

location object optional
location.city string optional

City name.

location.pincode string optional

Postal code (PIN) that sets the delivery location.

location.state string optional

State or region name.

page integer optional

Native upstream page number. Use returned page_id continuation to consume every row when page_size is smaller than a native page. At least 1.

Example 1
page_id string optional

Use the returned pagination.next_cursor or page.next_id unchanged, with the same query, filter, collection, PIN, sort and page_size.

page_size integer optional

Maximum products returned from one native page. Returned continuation preserves any remaining rows; no additional native pages are scanned in this call. From 1 to 100.

Example 20
pincode string optional

Postal code (PIN) that sets the delivery location.

Example 400001
slug string required

Slug from the page URL.

Example groceries
sort_on string optional

Passed unchanged to JioMart; results preserve JioMart's own order. price_asc is not guaranteed to be strictly ascending. No local page sorting.

Response

Successful output is returned in results[0].data.

Collection products are catalogue observations, not proof that every item is locally stocked for the PIN.

Use page.next_id or pagination.next_cursor unchanged for continuation. Numeric page selects an upstream page.

If price_asc is requested, preserve it as JioMart’s ordering choice rather than describing the result as guaranteed globally ascending.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
items array 3 items
items array 3 items
page object 5 fields
page.has_next boolean true
page.has_previous boolean false
page.item_total integer 188000
page.next_id string 2
page.type string cursor
pagination object 3 fields
pagination.has_more boolean true
pagination.next_cursor string 2
pagination.total integer 188000

Execution behavior

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

Overview, pricing and sample data for every endpoint: JioMart API