Data Reference
Locals
From keys and values added in locals/ar.json and locals/en.json, you can access locals with a key to print the value.
locals/ar.json
{
"ho...
Store
"store": {
"id": 1011,
"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"name": "Mystore...
Cart
"cart": {
"id": 57784,
"session_id": "XXXXXXXXXXXXXXXXXXXXXX",
"phase": "address&qu...
Product
"product": {
"id": "99631cc2-3a25-43e9-bc28-55a555c4f8c0",
"sku": "Z.1.16006938458861678",
...
Products List
List of available filters and sorting for products list.
Filters
This is the available filters for product list:
search (filter products search in p...
Category
"category": {
"id": 453,
"name": "الورد البلدى",
"slug": "الورد-البلدى",
&...
Categories List
{
"categories": [
{
"id": xxxx,
"name": "رجال",
"slug": "mens",
...
Session
You can change app language and shipping country, by making a POST Call to '/customer/lang-shipping-country'`using below Params:
redirect_to ...
FAQs
"faqs":[{
"id": 3,
"question": "هل ممكن أجرب كل أنواع العسل؟",
"answer": "<div cla...
Customer
Use auth/login?redirect_to= to redirect to the customer's page when login is successful.
{
"id": 6,
"name": "تجربة ب...
Blogs
The data on this page is a reference for those who want to create Blog/s.
Example 1:
"blogs":[{
"id": 111XXX,
"title&quo...
Page
"page":{
"title": "test",
"content": "<p>test pagetest pagetest pagetest page. test pagetest pa...
Main Menu
Deprecated
use the main_menu_navigation that will support menus of types: categories, products, blogs and custom urls
"main_menu":{
&q...
Main Navigation Menu
"main_navigation_menu":{
"items": [ //max 40 items
{
"id": XXXXX,
"name": "name",
...
Request
"request":{
"path":"/products"
"query":"page=1&page_size=24"
}
Orders
"orders": [
{
"id": 4005734,
"code": "XXXXXXX",
"store_id": 3,
"order_url&quo...
Addresses
"addresses": [
{
"id": 3164XX,
"name": "محمد",
"address_street": "test",
...
Store Payment Methods
"store_payment_methods": [
{
"id": 14028,
"enabled": 1,
"code": "zid_bank_transfer&...
Store Shipping Methods
"store_shipping_methods": [
{
"id": 72710,
"name": "زدشب سريع",
"service_enabled&qu...
Store Banks
"store_banks": [
{
"id": 1,
"account_number": "1234526789290287262",
"iban": &...
Asset URL
All the asset files uploaded in the asset folder can be accessed through the asset_url variable.
For more information, Check Theme File Structure.
E...
Header Meta Tags
use header_meta_tags to render meta data for:
Title
description
keywords
icon
google data structure
twitter card
facebook open graph
<head>
...
Loyalty pogram Wallet
{
"wallet": {
"points_balance": 5485,
"pending_points_balance": 20340,
"available_poitns": 5485,...