listProducts
Syntax
listProducts( sort_by='name')
Gives back a list of your Digistore24 products.
Access rights
Read access or full access required.
Arguments
sort_by – ‘name' oder ‘group' – sorts by product name or the product group. When sorting by product group, the sorting order that is set in Digistore24 under Account > Products > Tab: Edit Groups is respected.
Return data
A productlist, for example:
Array
(
[0] => stdClass Object
(
[id] => 39
[name] => The Weight Loss Cake
[note] =>
[tag] =>
[language] => de
[product_group_id] =>
[product_group_name] =>
[units_left] => infinite
[created_at] => 2012-06-07 00:45:36
[modified_at] => 2013-09-16 21:45:10
)
[1] => stdClass Object (
[id] => 20 [name] => Instant Happiness
[note] =>
[tag] =>
[language] => de
[product_group_id] => 17
[product_group_name] => My happiness products
[units_left] => infinite
[created_at] => 2012-04-27 16:47:28
[modified_at] => 2014-07-22 20:06:03
)
)