...
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 save 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" |