Create company memberdeprecated
post
https://core-api.ancon.io/api/v1/Outlets/{outletId}/Companies/{companyId}/MembersDeprecated. Check the description for the replacement and sunset date, and see how deprecation works.
Will no longer work after 2027-03-31 00:00, move over to user service instead.
Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
outletIdstring (uuid)requiredcompanyIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
firstNamestring | nulllastNamestring | nullemailstring (email) | nullphoneNumberstring | nulldepartmentstring | null
Responses
201Created
companyMemberobject | null6 fields in
companyMemberidstring (uuid)fullNamestring | nullnameobject | null2 fields in
namefirstNamestring | nulllastNamestring | null
emailstring | nullphoneNumberstring | nulldepartmentstring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null