User APICustomers

Assign customer guest group

puthttps://user-api.ancon.io/public/api/v1.1/Tenants/{tenantId}/Customers/{customerId}/AssignGuestGroup
View .mdOpenAPI

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

Request body application/json

  • guestGroupIdstring (uuid) | null
  • outletIdstring (uuid)

Responses

200OKapplication/json
  • customerobject | null
    16 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) | null
      • lastOrderstring (date-time) | null
      • 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
    • guestGroupsarray<object> | null
      2 fields in guestGroups
      • tenantIdstring (uuid)
      • guestGroupIdstring (uuid)
  • guestGroupobject | null
    2 fields in guestGroup
    • idstring (uuid)
    • namestring | null
400Bad Requestapplication/json
  • messagestring | null
  • errorCodestring (uuid)
  • additionalDataany | null
401Unauthorizedapplication/json
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)