'HTTP handler.'

def get(self, request, number):

    if ((not request.user.is_authenticated()) and is_account_activation_requirement_disabled()):
        try:
            request.user = User.objects.get(id=request.session._session_cache['_auth_user_id'])
        except User.DoesNotExist:
            return JsonResponse(status=403)
    try:
        order = ecommerce_api_client(request.user).orders(number).get()
        return JsonResponse(order)
    except exceptions.HttpNotFoundError:
        return JsonResponse(status=404)
