shop.set.getList

Returns information about all product sets.

Parameters

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

List of product set data. Each set’s sub-array contains values with the following keys:

  • []['count'] int Maximum number of displayed products specified in a dynamic list’s settings.
  • []['create_datetime'] datetime Set’s creation date & time.
  • []['edit_datetime'] datetime Set settings last update date & time.
  • []['id'] string Set ID.
  • []['json_params'] string Additional set settings in the JSON format.
  • []['name'] string Set name.
  • []['rule'] string Products selection rule for a dynamic set.
  • []['sort'] int Sort value used to display set names in the store backend.
  • []['type'] int Set type: 0 (static), 1 (dynamic).

Example

https://demo1.webasyst.com/api.php/shop.set.getList?