def METHOD_NAME(self, request):
    context = self.get_parser_context(request)
    kwargs = context['kwargs']
    customer_pk = kwargs.get('customer_pk', None)
    return get_object_or_404(Customer, id=customer_pk)