Coupons
Base variables
The following variables are common to every feed types. This coincides with the product type, which can be considered the basic one.
All the variables are optional.
Name | Type | Description |
title | string | the element title |
description | string | the element description |
thumb | string | the url of the element thumbnail |
active | string on | off | this indicates the visibility of the element |
data | string yyyy-mm-dd hh:mm:ss | the element date if empty, current timestamp |
link | string | the element link (url) |
latitude | string | the element latitude |
longitude | string | the element longitude |
Type related variables
The coupons feed type has some extra variables that can be passed in the request.
Name | Type | Description |
data | string yyyy-mm-dd hh:mm:ss | in this case the data variable is used to indicate the coupon start validity date |
option | string yyyy-mm-dd hh:mm:ss | the coupon end validity date |
E-commerce variables
On this feed type is possible to enable the e-commerce feature by passing this additional variable.
Name | Type | Description |
sale | string 1 | 0 | this enables or not the e-commerce feature |
In case sale is set to "1", the following variables are available.
Name | Type | Description |
price | string | the element price |
currency | string USD | EUR | GBP | the price currency |
discounted | string 1 | 0 | this indicates if the element is in discount or not |
internal | string 1 | 0 | this indicates whether the sale should be managed by AppsBuilder or externally |
external_link | string | the url to externally manage the sale, in case of variable internal set to "0" |