Operation Id:
menu/menu/post [Official Documentaction]
Methods
- menu_list Array<Object>
- settings Object
- shop_id Integer
- menu_id Integer
- parent_id String
- parent_textid String
- lang_data Array<Object>
Examples
This function posts a new menu entry with the shop ID of 1, menu ID of 1, parent ID of "0", and language data with the name "menu2" in Polish.
const result = await idosellRequest.postMenu
.shop_id(1)
.menu_id(1)
.parent_id("0")
.lang_data([{"lang_id": "pol","name": "menu2"}])
.exec()