Orderhive_Restapi - Version 1.0.3

Version Notes

It provides a bridge between Magento and Orderhive to exchange data in a form of Rest APIs.

Download this release

Release Info

Developer Jayneel
Extension Orderhive_Restapi
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/Orderhive/Restapi/Model/Api2/Order.php CHANGED
@@ -323,11 +323,19 @@ class Orderhive_Restapi_Model_Api2_Order extends Mage_Api2_Model_Resource
323
  else
324
  $tax_config['price'] = 'outward';
325
 
 
 
 
 
 
 
 
326
  foreach ($collection as $order)
327
  {
328
  $shipCnt = 0;
329
  $result[$cnt] = $order->getData();
330
  $result[$cnt]['tax_type'] = $tax_config['price'];
 
331
  if($order->getShippingAddress() != Null)
332
  $result[$cnt]['shipping_address'] = $order->getShippingAddress()->getData();
333
  else
323
  else
324
  $tax_config['price'] = 'outward';
325
 
326
+ $query2 = "SELECT value FROM ".$tableName." WHERE `path` LIKE 'tax/calculation/shipping_includes_tax'";
327
+ $result2 = $readConnection->fetchAll($query2);
328
+ if($result2[0]['value'] == 1)
329
+ $tax_config['shipping'] = 'inward';
330
+ else
331
+ $tax_config['shipping'] = 'outward';
332
+
333
  foreach ($collection as $order)
334
  {
335
  $shipCnt = 0;
336
  $result[$cnt] = $order->getData();
337
  $result[$cnt]['tax_type'] = $tax_config['price'];
338
+ $result[$cnt]['shipping_tax_type'] = $tax_config['shipping'];
339
  if($order->getShippingAddress() != Null)
340
  $result[$cnt]['shipping_address'] = $order->getShippingAddress()->getData();
341
  else
app/code/local/Orderhive/Restapi/Model/Api2/Product/Rest.php CHANGED
@@ -47,8 +47,11 @@ abstract class Orderhive_Restapi_Model_Api2_Product_Rest extends Mage_Catalog_Mo
47
  */
48
  protected function _retrieve()
49
  {
 
50
  $product = $this->_getProduct();
51
  $childProductsData = array();
 
 
52
  if($product->type_id == 'simple')
53
  $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($product->entity_id);
54
  elseif($product->type_id == 'configurable')
@@ -56,7 +59,10 @@ abstract class Orderhive_Restapi_Model_Api2_Product_Rest extends Mage_Catalog_Mo
56
  $childIds = Mage::getResourceSingleton('catalog/product_type_configurable')->getChildrenIds($product->entity_id);
57
  foreach($childIds[0] as $key => $value)
58
  {
 
59
  $child = Mage::getModel('catalog/product')->load($value);
 
 
60
  $childProductsData[] = array(
61
  'entity_id' => $child->entity_id,
62
  'sku' => $child->sku,
@@ -66,6 +72,9 @@ abstract class Orderhive_Restapi_Model_Api2_Product_Rest extends Mage_Catalog_Mo
66
  'qty' => $child->stock_item->qty,
67
  'set' => $child->attribute_set_id,
68
  'type' => $child->type_id,
 
 
 
69
  'created_at' => $child->created_at
70
  );
71
  }
@@ -79,6 +88,9 @@ abstract class Orderhive_Restapi_Model_Api2_Product_Rest extends Mage_Catalog_Mo
79
  'qty' => $product->stock_item->qty,
80
  'set' => $product->attribute_set_id,
81
  'type' => $product->type_id,
 
 
 
82
  'created_at' => $product->created_at,
83
  'parent_id' => $parentId,
84
  'childProducts' => $childProductsData
47
  */
48
  protected function _retrieve()
49
  {
50
+ $images = array();
51
  $product = $this->_getProduct();
52
  $childProductsData = array();
53
+ foreach ($product->getMediaGalleryImages() as $image)
54
+ $images[] = $image->getUrl();
55
  if($product->type_id == 'simple')
56
  $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($product->entity_id);
57
  elseif($product->type_id == 'configurable')
59
  $childIds = Mage::getResourceSingleton('catalog/product_type_configurable')->getChildrenIds($product->entity_id);
60
  foreach($childIds[0] as $key => $value)
61
  {
62
+ $images1 = array();
63
  $child = Mage::getModel('catalog/product')->load($value);
64
+ foreach ($child->getMediaGalleryImages() as $image)
65
+ $images1[] = $image->getUrl();
66
  $childProductsData[] = array(
67
  'entity_id' => $child->entity_id,
68
  'sku' => $child->sku,
72
  'qty' => $child->stock_item->qty,
73
  'set' => $child->attribute_set_id,
74
  'type' => $child->type_id,
75
+ 'weight' => $child->getWeight(),
76
+ 'product_link' => $child->getProductUrl(),
77
+ 'images' => $images1,
78
  'created_at' => $child->created_at
79
  );
80
  }
88
  'qty' => $product->stock_item->qty,
89
  'set' => $product->attribute_set_id,
90
  'type' => $product->type_id,
91
+ 'weight' => $product->getWeight(),
92
+ 'product_link' => $product->getProductUrl(),
93
+ 'images' => $images,
94
  'created_at' => $product->created_at,
95
  'parent_id' => $parentId,
96
  'childProducts' => $childProductsData
app/code/local/Orderhive/Restapi/Model/Api2/Product/Rest/Admin/V1.php CHANGED
@@ -113,10 +113,12 @@ class Orderhive_Restapi_Model_Api2_Product_Rest_Admin_V1 extends Orderhive_Resta
113
 
114
  foreach ($collection as $product1)
115
  {
116
- $parentId = array();
117
  $product = Mage::helper('catalog/product')->getProduct($product1->getId(), $storeId);
118
  if($product->getTypeId() == 'simple')
119
  $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
 
 
120
  $products[] = array(
121
  'entity_id' => $product->getId(),
122
  'sku' => $product->getSku(),
@@ -126,6 +128,9 @@ class Orderhive_Restapi_Model_Api2_Product_Rest_Admin_V1 extends Orderhive_Resta
126
  'qty' => $product->getStockItem()->getQty(),
127
  'set' => $product->getAttributeSetId(),
128
  'type' => $product->getTypeId(),
 
 
 
129
  'created_at' => $product->getCreatedAt(),
130
  'parent_id' => $parentId
131
  );
113
 
114
  foreach ($collection as $product1)
115
  {
116
+ $parentId = $images = array();
117
  $product = Mage::helper('catalog/product')->getProduct($product1->getId(), $storeId);
118
  if($product->getTypeId() == 'simple')
119
  $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
120
+ foreach ($product->getMediaGalleryImages() as $image)
121
+ $images[] = $image->getUrl();
122
  $products[] = array(
123
  'entity_id' => $product->getId(),
124
  'sku' => $product->getSku(),
128
  'qty' => $product->getStockItem()->getQty(),
129
  'set' => $product->getAttributeSetId(),
130
  'type' => $product->getTypeId(),
131
+ 'weight' => $product->getWeight(),
132
+ 'product_link' => $product->getProductUrl(),
133
+ 'images' => $images,
134
  'created_at' => $product->getCreatedAt(),
135
  'parent_id' => $parentId
136
  );
app/code/local/Orderhive/Restapi/etc/api2.xml CHANGED
@@ -1,171 +1,177 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <api2>
4
- <resource_groups>
5
- <restapi translate="title" module="orderhive_restapi">
6
- <title>Orderhive Restapi</title>
7
- <sort_order>10</sort_order>
8
- </restapi>
9
- </resource_groups>
10
- <resources>
11
- <productlist translate="title" module="orderhive_restapi">
12
- <group>restapi</group>
13
- <model>restapi/api2_product</model>
14
- <title>Product List</title>
15
- <sort_order>20</sort_order>
16
- <privileges>
17
- <admin>
18
- <retrieve>1</retrieve>
19
- <update>1</update>
20
- </admin>
21
- </privileges>
22
- <attributes translate="entity_id sku name short_description price qty is_in_stock set type created_at parent_id childProducts" module="orderhive_restapi">
23
- <entity_id>Product ID</entity_id>
24
- <sku>Product SKU</sku>
25
- <name>Product Name</name>
26
- <short_description>Product Short Description</short_description>
27
- <price>Product Price</price>
28
- <qty>Product Stock</qty>
29
- <is_in_stock>Stock Availability</is_in_stock>
30
- <set>Product Set</set>
31
- <type>Product Type</type>
32
- <created_at>Product Created Date</created_at>
33
- <parent_id>Parent Product SKU</parent_id>
34
- <childProducts>Child Products</childProducts>
35
- </attributes>
36
- <routes>
37
- <route_entity>
38
- <route>/productlist/:id</route>
39
- <action_type>entity</action_type>
40
- </route_entity>
41
- <route_collection>
42
- <route>/productlist</route>
43
- <action_type>collection</action_type>
44
- </route_collection>
45
- </routes>
46
- <versions>1</versions>
47
- </productlist>
48
- <customerlist translate="title" module="orderhive_restapi">
49
- <group>restapi</group>
50
- <model>restapi/api2_customer</model>
51
- <title>Customer List</title>
52
- <sort_order>30</sort_order>
53
- <privileges>
54
- <admin>
55
- <retrieve>1</retrieve>
56
- </admin>
57
- </privileges>
58
- <attributes translate="entity_id last_logged_in firstname lastname email website_id created_at group_id confirmation addresses" module="orderhive_restapi">
59
- <entity_id>Customer ID</entity_id>
60
- <last_logged_in>Last Logged In</last_logged_in>
61
- <firstname>First Name</firstname>
62
- <lastname>Last Name</lastname>
63
- <email>Email</email>
64
- <website_id>Associate to Website</website_id>
65
- <created_at>Created Date</created_at>
66
- <group_id>Group</group_id>
67
- <confirmation>Is Confirmed</confirmation>
68
- <addresses>Address List</addresses>
69
- </attributes>
70
- <routes>
71
- <route_entity>
72
- <route>/customerlist/:id</route>
73
- <action_type>entity</action_type>
74
- </route_entity>
75
- <route_collection>
76
- <route>/customerlist</route>
77
- <action_type>collection</action_type>
78
- </route_collection>
79
- </routes>
80
- <versions>1</versions>
81
- </customerlist>
82
- <orderlist translate="title" module="orderhive_restapi">
83
- <group>restapi</group>
84
- <model>restapi/api2_order</model>
85
- <title>Order List</title>
86
- <sort_order>40</sort_order>
87
- <privileges>
88
- <admin>
89
- <retrieve>1</retrieve>
90
- <update>1</update>
91
- </admin>
92
- </privileges>
93
- <attributes translate="entity_id increment_id created_at status shipping_description tracking_number _payment_method base_currency_code store_currency_code store_name remote_ip store_to_order_rate subtotal subtotal_incl_tax discount_amount base_grand_total grand_total shipping_amount shipping_tax_amount shipping_incl_tax tax_amount _tax_name _tax_rate coupon_code base_discount_amount base_subtotal base_shipping_amount base_shipping_tax_amount base_tax_amount total_paid base_total_paid total_refunded base_total_refunded base_subtotal_incl_tax base_total_due total_due shipping_discount_amount base_shipping_discount_amount discount_description customer_balance_amount base_customer_balance_amount _gift_message _order_comments customer_id tax_type" module="orderhive_restapi">
94
- <entity_id>Order ID (internal)</entity_id>
95
- <increment_id>Order ID</increment_id>
96
- <created_at>Order Date</created_at>
97
- <status>Order Status</status>
98
- <shipping_description>Shipping Method</shipping_description>
99
- <tracking_number>Tracking Number</tracking_number>
100
- <_payment_method>Payment Method</_payment_method>
101
- <base_currency_code>Base Currency</base_currency_code>
102
- <store_currency_code>Order Currency</store_currency_code>
103
- <store_name>Store Name</store_name>
104
- <remote_ip>Placed from IP</remote_ip>
105
- <store_to_order_rate>Store Currency to Order Currency Rate</store_to_order_rate>
106
- <subtotal>Subtotal</subtotal>
107
- <subtotal_incl_tax>Subtotal Including Tax</subtotal_incl_tax>
108
- <discount_amount>Discount</discount_amount>
109
- <base_grand_total>Grand Total to Be Charged</base_grand_total>
110
- <grand_total>Grand Total</grand_total>
111
- <shipping_amount>Shipping Amount</shipping_amount>
112
- <shipping_tax_amount>Shipping Including Tax</shipping_tax_amount>
113
- <shipping_incl_tax>Shipping Tax</shipping_incl_tax>
114
- <tax_amount>Tax Amount</tax_amount>
115
- <_tax_name>Tax Name</_tax_name>
116
- <_tax_rate>Tax Rate</_tax_rate>
117
- <coupon_code>Coupon Code</coupon_code>
118
- <base_discount_amount>Base Discount</base_discount_amount>
119
- <base_subtotal>Base Subtotal</base_subtotal>
120
- <base_shipping_amount>Base Shipping</base_shipping_amount>
121
- <base_shipping_tax_amount>Base Shipping Tax</base_shipping_tax_amount>
122
- <base_tax_amount>Base Tax Amount</base_tax_amount>
123
- <total_paid>Total Paid</total_paid>
124
- <base_total_paid>Base Total Paid</base_total_paid>
125
- <total_refunded>Total Refunded</total_refunded>
126
- <base_total_refunded>Base Total Refunded</base_total_refunded>
127
- <base_subtotal_incl_tax>Base Subtotal Including Tax</base_subtotal_incl_tax>
128
- <base_total_due>Base Total Due</base_total_due>
129
- <total_due>Total Due</total_due>
130
- <shipping_discount_amount>Shipping Discount</shipping_discount_amount>
131
- <base_shipping_discount_amount>Base Shipping Discount</base_shipping_discount_amount>
132
- <discount_description>Discount Description</discount_description>
133
- <customer_balance_amount>Customer Balance</customer_balance_amount>
134
- <base_customer_balance_amount>Base Customer Balance</base_customer_balance_amount>
135
- <_gift_message>Gift Message</_gift_message>
136
- <_order_comments>Order Comments</_order_comments>
137
- <customer_id>Customer ID</customer_id>
138
- <tax_type>Tax Type</tax_type>
139
- </attributes>
140
- <force_attributes>
141
- <admin>
142
- <payment_method>1</payment_method>
143
- <shipping_address>1</shipping_address>
144
- <billing_address>1</billing_address>
145
- <items>1</items>
146
- <shipments>1</shipments>
147
- <payment>1</payment>
148
- <status_history>1</status_history>
149
- <gift_message_from>1</gift_message_from>
150
- <gift_message_to>1</gift_message_to>
151
- <gift_message_body>1</gift_message_body>
152
- <order_comments>1</order_comments>
153
- <tax_name>1</tax_name>
154
- <tax_rate>1</tax_rate>
155
- </admin>
156
- </force_attributes>
157
- <routes>
158
- <route_entity>
159
- <route>/orderlist/:id</route>
160
- <action_type>entity</action_type>
161
- </route_entity>
162
- <route_collection>
163
- <route>/orderlist</route>
164
- <action_type>collection</action_type>
165
- </route_collection>
166
- </routes>
167
- <versions>1</versions>
168
- </orderlist>
169
- </resources>
170
- </api2>
 
 
 
 
 
 
171
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <api2>
4
+ <resource_groups>
5
+ <restapi translate="title" module="orderhive_restapi">
6
+ <title>Orderhive Restapi</title>
7
+ <sort_order>10</sort_order>
8
+ </restapi>
9
+ </resource_groups>
10
+ <resources>
11
+ <productlist translate="title" module="orderhive_restapi">
12
+ <group>restapi</group>
13
+ <model>restapi/api2_product</model>
14
+ <title>Product List</title>
15
+ <sort_order>20</sort_order>
16
+ <privileges>
17
+ <admin>
18
+ <retrieve>1</retrieve>
19
+ <update>1</update>
20
+ </admin>
21
+ </privileges>
22
+ <attributes translate="entity_id sku name short_description price qty is_in_stock set type weight product_link images created_at parent_id childProducts" module="orderhive_restapi">
23
+ <entity_id>Product ID</entity_id>
24
+ <sku>Product SKU</sku>
25
+ <name>Product Name</name>
26
+ <short_description>Product Short Description</short_description>
27
+ <price>Product Price</price>
28
+ <qty>Product Stock</qty>
29
+ <is_in_stock>Stock Availability</is_in_stock>
30
+ <set>Product Set</set>
31
+ <type>Product Type</type>
32
+ <weight>Product Weight</weight>
33
+ <product_link>Product Link</product_link>
34
+ <images>Product Images</images>
35
+ <created_at>Product Created Date</created_at>
36
+ <parent_id>Parent Product SKU</parent_id>
37
+ <childProducts>Child Products</childProducts>
38
+ </attributes>
39
+ <routes>
40
+ <route_entity>
41
+ <route>/productlist/:id</route>
42
+ <action_type>entity</action_type>
43
+ </route_entity>
44
+ <route_collection>
45
+ <route>/productlist</route>
46
+ <action_type>collection</action_type>
47
+ </route_collection>
48
+ </routes>
49
+ <versions>1</versions>
50
+ </productlist>
51
+ <customerlist translate="title" module="orderhive_restapi">
52
+ <group>restapi</group>
53
+ <model>restapi/api2_customer</model>
54
+ <title>Customer List</title>
55
+ <sort_order>30</sort_order>
56
+ <privileges>
57
+ <admin>
58
+ <retrieve>1</retrieve>
59
+ </admin>
60
+ </privileges>
61
+ <attributes translate="entity_id last_logged_in firstname lastname email website_id created_at group_id confirmation addresses" module="orderhive_restapi">
62
+ <entity_id>Customer ID</entity_id>
63
+ <last_logged_in>Last Logged In</last_logged_in>
64
+ <firstname>First Name</firstname>
65
+ <lastname>Last Name</lastname>
66
+ <email>Email</email>
67
+ <website_id>Associate to Website</website_id>
68
+ <created_at>Created Date</created_at>
69
+ <group_id>Group</group_id>
70
+ <confirmation>Is Confirmed</confirmation>
71
+ <addresses>Address List</addresses>
72
+ </attributes>
73
+ <routes>
74
+ <route_entity>
75
+ <route>/customerlist/:id</route>
76
+ <action_type>entity</action_type>
77
+ </route_entity>
78
+ <route_collection>
79
+ <route>/customerlist</route>
80
+ <action_type>collection</action_type>
81
+ </route_collection>
82
+ </routes>
83
+ <versions>1</versions>
84
+ </customerlist>
85
+ <orderlist translate="title" module="orderhive_restapi">
86
+ <group>restapi</group>
87
+ <model>restapi/api2_order</model>
88
+ <title>Order List</title>
89
+ <sort_order>40</sort_order>
90
+ <privileges>
91
+ <admin>
92
+ <retrieve>1</retrieve>
93
+ <update>1</update>
94
+ </admin>
95
+ </privileges>
96
+ <attributes translate="entity_id increment_id created_at updated_at status shipping_description tracking_number _payment_method base_currency_code store_currency_code order_currency_code store_name remote_ip store_to_order_rate subtotal subtotal_incl_tax discount_amount base_grand_total grand_total shipping_amount shipping_tax_amount shipping_incl_tax tax_amount _tax_name _tax_rate coupon_code base_discount_amount base_subtotal base_shipping_amount base_shipping_tax_amount base_tax_amount total_paid base_total_paid total_refunded base_total_refunded base_subtotal_incl_tax base_total_due total_due shipping_discount_amount base_shipping_discount_amount discount_description customer_balance_amount base_customer_balance_amount _gift_message _order_comments customer_id tax_type shipping_tax_type" module="orderhive_restapi">
97
+ <entity_id>Order ID (internal)</entity_id>
98
+ <increment_id>Order ID</increment_id>
99
+ <created_at>Order Date</created_at>
100
+ <updated_at>Order Update Date</updated_at>
101
+ <status>Order Status</status>
102
+ <shipping_description>Shipping Method</shipping_description>
103
+ <tracking_number>Tracking Number</tracking_number>
104
+ <_payment_method>Payment Method</_payment_method>
105
+ <base_currency_code>Base Currency</base_currency_code>
106
+ <store_currency_code>Store Currency</store_currency_code>
107
+ <order_currency_code>Order Currency</order_currency_code>
108
+ <store_name>Store Name</store_name>
109
+ <remote_ip>Placed from IP</remote_ip>
110
+ <store_to_order_rate>Store Currency to Order Currency Rate</store_to_order_rate>
111
+ <subtotal>Subtotal</subtotal>
112
+ <subtotal_incl_tax>Subtotal Including Tax</subtotal_incl_tax>
113
+ <discount_amount>Discount</discount_amount>
114
+ <base_grand_total>Grand Total to Be Charged</base_grand_total>
115
+ <grand_total>Grand Total</grand_total>
116
+ <shipping_amount>Shipping Amount</shipping_amount>
117
+ <shipping_tax_amount>Shipping Including Tax</shipping_tax_amount>
118
+ <shipping_incl_tax>Shipping Tax</shipping_incl_tax>
119
+ <tax_amount>Tax Amount</tax_amount>
120
+ <_tax_name>Tax Name</_tax_name>
121
+ <_tax_rate>Tax Rate</_tax_rate>
122
+ <coupon_code>Coupon Code</coupon_code>
123
+ <base_discount_amount>Base Discount</base_discount_amount>
124
+ <base_subtotal>Base Subtotal</base_subtotal>
125
+ <base_shipping_amount>Base Shipping</base_shipping_amount>
126
+ <base_shipping_tax_amount>Base Shipping Tax</base_shipping_tax_amount>
127
+ <base_tax_amount>Base Tax Amount</base_tax_amount>
128
+ <total_paid>Total Paid</total_paid>
129
+ <base_total_paid>Base Total Paid</base_total_paid>
130
+ <total_refunded>Total Refunded</total_refunded>
131
+ <base_total_refunded>Base Total Refunded</base_total_refunded>
132
+ <base_subtotal_incl_tax>Base Subtotal Including Tax</base_subtotal_incl_tax>
133
+ <base_total_due>Base Total Due</base_total_due>
134
+ <total_due>Total Due</total_due>
135
+ <shipping_discount_amount>Shipping Discount</shipping_discount_amount>
136
+ <base_shipping_discount_amount>Base Shipping Discount</base_shipping_discount_amount>
137
+ <discount_description>Discount Description</discount_description>
138
+ <customer_balance_amount>Customer Balance</customer_balance_amount>
139
+ <base_customer_balance_amount>Base Customer Balance</base_customer_balance_amount>
140
+ <_gift_message>Gift Message</_gift_message>
141
+ <_order_comments>Order Comments</_order_comments>
142
+ <customer_id>Customer ID</customer_id>
143
+ <tax_type>Tax Type</tax_type>
144
+ <shipping_tax_type>Shipping Tax Type</shipping_tax_type>
145
+ </attributes>
146
+ <force_attributes>
147
+ <admin>
148
+ <payment_method>1</payment_method>
149
+ <shipping_address>1</shipping_address>
150
+ <billing_address>1</billing_address>
151
+ <items>1</items>
152
+ <shipments>1</shipments>
153
+ <payment>1</payment>
154
+ <status_history>1</status_history>
155
+ <gift_message_from>1</gift_message_from>
156
+ <gift_message_to>1</gift_message_to>
157
+ <gift_message_body>1</gift_message_body>
158
+ <order_comments>1</order_comments>
159
+ <tax_name>1</tax_name>
160
+ <tax_rate>1</tax_rate>
161
+ </admin>
162
+ </force_attributes>
163
+ <routes>
164
+ <route_entity>
165
+ <route>/orderlist/:id</route>
166
+ <action_type>entity</action_type>
167
+ </route_entity>
168
+ <route_collection>
169
+ <route>/orderlist</route>
170
+ <action_type>collection</action_type>
171
+ </route_collection>
172
+ </routes>
173
+ <versions>1</versions>
174
+ </orderlist>
175
+ </resources>
176
+ </api2>
177
  </config>
package.xml CHANGED
@@ -1,8 +1,8 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orderhive_Restapi</name>
4
- <version>1.0.2</version>
5
- <stability>devel</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
@@ -10,9 +10,9 @@
10
  <description>"Orderhive RestAPI Integration" Extension for Magento will provide smooth and reliable RestAPIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
  <notes>It provides a bridge between Magento and Orderhive to exchange data in a form of Rest APIs.</notes>
12
  <authors><author><name>Jayneel Patel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati Patel</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
- <date>2016-06-15</date>
14
- <time>09:26:06</time>
15
- <contents><target name="magelocal"><dir><dir name="Orderhive"><dir><dir name="Restapi"><dir name="Helper"><file name="Data.php" hash="38c518a233dd81e503671c17f5693687"/></dir><dir name="Model"><dir name="Api2"><dir name="Customer"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="dbccdafc8f5d34be40e250c9b39007b7"/></dir></dir><file name="Rest.php" hash="680b9ad673c5881bb90ec9b73a14b789"/></dir><dir name="Order"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="de30d47be6461bebf125f67be3c7a3a0"/></dir></dir><file name="Rest.php" hash="3a9e5fbd1cf8518c6c6b7a1fc9ca772c"/></dir><file name="Order.php" hash="462bc2579a516e95eea69627686d0367"/><dir name="Product"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="6998ad9f26d0385900c30de0e78dc304"/></dir></dir><file name="Rest.php" hash="18f55c1872784840b13c15a0bbbeb3a9"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f2fc00926ccc5ef37e1405c82eb80bff"/><file name="api2.xml" hash="539851f8abfa003fa1582c03e16ca2a5"/><file name="config.xml" hash="ee839e036d108366a9b89fab9a781bd1"/><file name="system.xml" hash="c61198c01afaa3303d6dc77526d29769"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Orderhive_Restapi.xml" hash="f71701a1803ed12d95f70fc6042caae0"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orderhive_Restapi</name>
4
+ <version>1.0.3</version>
5
+ <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
10
  <description>"Orderhive RestAPI Integration" Extension for Magento will provide smooth and reliable RestAPIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
  <notes>It provides a bridge between Magento and Orderhive to exchange data in a form of Rest APIs.</notes>
12
  <authors><author><name>Jayneel Patel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati Patel</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
+ <date>2017-06-15</date>
14
+ <time>06:49:40</time>
15
+ <contents><target name="magelocal"><dir><dir name="Orderhive"><dir><dir name="Restapi"><dir name="Helper"><file name="Data.php" hash="38c518a233dd81e503671c17f5693687"/></dir><dir name="Model"><dir name="Api2"><dir name="Customer"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="dbccdafc8f5d34be40e250c9b39007b7"/></dir></dir><file name="Rest.php" hash="680b9ad673c5881bb90ec9b73a14b789"/></dir><dir name="Order"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="de30d47be6461bebf125f67be3c7a3a0"/></dir></dir><file name="Rest.php" hash="3a9e5fbd1cf8518c6c6b7a1fc9ca772c"/></dir><file name="Order.php" hash="eecdbcaf39b45dde4428c22b49ddd8a3"/><dir name="Product"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="3ef7d877c0d4ce82912792302ea3cc9a"/></dir></dir><file name="Rest.php" hash="5063f8aed95724432c32701f0a3877c5"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f2fc00926ccc5ef37e1405c82eb80bff"/><file name="api2.xml" hash="7c83395355283ef2e281d660ea23bc55"/><file name="config.xml" hash="ee839e036d108366a9b89fab9a781bd1"/><file name="system.xml" hash="c61198c01afaa3303d6dc77526d29769"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Orderhive_Restapi.xml" hash="f71701a1803ed12d95f70fc6042caae0"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>