flamingo.me/flamingo-commerce/v3@v3.11.0/customer/interfaces/graphql/schema.graphql (about)

     1  type Commerce_Customer_Status_Result {
     2      isLoggedIn: Boolean!
     3      userID: String!
     4  }
     5  
     6  type Commerce_Customer_Result {
     7      id: String!
     8      "Customers personal data"
     9      personalData: Commerce_Customer_PersonData!
    10      "Get a specific address from the customer"
    11      getAddress(id: ID!): Commerce_Customer_Address
    12      "Addresses that the customer provided, can be used for billing / shipping"
    13      addresses: [Commerce_Customer_Address!]
    14      "The default shipping address of the customer, null if there is none"
    15      defaultShippingAddress: Commerce_Customer_Address
    16      "The default billing address of the customer, null if there is none"
    17      defaultBillingAddress: Commerce_Customer_Address
    18  }
    19  
    20  type Commerce_Customer_PersonData {
    21      gender:     String!
    22      firstName:  String!
    23      lastName:   String!
    24      middleName: String!
    25      mainEmail:  String!
    26      prefix:      String!
    27      birthday:    Date
    28      nationality: String!
    29  }
    30  
    31  type Commerce_Customer_Address {
    32      id:                     ID!
    33      additionalAddressLines: [String!]
    34      city:                   String!
    35      company:                String!
    36      countryCode:            String!
    37      "Flag if this address should be used as the default billing address"
    38      defaultBilling:         Boolean!
    39      "Flag if this address should be used as the default shipping address"
    40      defaultShipping:        Boolean!
    41      firstName:              String!
    42      lastName:               String!
    43      postCode:               String!
    44      prefix:                 String!
    45      regionCode:             String!
    46      street:                 String!
    47      streetNumber:           String!
    48      state:                  String!
    49      telephone:              String!
    50      email:                  String!
    51  }
    52  
    53  extend type Query {
    54      """
    55      Returns the logged in status for the current session
    56      """
    57      Commerce_Customer_Status: Commerce_Customer_Status_Result
    58      """
    59      Returns the logged in customer for the current session or an error if it is not logged in.
    60      If you don't want to handle the error, check with Commerce_Customer_Status first.
    61      """
    62      Commerce_Customer: Commerce_Customer_Result
    63  }