The next
field defines the action(s) to execute when a user interacts with a cell, such as tapping a button, selecting an option, or completing a form. It enables dynamic navigation and behavior within the app by triggering specific transitions or operations.
This field supports an array of action objects, allowing you to chain multiple outcomes if needed.
Field | Type | Required | Access | Description |
---|---|---|---|---|
type |
String | Yes | 🔵 Read-only | Action type to execute when the cell is triggered. Supported values: |
• "menu" – Open an existing menu |
||||
• "tab" – Open an existing component |
||||
• "collection" – Open a product collection |
||||
• "product" – Open a product, booking, or event |
||||
• "url" – Open a URL |
||||
id |
Conditional | 🔵 Read-only | Identifier or destination for the action: | |
• "menu" → menu_id |
||||
• "tab" → component_id |
||||
• "product" → product_id |
||||
• "collection" → collection_id |
||||
• "url" → pass the actual URL string |
Each action object must include a type
and an id
field:
Type | Description |
---|---|
menu |
Opens an existing menu using its menu_id |
tab |
Opens a custom component using its component_id |
collection |
Opens a collection (group of products) using collection_id |
product |
Opens a specific product, booking, or event using product_id |
url |
Opens a web URL — pass the actual URL string in the id field |
json
"next": [
{
"type": "menu",
"id": "menu_12345"
}
]
json
"next": [
{
"type": "url",
"id": "<https://example.com>"
}
]