Update companydeprecated
put
https://core-api.ancon.io/api/v1/Outlets/{outletId}/Companies/{companyId}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-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
namestringrequiredbusinessNumberstring | nullinvoiceAddressobjectrequired6 fields in
invoiceAddressaddressIdstring (uuid) | nulladdressTypeinteger (int32)Allowed values:
0,1,2.streetstring | nullstreet2string | nullzipCodestring | nullcitystring | null
countryCodestring | nullphoneNumberstring | nullinvoiceEmailstring | nulldefaultInvoiceReferenceNotestring | nullglnstring | nullcompanyReferencestring | null
Responses
200OK
companyobject | null18 fields in
companyidstring (uuid)createdstring (date-time)modifiedstring (date-time)tenantIdstring (uuid)namestring | nullbusinessNumberstring | nulladdressIdstring (uuid)invoiceAddressobject | null4 fields in
invoiceAddressstreetstring | nullstreet2string | nullzipCodestring | nullcitystring | null
countryCodestring | nullphoneNumberstring | nullinvoiceEmailstring | nulldefaultInvoiceReferenceNotestring | nullisDeletedbooleanoriginatingOutletIdstring (uuid) | nulloriginatingOutletNamestring | nulloriginatingIntegrationTypeinteger (int32) | nullAllowed values:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,-2,-1.glnstring | nullcompanyReferencestring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)