Method: Mints::Contact#get_order_item_group

Defined in:
lib/contact.rb

#get_order_item_group(id, options = nil) ⇒ Object

Get Order Item Group.

Get an order item group info.

Parameters

id

(Integer) – Order Item Group Id.

options

(Hash) – List of Resource Collection Options shown above can be used as parameter.

First Example

@data = @mints_contact.get_order_item_group(130)

Second Example

options = {
  "fields": "id"
}
@data = @mints_contact.get_order_item_group(130, options)


728
729
730
# File 'lib/contact.rb', line 728

def get_order_item_group(id, options = nil)
  return @client.raw("get", "/ecommerce/order-items-groups/#{id}", options, nil, @contact_v1_url)
end