Method: Mints::Contact#update_order_item_group
- Defined in:
- lib/contact.rb
#update_order_item_group(id, data) ⇒ Object
Update Order Item Group.
Update an order item group info if you are related to that order.
Parameters
- id
-
(Integer) – Order Item Group Id.
- data
-
(Hash) – Data to be submited.
First Example
data = {
"name": "New Order Item Group Name Updated"
}
@data = @mints_contact.update_order_item_group(130, data)
773 774 775 |
# File 'lib/contact.rb', line 773 def update_order_item_group(id, data) return @client.raw("put", "/ecommerce/order-items-groups/#{id}", nil, data_transform(data), @contact_v1_url) end |