Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 4f2d668

Browse files
committed
Update Shopify.php
1 parent cd31cd8 commit 4f2d668

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Mochaka/Shopify/Shopify.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,16 @@ public function getOrders($data = [])
261261
{
262262
return $this->makeRequest('GET', 'orders.json', $data);
263263
}
264+
265+
/**
266+
* Receives a single order
267+
*
268+
* @param int $id
269+
*
270+
* @return array
271+
*/
272+
public function getOrders($id)
273+
{
274+
return $this->makeRequest('GET', 'orders/' . $id . '.json', $data);
275+
}
264276
}

0 commit comments

Comments
 (0)