Core APICompanies

Create company memberdeprecated

posthttps://core-api.ancon.io/api/v1/Outlets/{outletId}/Companies/{companyId}/Members
View .mdOpenAPI
Deprecated. 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-Tokenheaderrequired

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

Path parameters

  • outletIdstring (uuid)required
  • companyIdstring (uuid)required

Header parameters

  • correlationIdstring

    Correlation Id for the request

Request body application/json

  • firstNamestring | null
  • lastNamestring | null
  • emailstring (email) | null
  • phoneNumberstring | null
  • departmentstring | null

Responses

201Createdapplication/json
  • companyMemberobject | null
    6 fields in companyMember
    • idstring (uuid)
    • fullNamestring | null
    • nameobject | null
      2 fields in name
      • firstNamestring | null
      • lastNamestring | null
    • emailstring | null
    • phoneNumberstring | null
    • departmentstring | null
400Bad Requestapplication/json
  • messagestring | null
  • errorCodestring (uuid)
  • additionalDataany | null