N1Developer docsv1

TYPE REFERENCE

Session

Referenced by 1 generated operations.

Documented fields

  • audienceAudience!Required

    The client the token was issued to.

    Example: "app"

    • adminThe N1 administration portal (N1 staff). Endpoint /platform/graphql.
    • appThe N1 shop app (owners, accountants, supervisors, operators, QC). Endpoint /graphql.
    • consoleTurret, the N1 operations console (N1 staff). Endpoint /console/graphql.
  • roles[String!]!Required

    The caller's roles in this shop (for example owner, supervisor), or their N1 staff roles.

    Example: ["owner"]

  • tenantIdIDOptional

    The shop the caller acts in. Always set for app; always null for N1 staff.

    Example: "0192f0c1-0000-7000-8000-00000000000a"

  • userIdIDOptional

    The signed-in user.

    Example: "0192f0c1-0000-7000-8000-0000000000a1"

Used by

Search documentation

Search operations, types and errors from the generated contract.