public function post(Product $product) { $payload = $product->toPost(); $response = $this->connection->post('/Products', $payload); return $this->getProductResponseFromBody($response); }