shop.stock.getInfo
Returns information about a stock.
Parameters
-
id
GET
Stock ID.
-
format
GET
Optional
Sets response format. Available options:
json
(default),xml
.
Return value
Stock data array 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.