Assign customer guest group
put
https://user-api.ancon.io/public/api/v1.1/Tenants/{tenantId}/Customers/{customerId}/AssignGuestGroupAuthorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
tenantIdstring (uuid)requiredcustomerIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
guestGroupIdstring (uuid) | nulloutletIdstring (uuid)
Responses
200OK
customerobject | null16 fields in
customeridstring (uuid)createdstring (date-time)modifiedstring (date-time)identityUserIdstring (uuid)firstNamestring | nulllastNamestring | nullemailstring | nulldateOfBirthstring (date-time)genderinteger (int32)Allowed values:
0,1,2,3.telephoneNumberstring | nulllanguageCodestring | nullisDeletedbooleanisDisabledbooleanaddressesarray<object> | null10 fields in
addressesidstring (uuid)addressTypeinteger (int32)Allowed values:
0,1,2.titlestring | nullstreetstring | nullzipCodestring | nullcitystring | nullstatestring | nullcountrystring | nulllocationobject | null2 fields in
locationlatitudenumber (double)longitudenumber (double)
notestring | null
saleAllTimearray<object> | null9 fields in
saleAllTimeidstring (uuid)outletIdstring (uuid)tenantIdstring (uuid)totalSpentobject | null2 fields in
totalSpentamountnumber (double)currencystring | null
totalOnlineOrdersinteger (int32)totalPosOrdersinteger (int32)firstOrderstring (date-time) | nulllastOrderstring (date-time) | nullcustomerOrderFormatSalesarray<object> | null3 fields in
customerOrderFormatSalesorderFormatinteger (int32)Allowed values:
0,1,2,4,8,16,32,64,128,159,191.orderCountinteger (int32)totalAmountobject | null2 fields in
totalAmountamountnumber (double)currencystring | null
guestGroupsarray<object> | null2 fields in
guestGroupstenantIdstring (uuid)guestGroupIdstring (uuid)
guestGroupobject | null2 fields in
guestGroupidstring (uuid)namestring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null
401Unauthorized
404Not Found
messagestring | nullerrorCodestring (uuid)