Skip to main content
POST
/
ecommerce
/
v2
/
apps
/
{app_id}
/
branches
/
search
curl -X POST "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/search?page=1&limit=20" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "search": {
      "value": "downtown",
      "case_sensitive": false
    },
    "filters": [
      { "field": "status", "operator": "=", "value": true }
    ],
    "includes": [
      { "relation": "products" }
    ],
    "sort": [
      { "field": "name", "direction": "asc" }
    ]
  }'
app_id
string
required
Your store ID in Jelou Shop.
page
integer
default:"1"
Page number to return.
limit
integer
default:"15"
Number of results per page (max. 100).
Text search object.
filters
object[]
List of filters to apply.
includes
object[]
List of relations to expand in the response.
sort
object[]
Result ordering.
curl -X POST "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/search?page=1&limit=20" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "search": {
      "value": "downtown",
      "case_sensitive": false
    },
    "filters": [
      { "field": "status", "operator": "=", "value": true }
    ],
    "includes": [
      { "relation": "products" }
    ],
    "sort": [
      { "field": "name", "direction": "asc" }
    ]
  }'
Each branch in the response includes products_count with the number of active products linked to it. If you omit sort, results are ordered by created_at ascending.
Searchable fields: name, code Filterable fields: status, code Sortable fields: created_at, updated_at, name, code Available relations: products