'HTTP handler.'

def get(self, request, *_args, **kwargs):

    try:
        order = ecommerce_api_client(request.user).baskets(kwargs['basket_id']).order.get()
        return JsonResponse(order)
    except exceptions.HttpNotFoundError:
        return JsonResponse(status=404)
