shop.stock.getList

Returns the list of stock set up in the online store.

Parameters

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

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

Stock data list. The sub-array of each stock contains data with the following keys:

  • []['id'] int Stock ID.
  • []['name'] string Stock name.
  • []['low_count'] int Stock’s Low setting value.
  • []['critical_count'] int Stock’s Critical setting value.
  • []['public'] int Flag (0 or 1) denoting stock’s visibility in the storefront.
  • []['sort'] int Sort value.

Example

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