def METHOD_NAME(self, request, *_args, **kwargs):
    """
    HTTP handler.
    """
    try:
        api_url = urljoin(f"{get_ecommerce_api_base_url()}/", f"baskets/{kwargs['basket_id']}/order/")
        response = get_ecommerce_api_client(request.user).METHOD_NAME(api_url)
        response.raise_for_status()
        return JsonResponse(response.json())
    except HTTPError as err:
        if err.response.status_code == 404:
            return JsonResponse(status=404)
        raise