is1PApiCustomer function

bool is1PApiCustomer()

Whether the user is a 1P API customer (not subscriber, not 3P).

Implementation

bool is1PApiCustomer() {
  if (isUsing3PServices()) return false;
  if (isNeomageAISubscriber()) return false;
  return true;
}