1. Report Builder
Salla Platform Docs
  • Embedded SDK
    • Overview
    • Getting Started
    • Create an Embedded App
    • Authentication
    • App Design Guidelines
    • Installation
    • Playground
  • Auth Module
    • Get Token
    • Client Introspect
    • Refresh Token
  • Page Module
    • External Redirects
    • Navigation
    • Set Page Title
  • Nav Module
    • Create Navbar Action
    • Listen for Navbar Actions
    • Clearing Navbar Actions
    • Add Navbar Item
    • Update Navbar Item
    • Listen for Navbar Item Click
    • Remove Navbar Item
  • UI Module
    • Confirm Dialogs
    • Toast Notifications
    • Loading States
    • Breadcrumbs
  • Checkout Module
    • Create Checkout
    • Get App Add-ons
    • Subscribe for Payment Result
  • Endpoints
    • Token Introspect
      POST
  • Resources
    • Support
    • Common Examples
  • Report Builder
    • Overview
    • Getting Started
    • JMESPath Tutorial
    • Understanding the Report Lifecycle
    • Salla Reports Examples
    • Set up Store data using merchant APIs
    • Report Types
      • Unit
      • Bar
      • Breakdown
      • Calendar
      • Distribution
      • Pipe
      • Plot
      • Ranking
      • Summary
      • Agrid
    • APIs
      • Token Introspect
  • App Onboarding
    • Overview
    • Get Started
    • Interfaces and Responses
    • Example
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Report Builder

JMESPath Tutorial

JMESPath is a query language for JSON. It lets you extract and change data in JSON content.

Basic Expressions#

A basic JMESPath expression is just writing the key’s name. This selects that key in the JSON object.
Check out more about identifiers here.

Example:
For this array -> {"a": "foo", "b": "bar", "c": "baz"}
If you query -> a
The result is -> foo
If you refer to a key that does not exist the result you’ll get is null

Subexpression#

You can use a subexpression to get values inside a nested JSON object.
Example:
For this array {"a": {"b": {"c": {"d": "value"}}}}
If you query -> a.b.c.d
The result is -> "value"
Learn more about subexpression here

Index Expression#

With index expressions, you can select a specific element in a list. It’s like array access in common programming languages, and indexing starts from 0. Read more about indexing here.

Example#

For this array ->
{"a": {
  "b": {
    "c": [
      {"d": [0, [1, 2]]},
      {"d": [3, 4]}
    ]
  }
}}
If you query -> a.b.c[0].d[1][0]
The result is -> 1
JMESPath provides a simple yet powerful way to query and transform JSON data. From basic key lookups to nested subexpressions and index access, it gives developers the flexibility to extract exactly what they need.
To explore more about expression such as:
Slicing
Projections
Pipe Expressions
Multiselect
And Functions.
For more learnings on JMESPath, continue with the full JMESPath tutorial
Modified at 2026-05-11 11:32:22
Previous
Getting Started
Next
Understanding the Report Lifecycle