website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
User Guide
How-To Videos
Developers
⌘K
Getting Started
Introduction
Compatibility
Terminology
SDK Installation
Shopify
Any Website
Dukaan
Angular 2+
WooCommerce
WordPress
Android Native
iOS Native
Flutter
Cordova
Ionic
React Native
Data Integration
Data Models
Mandatory Events
Mandatory Properties
Call to Action
System Events
Device Properties
Docs powered by archbee 
23min

Data Models

Category

Any kind of category defined by the app. This represents the following structure-

JSON
|
  • id- Id of the Category in string format.
  • name- Name of the category in string format.

Tag

Any kind of tags defined by the app. This represents the following structure-

JSON
|
  • id- Id of the Tag in string format.
  • name- Name of the Tag in string format.

Item

The item object represents a product/content as described in Terminologies. The Item represents the following structure

JSON
|

Cart Item

The CartItem object represents an Item along with quantity. This represents the following structure (showing as JSON)-

JSON
|

Premium Item

This type of Item represents a consumable/premium item which does not have access to all the users or may be locked. This extends the Item.

JSON
|

Address

An address object represents the following format-

JSON
|
  • l1- Line 1 of the address.
  • l2- Line 2 of the address.
  • city- City of the address.
  • country- Full country name.
  • countryCode- Abbr. country code.
  • state- Full state name.
  • stateCode- Abbr. state code.
  • zip- Zipcode of the address.

Amount

An amount object represents the following format-

JSON
|
  • value- The amount in number format.
  • currency- Any 3-character ISO currency code. For example- INR, USD, BRL, GBP. You can find more on Wikipedia.

Coupon

Any applied coupon (for events) or any coupon to apply (for CTAs).

JSON
|
  • code- The actual coupon code that the user will use.
  • amount- The amount of discount to offer.
  • discountType- Applicable values- percent, fixed_cart, fixed_product.
Updated 09 Aug 2022
Did this page help you?
Yes
No
UP NEXT
Mandatory Events
Docs powered by archbee 
TABLE OF CONTENTS
Category
Tag
Item
Cart Item
Premium Item
Address
Amount
Coupon