code: def _create_put_request(self, resource, billomat_id, command=None, send_data=None):
          
          assert (isinstance(resource, str))
  
          if isinstance(billomat_id, int):
              billomat_id = str(billomat_id)
  
          if not command:
              command = ''
          else:
              command = '/' + command
  
          response = self.session.put(
              url=self.api_url + resource + '/' + billomat_id + command,
              data=json.dumps(send_data),
          )
  
          return self._handle_response(response)
docs: Creates a put request and return the response data