Updates an establishment’s information with permission-based field validation and business rule enforcement.
MANAGER[ADMIN, USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
"application/json"Unique identifier of the establishment.
-9007199254740991 <= x <= 90071992547409911
Details required to update an establishment
Name of the site.
250"Main site"
Types associated with the site (N, P, M, etc.).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 [1, 1]Serial number of the site.
10"123456"
Unique identifiers of the associated tags.
-9007199254740991 <= x <= 9007199254740991[1, 2, 3]City where the establishment is located.
100"Paris"
Category of the establishment (if ERP), between 1 and 5.
1, 2, 3, 4, 5 3
Postal code of the establishment.
-9007199254740991 <= x <= 900719925474099175001
Address of the establishment.
100"123 Main Street"
PIN code for accessing the establishment.
-9007199254740991 <= x <= 90071992547409911234
Indicates if the PIN code is enabled for access.
false
Instructions for accessing the establishment.
100"Enter through the back door."
Classifications of the establishment (e.g., ERP, IGH).
0, 1, 2, 3 [0, 2]Country where the establishment is located.
100"France"
Total surface area of the establishment in square meters.
-9007199254740991 <= x <= 90071992547409911500
Maximum public capacity of the establishment.
-9007199254740991 <= x <= 9007199254740991300
Maximum private capacity of the establishment.
-9007199254740991 <= x <= 900719925474099150
The establishment was successfully updated