changedInput schema / properties / action / oneOf
Previous value: -[
- {
- "const": "category_list",
- "description": "Lists shop categories (children of parent_id when set). Optional: parent_id, pid, get_globals, offset."
- },
- {
- "const": "list",
- "description": "Lists products a page at a time, with sorting and filters: all goods, the wishlist of the current user, or the goods of user_id (view usergoods). By default products are brief, without descriptions; complete products come with detail=full, and one complete product card from get by id. The reply has page, per_page, total, has_more, truncated and, while products remain, next with the paging arguments of the following page. A shop that shows fewer than 5 products a catalog page serves fewer products a list page than per_page asks; the reply per_page names how many, and pages by number stay consecutive. Optional: view, user_id, page, pnum, per_page, offset, detail, sort, order, f_name, f_brand, f_art, f_price, f_stock, f_status, f_warr, f_weight."
- },
- {
- "const": "get",
- "description": "Returns one product card. Required: id. Optional: cnt, goods_id."
- },
- {
- "const": "variations_list",
- "description": "Lists the variations of a product. Required: id. Optional: offset."
- },
- {
- "const": "variation_get",
- "description": "Returns one variation of a product. Required: id, variation_crc."
- },
- {
- "const": "variation_dict_list",
- "description": "Returns one variation dictionary (name and values) by its id. Required: id."
- },
- {
- "const": "stock_get",
- "description": "Returns the stock of a product by option sets. Required: id. Optional: offset."
- },
- {
- "const": "basket_get",
- "description": "Returns the basket of the current user, or of user_id. Optional: user_id."
- },
- {
- "const": "checkout_get",
- "description": "Returns the checkout form data for the current basket. Optional: promo_code, custom_delivery_tax."
- },
- {
- "const": "invoices_list",
- "description": "Lists orders with filters, a page at a time, paged like list. Brief orders by default; detail=full gives complete orders, order_get one complete order. Optional: page, per_page, offset, detail, user_id, hide, status, group_courier, payment_id, delivery_id, ids, id, inv_sum, cdate, date."
- },
- {
- "const": "order_get",
- "description": "Returns one order (order hash in order or id). Optional: order, id."
- },
- {
- "const": "comments_list",
- "description": "Lists the comments of a product a page at a time, paged like list. Brief comments by default; detail=full gives complete comments. Required: id. Optional: page, per_page, offset, detail."
- },
- {
- "const": "currencies",
- "description": "Lists shop currencies and rates. Optional: offset."
- },
- {
- "const": "balance_get",
- "description": "Returns the balance of a user. Optional: user_id."
- }
-]New value: +[
+ {
+ "const": "category_list",
+ "description": "Lists shop categories (children of parent_id when set). Optional: parent_id, pid, get_globals, offset."
+ },
+ {
+ "const": "list",
+ "description": "Lists products a page at a time, with sorting and filters: all goods, the wishlist of the current user, or the goods of user_id (view usergoods, which user_id alone selects). By default products are brief, without descriptions; complete products come with detail=full, and one complete product card from get by id. The reply has page, per_page, total, has_more, truncated and, while products remain, next with the paging arguments of the following page. A shop that shows fewer than 5 products a catalog page serves fewer products a list page than per_page asks; the reply per_page names how many, and pages by number stay consecutive. Optional: view, user_id, page, pnum, per_page, offset, detail, sort, order, f_name, f_brand, f_art, f_price, f_stock, f_status, f_warr, f_weight."
+ },
+ {
+ "const": "get",
+ "description": "Returns one product card. Required: id. Optional: cnt, goods_id."
+ },
+ {
+ "const": "variations_list",
+ "description": "Lists the variations of a product. Required: id. Optional: offset."
+ },
+ {
+ "const": "variation_get",
+ "description": "Returns one variation of a product. Required: id, variation_crc."
+ },
+ {
+ "const": "variation_dict_list",
+ "description": "Returns one variation dictionary (name and values) by its id. Required: id."
+ },
+ {
+ "const": "stock_get",
+ "description": "Returns the stock of a product by option sets. Required: id. Optional: offset."
+ },
+ {
+ "const": "basket_get",
+ "description": "Returns the basket of the current user, or of user_id. Optional: user_id."
+ },
+ {
+ "const": "checkout_get",
+ "description": "Returns the checkout form data for the current basket. Optional: promo_code, custom_delivery_tax."
+ },
+ {
+ "const": "invoices_list",
+ "description": "Lists orders with filters, a page at a time, paged like list. Brief orders by default; detail=full gives complete orders, order_get one complete order. Optional: page, per_page, offset, detail, user_id, hide, status, group_courier, payment_id, delivery_id, ids, id, inv_sum, cdate, date."
+ },
+ {
+ "const": "order_get",
+ "description": "Returns one order (order hash in order or id). Required: order or id."
+ },
+ {
+ "const": "comments_list",
+ "description": "Lists the comments of a product a page at a time, paged like list. Brief comments by default; detail=full gives complete comments. Required: id. Optional: page, per_page, offset, detail."
+ },
+ {
+ "const": "currencies",
+ "description": "Lists shop currencies and rates. Optional: offset."
+ },
+ {
+ "const": "balance_get",
+ "description": "Returns the balance of a user. Optional: user_id."
+ }
+]