Essentials
Donation Progress Bar
Example

Variables
donation-progress-bar
product
object
optional
donation
object (donation)
optional
Usage
donation
object contains all of the donation related values and messages. For example;product.donation.collected_amount
: shows the collected amount up to date.product.donation.target_amount
: shows the targeted amount to be collected.product.donation.target_percent
: shows the percentage of the targeted amount.
Offer
Example

Variables
offer
id
integer
optional
name
string
optional
description
string
optional
categories
array[object (Category) {14}]
optional
id
number
required
name
string
required
image
string
required
urls
object (Urls)
required
parent_id
integer
required
sort_order
integer | null
required
status
enum<string>
required
active
or intentionally concealed from view hidden
. It essentially controls whether the category is publicly displayed or kept private within the system.Allowed values:
activehidden
show_in
object
required
has_hidden_products
boolean
required
update_at
string
required
metadata
object
required
sub_categories
array[string]
required
translations
object
required
with=translations
query parameter.translations
object will return two entries: ar
for Arabic and en
for English.items
array[object (Category) {14}]