diff --git a/src/ShopifyFulfillment.php b/src/ShopifyFulfillment.php index 1c442d7..f3c6f55 100644 --- a/src/ShopifyFulfillment.php +++ b/src/ShopifyFulfillment.php @@ -30,12 +30,12 @@ public function read($id, $orderId) public function create($orderId, $data) { - $this->post($data, $this->prefix($orderId)); + return $this->post($data, $this->prefix($orderId)); } public function update($id, $orderId, $data) { - $this->put($id, $data, $this->prefix($orderId)); + return $this->put($id, $data, $this->prefix($orderId)); } protected function prefix($orderId)