shop.product.pages.getList

Returns the list of product subpages.

Parameters

  • product_id GET

    Product ID.

  • format GET Optional

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

Return value

Product pages data array containing sub-arrays of individual pages’ values with the following keys:

  • []['id'] int.
  • []['product_id'] int.
  • []['name'] string.
  • []['content'] string HTML content.
  • []['url'] string Editble URL part.
  • []['create_contact_id'] int Contact ID of the user who has created the page.
  • []['create_datetime'] datetime.
  • []['update_datetime'] datetime.
  • []['title'] int TITLE tag value.
  • []['description'] string Value of the description META tag.
  • []['keywords'] string Value of the keywords META tag.
  • []['sort'] int Sort value starting from 0.
  • []['status'] int Publication status — 0 (draft), 1 (published).

Example

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