User APICustomers

Get tenant customer detailsdeprecated

gethttps://user-api.ancon.io/public/api/v1/Tenants/{tenantId}/Customers/{customerId}
View .mdOpenAPI
Deprecated. Check the description for the replacement and sunset date, and see how deprecation works.

Authorization

  • Access-Tokenheaderrequired

    Tenant- or outlet-level token from the backoffice. See Get started.

Path parameters

  • tenantIdstring (uuid)required
  • customerIdstring (uuid)required

Header parameters

  • correlationIdstring

    Correlation Id for the request

Responses

200OKapplication/json
  • customerobject | null
    15 fields in customer
    • idstring (uuid)
    • createdstring (date-time)
    • modifiedstring (date-time)
    • identityUserIdstring (uuid)
    • firstNamestring | null
    • lastNamestring | null
    • emailstring | null
    • dateOfBirthstring (date-time)
    • genderinteger (int32)

      Allowed values: 0, 1, 2, 3.

    • telephoneNumberstring | null
    • languageCodestring | null
    • isDeletedboolean
    • isDisabledboolean
    • addressesarray<object> | null
      10 fields in addresses
      • idstring (uuid)
      • addressTypeinteger (int32)

        Allowed values: 0, 1, 2.

      • titlestring | null
      • streetstring | null
      • zipCodestring | null
      • citystring | null
      • statestring | null
      • countrystring | null
      • locationobject | null
        2 fields in location
        • latitudenumber (double)
        • longitudenumber (double)
      • notestring | null
    • saleAllTimearray<object> | null
      9 fields in saleAllTime
      • idstring (uuid)
      • outletIdstring (uuid)
      • tenantIdstring (uuid)
      • totalSpentobject | null
        2 fields in totalSpent
        • amountnumber (double)
        • currencystring | null
      • totalOnlineOrdersinteger (int32)
      • totalPosOrdersinteger (int32)
      • firstOrderstring (date-time)
      • lastOrderstring (date-time)
      • customerOrderFormatSalesarray<object> | null
        3 fields in customerOrderFormatSales
        • orderFormatinteger (int32)

          Allowed values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 159, 191.

        • orderCountinteger (int32)
        • totalAmountobject | null
          2 fields in totalAmount
          • amountnumber (double)
          • currencystring | null
401Unauthorizedapplication/json
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)