Delete Order

        Delete an instance of Order by its ID.
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.delete_order_by_id(order_id, async=True)
        >>> result = thread.get()

        :param async bool
        :param str order_id: ID of order to delete. (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.

def delete_order_by_id(cls, order_id, **kwargs):
        """Delete Order

        Delete an instance of Order by its ID.
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.delete_order_by_id(order_id, async=True)
        >>> result = thread.get()

        :param async bool
        :param str order_id: ID of order to delete. (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._delete_order_by_id_with_http_info(order_id, **kwargs)
        else:
            (data) = cls._delete_order_by_id_with_http_info(order_id, **kwargs)
            return data