Create a new customer and return an issue Resource for it.

        :param email: Customer Email
        :type email: str
        :param displayName: Customer display name
        :type displayName: str
        :rtype: Customer

def create_customer(self, email, displayName):
        """Create a new customer and return an issue Resource for it.

        :param email: Customer Email
        :type email: str
        :param displayName: Customer display name
        :type displayName: str
        :rtype: Customer

        """
        url = self._options['server'] + '/rest/servicedeskapi/customer'
        headers = {'X-ExperimentalApi': 'opt-in'}
        r = self._session.post(url, headers=headers, data=json.dumps({
            'email': email,
            'displayName': displayName
        }))

        raw_customer_json = json_loads(r)

        if r.status_code != 201:
            raise JIRAError(r.status_code, request=r)
        return Customer(self._options, self._session, raw=raw_customer_json)