Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 470 Bytes

MenuItemRepositionMenuItem.md

File metadata and controls

20 lines (14 loc) · 470 Bytes

SpreeClient::MenuItemRepositionMenuItem

Properties

Name Type Description Notes
new_parent_id Integer The ID of the new target parent Menu Item.
new_position_idx Integer The new index position of the Menu Item within its parent

Example

require 'spree_client'

instance = SpreeClient::MenuItemRepositionMenuItem.new(
  new_parent_id: 1,
  new_position_idx: 1
)