OrderCreator

(UNION)

originator of an order, might be null for backend created orders .

If order has been created by logged-in user:

  • this is reference to the user who created this order,
  • in case the user impersonated a company, this is reference to the user who created this order on behalf of the company.

If order has been created by a visitor (unauthenticated user):

  • this is an UnauthenticatedEmail object if the visitor shopped privately,
  • this is an UnauthenticatedEmail object if the visitor shopped on behalf of a company - whether registered or not

If a website's representative created the order in the system manually (in administration) the value will be null.

link GraphQL Schema definition

link Require by