Updates an existing site’s information and configuration.
[BO_USER]MANAGERname field is required and must be unique within the same establishment.types field is optional and defaults to an empty array if not provided.description field is optional.classifications field is optional and defaults to an empty array if not provided.serialNumber field is optional and can be used to store a unique identifier for the site.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content type, must be "application/json".
"application/json"Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Unique identifier of the site.
-9007199254740991 <= x <= 90071992547409911
Details required to update a site
Name of the site.
250"Main site"
Description of the site.
2000"This is the main site of the establishment."
Serial number of the site.
10"123456"
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]Classifications associated with the site (ERT, ERP, etc.).
50["ERT", "ERP"]The site was successfully updated
Unique identifier of the site.
-9007199254740991 <= x <= 90071992547409911
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]Classifications associated with the site (ERT, ERP, etc.).
50["ERT", "ERP"]Indicates whether the site is an establishment.
true
Serial number of the site.
10"123456"
Sort order of the site for display purposes.
-9007199254740991 <= x <= 90071992547409911
Identifier of the establishment associated with the site.
-9007199254740991 <= x <= 900719925474099110
Date when the site was archived.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-10T10:00:00.000Z"
Date when the site was deleted.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-15T10:00:00.000Z"
Date of the site update.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-12-09T14:23:00.000Z"
Date of site creation.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2024-01-15T08:45:00.000Z"