public function update(Customer &$customer)
    {
        $data = $customer->exportData();
        $endpoint = '/admin/customers/'.$customer->id.'.json';
        $response = $this->request(
            $endpoint, 'PUT', array(
            'customer' => $data
            )
        );
        $customer->setData($response['customer']);
    }